radeonsi: decrease maximum supported GENERIC varying index from 42 to 31
authorMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 23:05:19 +0000 (19:05 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 9 Jul 2019 21:24:16 +0000 (17:24 -0400)
commit1c99a13f89b743cbe4328a1c2cfc854dca05184d
treef7851c8fc01f203217bdfe8f0c873825a96f5470
parent6335cc6a5807d41cfbe543237d3c679c127d2c98
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>
src/gallium/drivers/radeonsi/si_shader.h