When Use Kaby Lake-g(AMD Vega M GPU) to do the Vulkan CTS test, the case " dEQP-VK.spirv_assembly.instruction.compute.pointer_parameter.workgroup_memory_variable_pointers" will fail Following is the environtment Platform KabyLake-G CPU Intel (R) Core (TM) i7-8809G CPU @3.10GHz GPU AMD(Radeon RX Vega M GH Graphics); Memory 16G OS Ubutu18.04.1 Kernel 4.19.0 Mesa: mesa 18.3.1 (https://mesa.freedesktop.org/archive/mesa-18.3.1.tar.gz) VK-GL-CTS version https://github.com/KhronosGroup/VK-GL-CTS commit 54e546a1a0a6fa412ea4c3e3081bbc9518928a6e How to reproduce $ ./deqp-vk -n dEQP-VK.spirv_assembly.instruction.compute.pointer_parameter.workgroup_memory_variable_pointers Writing test log into TestResults.qpa dEQP Core git-8e3741675ba9ebfdea5bc98ac2df4e5e6f182e57 (0x8e374167) starting.. target implementation = 'Default' Test case 'dEQP-VK.spirv_assembly.instruction.compute.pointer_parameter.workgroup_memory_variable_pointers'.. SPIR-V parsing FAILED: In file spirv/vtn_variables.c:1646 ptr_type->type 1324 bytes into the SPIR-V binary Segmentation fault (core dumped)
*** Bug 109146 has been marked as a duplicate of this bug. ***
Created attachment 142897 [details] TestResults.qpa
Created attachment 142900 [details] attachment-21903-0.html Thanks for your email. Iām OOO. Please expect slow email response.
*** Bug 109157 has been marked as a duplicate of this bug. ***
Can be reproduced with 18.3.1 but has been fixed in master. Still confirming what fixed it, but if my suspicion is right there are some extensive changes and that fix may *not* be backported to 18.3 .
The following commit fixes the crash for me commit 2f4f5a5055c74a35916645ed6eb2f8bd8ca7d221 Author: Dave Airlie <airlied@redhat.com> Date: Wed Jul 4 16:21:49 2018 +1000 spirv/vtn: handle variable pointers without offset lowering Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This is actually a test bug. It doesn't check that variablePointers is enabled. I reported the problem to Khronos, should be fixed and upstreamed soon.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.