summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-10-06 09:28:46 +1000
committerDave Airlie <[email protected]>2010-10-13 09:30:02 +1000
commit4ecb2c105da590abf79421a06234b636cd1afcd6 (patch)
tree835d8e723f20687b8e11730e6828d7437321d16c /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent43873b53c4d15f10f0321c770b1b8bd537cc226d (diff)
gallium/tgsi: add support for stencil writes.
this adds the capability + a stencil semantic id, + tgsi scan support. Signed-off-by: Dave Airlie <[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 f8aa90cf065..374c7ed551d 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -60,6 +60,7 @@ struct tgsi_shader_info
uint opcode_count[TGSI_OPCODE_LAST]; /**< opcode histogram */
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 */
boolean uses_kill; /**< KIL or KILP instruction used? */