aco: readfirstlane vgpr pointers in convert_pointer_to_64_bit()
authorRhys Perry <pendingchaos02@gmail.com>
Sat, 21 Sep 2019 10:48:27 +0000 (11:48 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Fri, 11 Oct 2019 14:26:58 +0000 (14:26 +0000)
commit5526a557eeddaec7c92101ffd0e39761dd1e68f1
tree40b885c63656d7abff4e0488ae66bfe76442c1d2
parent45d6c69b9993b8e0f1d0ca79f8ff6ec9e02b1b4e
aco: readfirstlane vgpr pointers in convert_pointer_to_64_bit()

This can happen when bcsel is used between the results of two
vulkan_resource_index. It's also probably needed for non-uniform
descriptor indexing

Fixes dEQP-VK.spirv_assembly.instruction.compute.variable_pointers.compute.reads_opselect_two_buffers

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection.cpp