summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-16 00:29:37 -0700
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-03-16 00:31:54 -0700
commit5bc456284933f47151a56a93480de39cd8751953 (patch)
tree5e57c89973f5bf5841eb0e914968a16bdf8d12da /src/gallium
parent97e4caa33a00392ed81965f44568fd9722117868 (diff)
downloadexternal_mesa3d-5bc456284933f47151a56a93480de39cd8751953.zip
external_mesa3d-5bc456284933f47151a56a93480de39cd8751953.tar.gz
external_mesa3d-5bc456284933f47151a56a93480de39cd8751953.tar.bz2
r300-gallium: Emit constants as floats, not uints.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r300/r300_emit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c
index 3b580b7..ea726b9 100644
--- a/src/gallium/drivers/r300/r300_emit.c
+++ b/src/gallium/drivers/r300/r300_emit.c
@@ -142,10 +142,10 @@ void r500_emit_fragment_shader(struct r300_context* r300,
R500_GA_US_VECTOR_INDEX_TYPE_CONST);
OUT_CS_ONE_REG(R500_GA_US_VECTOR_DATA, constants->count * 4);
for (i = 0; i < constants->count; i++) {
- OUT_CS(constants->constants[i][0]);
- OUT_CS(constants->constants[i][1]);
- OUT_CS(constants->constants[i][2]);
- OUT_CS(constants->constants[i][3]);
+ OUT_CS_32F(constants->constants[i][0]);
+ OUT_CS_32F(constants->constants[i][1]);
+ OUT_CS_32F(constants->constants[i][2]);
+ OUT_CS_32F(constants->constants[i][3]);
}
}