tgsi: detect prim id and front face usage in fs
authorZack Rusin <zackr@vmware.com>
Fri, 2 Aug 2013 05:24:41 +0000 (01:24 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 3 Aug 2013 00:11:18 +0000 (20:11 -0400)
commit36096af02603a72855fee1c4a48a0a60baba7c32
treed43c0986239ecb38301e3c018f78da4fafee54a6
parent2da1daaa4e1f2b8243a02526cc0e5ff2d78e1774
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 <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h