diff options
author | Vadim Girlin <[email protected]> | 2011-11-04 21:24:02 +0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2011-11-04 16:23:19 -0400 |
commit | c15f8569fddac5f8aee77863922fd5bb992cfe8a (patch) | |
tree | 60aeae1bcca427c2131047163275fd179be2e438 /src/gallium/drivers/r600/r600_shader.h | |
parent | 2df15d07c04e768b15c33e142502e70cf1bf4ace (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index ada369ade68..9990ba646af 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -30,6 +30,7 @@ struct r600_shader_io { unsigned gpr; unsigned done; int sid; + int spi_sid; unsigned interpolate; boolean centroid; unsigned lds_pos; /* for evergreen */ @@ -40,7 +41,6 @@ struct r600_shader { struct r600_bytecode bc; unsigned ninput; unsigned noutput; - unsigned npos; unsigned nlds; struct r600_shader_io input[32]; struct r600_shader_io output[32]; |