radeonsi/nir: lower PS inputs before scanning the shader
authorMarek Olšák <marek.olsak@amd.com>
Tue, 30 Jul 2019 03:01:01 +0000 (23:01 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 6 Aug 2019 21:08:46 +0000 (17:08 -0400)
commite77772017396423504a57d0e031eea99c93ccdd9
tree7a54a038e40c0bbeae38518e5e7794d26871cdf1
parentf818d9ae3c89f858e93ea0ea3293103b97599e8f
radeonsi/nir: lower PS inputs before scanning the shader

Lowering PS inputs can eliminate some of them, which messes up
persp/linear barycentric coord usage info.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/radeonsi/si_state_shaders.c