radv: fix scanning output_usage_mask with structs
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 22 Mar 2018 17:38:04 +0000 (18:38 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 29 Mar 2018 08:22:10 +0000 (10:22 +0200)
commite45fe0ed66af32a36b03d5a5141e68fad0d15e6a
tree9a119af328f3816b4c7c367c39f6020a9e9dafb9
parent6179a87c1e3b2441691d31ab21973ff43b65dba7
radv: fix scanning output_usage_mask with structs

To fix a regression in:
dEQP-VK.spirv_assembly.instruction.graphics.variable_init.output.struct

And the following regressions (Polaris only):
dEQP-VK.glsl.indexing.varying_array.*

Fixes: f3275ca01c ("ac/nir: only enable used channels when exporting parameters")
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_shader_info.c