mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 03:20:33 +01:00
llvmpipe: Adjust interpolation coeffs declaration.
This commit is contained in:
parent
7ef36171d5
commit
df8cedf989
1 changed files with 8 additions and 4 deletions
|
|
@ -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];
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue