mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
radeonsi: decrease maximum supported GENERIC varying index from 42 to 31
This can decrease LDS and/or memory usage for shader outputs when geometry shaders or tessellation is used. Only PS inputs support higher indices and those aren't eliminated by kill_outputs. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Acked-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
6335cc6a58
commit
1c99a13f89
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ struct si_context;
|
|||
/* Shader IO unique indices are supported for TGSI_SEMANTIC_GENERIC with an
|
||||
* index smaller than this.
|
||||
*/
|
||||
#define SI_MAX_IO_GENERIC 43
|
||||
#define SI_MAX_IO_GENERIC 32
|
||||
|
||||
/* SGPR user data indices */
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue