summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_scan.h
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2013-08-02 01:24:41 -0400
committerZack Rusin <[email protected]>2013-08-02 20:11:18 -0400
commit36096af02603a72855fee1c4a48a0a60baba7c32 (patch)
treed43c0986239ecb38301e3c018f78da4fafee54a6 /src/gallium/auxiliary/tgsi/tgsi_scan.h
parent2da1daaa4e1f2b8243a02526cc0e5ff2d78e1774 (diff)
tgsi: detect prim id and front face usage in fs
Adding code to detect the usage of prim id and front face semantics in fragment shaders. Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Jose Fonseca <[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 cfa2b8e66c5..e2fa73a3fa7 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_scan.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_scan.h
@@ -74,6 +74,7 @@ struct tgsi_shader_info
boolean uses_instanceid;
boolean uses_vertexid;
boolean uses_primid;
+ boolean uses_frontface;
boolean origin_lower_left;
boolean pixel_center_integer;
boolean color0_writes_all_cbufs;