llvmpipe: Adjust interpolation coeffs declaration.

This commit is contained in:
José Fonseca 2009-10-08 19:53:56 +01:00
parent 7ef36171d5
commit df8cedf989
1 changed files with 8 additions and 4 deletions

View File

@ -61,11 +61,15 @@ struct lp_rast_shader_inputs {
*/
const struct lp_rast_state *state;
/* Attribute interpolation: FIXME: reduce memory waste!
/* Attribute interpolation:
*
* First coefficient is position.
*
* FIXME: reduce memory waste!
*/
float a0[PIPE_MAX_ATTRIBS][4];
float dadx[PIPE_MAX_ATTRIBS][4];
float dady[PIPE_MAX_ATTRIBS][4];
float a0[1 + PIPE_MAX_SHADER_INPUTS][4];
float dadx[1 + PIPE_MAX_SHADER_INPUTS][4];
float dady[1 + PIPE_MAX_SHADER_INPUTS][4];
};