summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r--src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
index 78390767df..182a7eff05 100644
--- a/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
+++ b/src/mesa/pipe/tgsi/mesa/mesa_to_tgsi.c
@@ -356,11 +356,11 @@ map_register_file_index(
* color results -> index 1, 2, ...
*/
if( index == FRAG_RESULT_DEPR ) {
- mapped_index = TGSI_ATTRIB_POS;
+ mapped_index = 0; /**TGSI_ATTRIB_POS;**/
}
else {
assert( index == FRAG_RESULT_COLR );
- mapped_index = TGSI_ATTRIB_COLOR0;
+ mapped_index = 1; /**TGSI_ATTRIB_COLOR0;**/
}
}
else {