summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-12-10 13:15:50 +0100
committerMarek Olšák <[email protected]>2015-12-11 15:25:11 +0100
commiteb4813a9524e1a61f46bf45150adb1bd78564863 (patch)
tree7a9764b4ca6006585e0abc0441f02fec15581c40 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent37208c4fd7b1ec679d10992b42a2811cab8245a5 (diff)
tgsi/scan: add flag colors_written
This is a prerequisite for the following r600g fix. Cc: 11.0 11.1 <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index d60ccabda6d..7e9a5597db2 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -77,6 +77,7 @@ struct tgsi_shader_info
uint opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */
+ ubyte colors_written;
boolean reads_position; /**< does fragment shader read position? */
boolean reads_z; /**< does fragment shader read depth? */
boolean writes_z; /**< does fragment shader write Z value? */