radv: fix set_output_usage_mask() with composite and 64-bit types
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 26 Apr 2019 14:39:51 +0000 (15:39 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Thu, 2 May 2019 09:24:20 +0000 (10:24 +0100)
commit13c423629ea1c8d5822d2266d0969c75ea036e9c
tree1470b7ffd71c60c4ae418d1c300ecf20106a837b
parent8194d3887eae3f928329d614b650acb84e06f605
radv: fix set_output_usage_mask() with composite and 64-bit types

It previously used var->type instead of deref_instr->type and didn't
handle 64-bit outputs.

This fixes lots of transform feedback CTS tests involving transform
feedback and geometry shaders (mostly
dEQP-VK.transform_feedback.fuzz.random_geometry.*)

v2: fix writemask widening when comp != 0
v3: fix 64-bit variables when comp != 0, again

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Cc: 19.0 19.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_shader_info.c