Mesa (master): r300-gallium: Raise constantbuf limits.

Corbin Simpson csimpson at kemper.freedesktop.org
Wed May 20 21:57:29 UTC 2009


Module: Mesa
Branch: master
Commit: 4151c0ea91212ac5ec73fa6d1936df9254978672
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4151c0ea91212ac5ec73fa6d1936df9254978672

Author: Corbin Simpson <MostAwesomeDude at gmail.com>
Date:   Wed May 20 14:38:22 2009 -0700

r300-gallium: Raise constantbuf limits.

Still not correct, but really I don't care.

---

 src/gallium/drivers/r300/r300_context.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 58f1fa0..d1cf750 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -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 {




More information about the mesa-commit mailing list