diff options
author | Samuel Pitoiset <[email protected]> | 2019-11-27 15:32:45 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-11-28 08:26:51 +0100 |
commit | 52aadbfd04e464ac6b9bfddce05e3276f7bc53fc (patch) | |
tree | 11c6b3710d938d094abe3ec1897e0dfec567dd6f /src/amd/vulkan/radv_meta_resolve_cs.c | |
parent | 18f896e55d96c63b11de7ed0cbe484988a1184c5 (diff) |
ac/llvm: convert src operands to pointers if necessary
To avoid generating invalid LLVM IR when both operands don't have
the same type. This might happen when performing pointer comparisons
with SPIRV 1.4.
Fixes invalid LLVM IR for:
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrequal.variable_pointers_ssbo_equal
dEQP-VK.spirv_assembly.instruction.spirv1p4.opptrnotequal.variable_pointers_ssbo_not_equal
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_meta_resolve_cs.c')
0 files changed, 0 insertions, 0 deletions