summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_context.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2010-06-13 06:39:58 +0200
committerMarek Olšák <maraeo@gmail.com>2010-06-13 17:43:39 +0200
commitf558bcb397e4016558b58fef01997b323ed931b0 (patch)
treeec10b5ab7306c0ef7d2771be5e533a3847116d9c /src/gallium/drivers/r300/r300_context.h
parent3da6487115216c47ce1be56b45be654ddb879d6f (diff)
r300g: optimize emission of fragment shader constants
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r--src/gallium/drivers/r300/r300_context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h
index 64d69817a0..05948f9ada 100644
--- a/src/gallium/drivers/r300/r300_context.h
+++ b/src/gallium/drivers/r300/r300_context.h
@@ -231,7 +231,7 @@ struct r300_ztop_state {
struct r300_constant_buffer {
/* Buffer of constants */
- float constants[256][4];
+ uint32_t constants[256][4];
/* Total number of constants */
unsigned count;
};