tgsi: Determine which shader input channels are effectively.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 1 Jun 2010 15:27:36 +0000 (16:27 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 1 Jun 2010 15:39:03 +0000 (16:39 +0100)
commitabe4f3d1aa68aec70d329447abc890b3eaaba9cb
tree6dd3c252a7abea638458494bba6417e7d8fe512a
parentd9c6ebb4fec0059734d94767ea7fe99c848693a5
tgsi: Determine which shader input channels are effectively.

TGSI's UsageMask flag is never set. We can move this logic into
tgsi_ureg, but there there are still cases where's not used, so this
seems a better place for now.
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h
src/gallium/auxiliary/tgsi/tgsi_util.c
src/gallium/auxiliary/tgsi/tgsi_util.h