summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-02-15 00:04:32 +0100
committerMarek Olšák <maraeo@gmail.com>2010-02-15 04:03:12 +0100
commitd3d3345cb840bdfb4a0040ca86e8a588e9b68051 (patch)
treea8f10dec79a9d0699864d07061d5404c660fb624 /src/gallium/drivers/r300/r300_context.h
parent21fe86b036451bb8352ed6aa0774d49f45fcd417 (diff)
r300g: fix the size of constant buffers
4 more piglit tests pass, sweet.
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index ac2b08b41c..1eba8a8ed1 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -155,8 +155,7 @@ struct r300_ztop_state {
struct r300_constant_buffer {
/* Buffer of constants */
- /* XXX first number should be raised */
- float constants[32][4];
+ float constants[256][4];
/* Total number of constants */
unsigned count;
};