r600g: precalculate semantic indices for SPI setup
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 5 Nov 2011 04:48:02 +0000 (08:48 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 5 Nov 2011 21:23:22 +0000 (17:23 -0400)
commit5b27b63de64167a84a03d820550e56c4b7bbc69d
tree9c133e796da6b3cb00f6e5ba0cce729062a106a6
parent9f52b876f493982022795021fe6173de8089a224
r600g: precalculate semantic indices for SPI setup

There is no need to duplicate semantic mapping which is done in hw, so get
rid of r600_find_vs_semantic_index.

TGSI name/sid pair is mapped to the 8-bit semantic index for SPI.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c