projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef3617
)
llvmpipe: Adjust interpolation coeffs declaration.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 8 Oct 2009 18:53:56 +0000
(19:53 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 8 Oct 2009 18:53:56 +0000
(19:53 +0100)
src/gallium/drivers/llvmpipe/lp_rast.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/llvmpipe/lp_rast.h
b/src/gallium/drivers/llvmpipe/lp_rast.h
index 41a7f5ebbf3bdd665c7336e7c32d84f82b05a9b2..492e4b06ada42542f611d139c8c503776d594db8 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_rast.h
+++ b/
src/gallium/drivers/llvmpipe/lp_rast.h
@@
-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_ATTRIB
S][4];
- float dadx[
PIPE_MAX_ATTRIB
S][4];
- float dady[
PIPE_MAX_ATTRIB
S][4];
+ float a0[
1 + PIPE_MAX_SHADER_INPUT
S][4];
+ float dadx[
1 + PIPE_MAX_SHADER_INPUT
S][4];
+ float dady[
1 + PIPE_MAX_SHADER_INPUT
S][4];
};