OSDN Git Service

r300-gallium: Raise constantbuf limits.
authorCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 20 May 2009 21:38:22 +0000 (14:38 -0700)
committerCorbin Simpson <MostAwesomeDude@gmail.com>
Wed, 20 May 2009 21:38:22 +0000 (14:38 -0700)
Still not correct, but really I don't care.

src/gallium/drivers/r300/r300_context.h

index 58f1fa0..d1cf750 100644 (file)
@@ -141,11 +141,11 @@ struct r300_viewport_state {
 struct r300_constant_buffer {
     /* Buffer of constants */
     /* XXX first number should be raised */
-    float constants[8][4];
+    float constants[32][4];
     /* Number of user-defined constants */
-    int user_count;
+    unsigned user_count;
     /* Total number of constants */
-    int count;
+    unsigned count;
 };
 
 struct r3xx_fragment_shader {