gallium: added tgsi_is_passthrough_shader() function
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 4 Jun 2008 14:56:06 +0000 (08:56 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 4 Jun 2008 14:57:15 +0000 (08:57 -0600)
commit8223add3304451d5e75737a6d1be1739e4517943
tree5e8b462549274f81b7fee5410209c7c6c032ff6f
parent4ebfc3c8ffccadaed98c4e032b7691eaf299b0bc
gallium: added tgsi_is_passthrough_shader() function

Checks if all instructions are of the form MOV OUT[n], IN[n]
Untested at this time.
src/gallium/auxiliary/tgsi/util/tgsi_scan.c
src/gallium/auxiliary/tgsi/util/tgsi_scan.h