diff options
author | Brian Paul <[email protected]> | 2011-11-04 14:36:59 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-11-04 16:05:33 -0600 |
commit | 1ca48b3161449945b769b27c33f88f397f98084a (patch) | |
tree | 1ea64dd28f969978d98c35d11cb73fa70ae397ec /src/gallium/drivers/svga/svga_tgsi.h | |
parent | 0bc15650c1cb4c9ae087f393447841f9da89e5e3 (diff) |
svga: fix varying var remapping for unused FS outputs
If the VS has outputs that aren't consumed by the FS we were mapping
them all to one unused VS output index, but that's illegal. Instead,
map unused VS outputs to unique indexes.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_tgsi.h')
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi.h b/src/gallium/drivers/svga/svga_tgsi.h index 01367e971da..7e93bf5aca5 100644 --- a/src/gallium/drivers/svga/svga_tgsi.h +++ b/src/gallium/drivers/svga/svga_tgsi.h @@ -160,7 +160,7 @@ svga_remap_generics(unsigned generics_mask, int8_t remap_table[MAX_GENERIC_VARYING]); int -svga_remap_generic_index(const int8_t remap_table[MAX_GENERIC_VARYING], +svga_remap_generic_index(int8_t remap_table[MAX_GENERIC_VARYING], int generic_index); #endif |