radv: enable variable pointers

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 9 January 2019 11:32 EST

The Vulkan spec 1.1.97 says: "variablePointers specifies whether the implementation supports the SPIR-V VariablePointers capability. When this feature is not enabled, shader modules must not declare the
VariablePointers capability."

As the SPIR-V feature is enabled, we should turn on the extension feature as well.

All dEQP-VK.spirv_assembly.instruction.compute.variable_pointers.* pass with the khronos internal repo. Note that a bunch of them fails with the public repo, but it's expected as they violate the specification.

a2b5cc3c39 radv: enable variable pointers
src/amd/vulkan/radv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share