aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/nouveau/nouveau_shader.h
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2006-11-26 10:19:44 +0000
committerBen Skeggs <[email protected]>2006-11-26 10:19:44 +0000
commit6ff3d2577ec1099a90cce9292118814c00ab0e6a (patch)
tree5061a00a856dc98f25ed5d8795bfd79e29f570de /src/mesa/drivers/dri/nouveau/nouveau_shader.h
parent9c9e6abbf82fbf591575a9c352f86721bc72aa90 (diff)
Fix progs/fp/tri-xpd
Fragprog consts are inlined, so make sure we update *all* occurances of a param :)
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_shader.h')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_shader.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_shader.h b/src/mesa/drivers/dri/nouveau/nouveau_shader.h
index baf59d02596..fac8851a578 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_shader.h
+++ b/src/mesa/drivers/dri/nouveau/nouveau_shader.h
@@ -47,7 +47,11 @@ typedef struct _nouveauShader {
struct {
GLfloat *source_val; /* NULL if invariant */
float val[4];
- int hw_index; /* hw-specific value */
+ /* Hardware-specific tracking, currently only nv30_fragprog
+ * makes use of it.
+ */
+ int *hw_index;
+ int hw_index_cnt;
} params[NVS_MAX_CONSTS];
struct {