tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 1 Jun 2010 15:37:32 +0000 (16:37 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 1 Jun 2010 15:39:04 +0000 (16:39 +0100)
commit056ae405b6f4659619b9e13ad2ff6fb820e0a837
treedd78acfbf8123770943329e28389ae03ea1a34b5
parent2c67e754cf45b4f0981a82bfb9936bae384aa1e3
tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.

It was not used anywhere; the code was buggy (it didn't take care of
indirect registers and could potential cause buffer underflows) and the
same effect can now be easily achieved by just by looking at
input_semantic_name[] and input_usage_mask[].
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h