summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_tgsi_insn.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2014-01-16 18:05:00 -0800
committerBrian Paul <brianp@vmware.com>2014-01-21 10:53:51 -0800
commit384fd64ab1533df8256600733a1fc8413af3514a (patch)
tree551e25f82a69a94a523e87fa2a2c17c01f6f5a82 /src/gallium/drivers/svga/svga_tgsi_insn.c
parentf6bc7d658677cd7750575147a6c50d2b681b6e35 (diff)
downloadexternal_mesa3d-384fd64ab1533df8256600733a1fc8413af3514a.zip
external_mesa3d-384fd64ab1533df8256600733a1fc8413af3514a.tar.gz
external_mesa3d-384fd64ab1533df8256600733a1fc8413af3514a.tar.bz2
svga: rename color output variables
Just to be bit more readable. Reviewed-by: José Fonseca <jfonseca@vmware.com>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi_insn.c')
-rw-r--r--src/gallium/drivers/svga/svga_tgsi_insn.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_insn.c b/src/gallium/drivers/svga/svga_tgsi_insn.c
index 0865095..2143546 100644
--- a/src/gallium/drivers/svga/svga_tgsi_insn.c
+++ b/src/gallium/drivers/svga/svga_tgsi_insn.c
@@ -3059,7 +3059,7 @@ emit_ps_postamble(struct svga_shader_emitter *emit)
}
for (i = 0; i < PIPE_MAX_COLOR_BUFS; i++) {
- if (SVGA3dShaderGetRegType(emit->true_col[i].value) != 0) {
+ if (SVGA3dShaderGetRegType(emit->true_color_output[i].value) != 0) {
/* Potentially override output colors with white for XOR
* logicop workaround.
*/
@@ -3070,15 +3070,15 @@ emit_ps_postamble(struct svga_shader_emitter *emit)
if (!submit_op1( emit,
inst_token(SVGA3DOP_MOV),
- emit->true_col[i],
+ emit->true_color_output[i],
one ))
return FALSE;
}
else {
if (!submit_op1( emit,
inst_token(SVGA3DOP_MOV),
- emit->true_col[i],
- src(emit->temp_col[i]) ))
+ emit->true_color_output[i],
+ src(emit->temp_color_output[i]) ))
return FALSE;
}
}