mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 04:10:09 +01:00
radeonsi: fix broken st/nine from merging tessellation
st/nine uses GENERIC slots greater than 60.
This commit is contained in:
parent
2d3ae154ba
commit
3ca2132058
1 changed files with 7 additions and 2 deletions
|
|
@ -136,8 +136,13 @@ unsigned si_shader_io_get_unique_index(unsigned semantic_name, unsigned index)
|
|||
assert(index <= 1);
|
||||
return 2 + index;
|
||||
case TGSI_SEMANTIC_GENERIC:
|
||||
assert(index <= 63-4);
|
||||
return 4 + index;
|
||||
if (index <= 63-4)
|
||||
return 4 + index;
|
||||
else
|
||||
/* same explanation as in the default statement,
|
||||
* the only user hitting this is st/nine.
|
||||
*/
|
||||
return 0;
|
||||
|
||||
/* patch indices are completely separate and thus start from 0 */
|
||||
case TGSI_SEMANTIC_TESSOUTER:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue