summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_rast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_rast.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_rast.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_rast.h b/src/gallium/drivers/llvmpipe/lp_rast.h
index ab21a77834..435993d44d 100644
--- a/src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/src/gallium/drivers/llvmpipe/lp_rast.h
@@ -64,14 +64,12 @@ struct lp_rast_shader_inputs {
const struct lp_rast_state *state;
/* Attribute interpolation:
- *
* First coefficient is position.
- *
- * FIXME: reduce memory waste!
+ * These pointers point into the bin data buffer.
*/
- float a0[1 + PIPE_MAX_SHADER_INPUTS][4];
- float dadx[1 + PIPE_MAX_SHADER_INPUTS][4];
- float dady[1 + PIPE_MAX_SHADER_INPUTS][4];
+ float (*a0)[4];
+ float (*dadx)[4];
+ float (*dady)[4];
};