tgsi: simplify shader properties in tgsi_shader_info
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Sep 2014 13:48:22 +0000 (15:48 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 4 Oct 2014 13:16:14 +0000 (15:16 +0200)
commit8908fae243cb4c15a675006a1cc472f6c59b0d43
tree144042cc0d57a340427827836ae245a89fa0249c
parent5233568861b082ee288d845f447012fa47e8bd1e
tgsi: simplify shader properties in tgsi_shader_info

Use an array of properties indexed by TGSI_PROPERTY_* definitions.
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_scan.h
src/gallium/auxiliary/util/u_pstipple.c
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/nouveau/nv30/nvfx_fragprog.c
src/gallium/drivers/r300/r300_fs.c
src/gallium/drivers/radeonsi/si_shader.c