r600g: precalculate semantic indices for SPI setup
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 4 Nov 2011 17:24:02 +0000 (21:24 +0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2011 20:23:19 +0000 (16:23 -0400)
commitc15f8569fddac5f8aee77863922fd5bb992cfe8a
tree60aeae1bcca427c2131047163275fd179be2e438
parent2df15d07c04e768b15c33e142502e70cf1bf4ace
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>
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