spirv,radv,anv: implement no-op VK_GOOGLE_user_type

Graphics / Mesa 3D Graphics Library / Mesa - Samuel Pitoiset [gmail.com] - 28 May 2020 15:30 UTC

This extension only allows HLSL shader compilers to optionally embed unambiguous type information which can be safely ignored by the driver.

This fixes a crash with the recent Vulkan backend of Path Of Exile (it uses the extension without checking if it's supported).

Cc:

10c4a7cf597 spirv,radv,anv: implement no-op VK_GOOGLE_user_type
docs/relnotes/new_features.txt | 1 +
src/amd/vulkan/radv_extensions.py | 1 +
src/compiler/spirv/spirv_to_nir.c | 5 +++++
src/compiler/spirv/vtn_variables.c | 1 +
src/intel/vulkan/anv_extensions.py | 1 +
5 files changed, 9 insertions(+)

Upstream: cgit.freedesktop.org


  • Share