mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 07:28:11 +02:00
r300-gallium: Emit constants as floats, not uints.
This commit is contained in:
parent
97e4caa33a
commit
5bc4562849
1 changed files with 4 additions and 4 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue