radv: do not add extra SGPR when push constants are not used

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 19 December 2017 20:22 EST

This is not because the vertex stage needs some push constants that other stages need them too. This should reduce the number of loaded SGPRs in some situations.

0c4a30eb51 radv: do not add extra SGPR when push constants are not used
src/amd/common/ac_shader_info.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share