diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-05-10 09:58:31 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-05-10 19:18:57 +0200 |
commit | 994e97e1b79ccae956f5ee4c711f47febcde463b (patch) | |
tree | 897c8aead6b3888c5cae90b81055784f356ff61d /src | |
parent | df15e7636509f5ec2df63394b94019b19ef29861 (diff) |
radeonsi: at most 8 sets of texture coordinates are supported
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 98292867c8..c12c8ea39e 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -169,6 +169,7 @@ unsigned si_shader_io_get_unique_index2(unsigned name, unsigned index) case TGSI_SEMANTIC_BCOLOR: return 4 + index; case TGSI_SEMANTIC_TEXCOORD: + assert(index < 8); return 6 + index; default: assert(!"invalid semantic name"); |