summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorJakob Bornecrantz <[email protected]>2011-04-07 13:20:33 +0100
committerBrian Paul <[email protected]>2011-09-22 08:26:36 -0600
commitc8c2fc9a7a029bb61520973e55fb3cec18f13e20 (patch)
treeb1155056648697dd721cbdba7c39230daf11aff2 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent379353e16b6666da5833a59cff07785aaca82473 (diff)
tgsi: Check in scan for fs position and depth reads
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_scan.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_scan.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_scan.h b/src/gallium/auxiliary/tgsi/tgsi_scan.h
index d6e593b3968..30834b4d000 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -63,6 +63,8 @@ struct tgsi_shader_info
uint opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */
+ 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? */
boolean writes_stencil; /**< does fragment shader write stencil value? */
boolean writes_edgeflag; /**< vertex shader outputs edgeflag */