diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 2437486a6ad..d7f552837b5 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -555,6 +555,7 @@ radv_physical_device_get_supported_extensions(const struct radv_physical_device .GOOGLE_decorate_string = true, .GOOGLE_hlsl_functionality1 = true, .GOOGLE_user_type = true, + .INTEL_shader_integer_functions2 = true, .NV_compute_shader_derivatives = true, .NV_mesh_shader = device->use_ngg && device->rad_info.gfx_level >= GFX10_3 && device->instance->perftest_flags & RADV_PERFTEST_NV_MS && !device->use_llvm, @@ -1751,6 +1752,12 @@ radv_GetPhysicalDeviceFeatures2(VkPhysicalDevice physicalDevice, features->sampler2DViewOf3D = false; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SHADER_INTEGER_FUNCTIONS_2_FEATURES_INTEL: { + VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *features = + (VkPhysicalDeviceShaderIntegerFunctions2FeaturesINTEL *)ext; + features->shaderIntegerFunctions2 = true; + break; + } default: break; } diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 41120a868fd..e3f44896d78 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -660,6 +660,7 @@ radv_shader_spirv_to_nir(struct radv_device *device, const struct radv_pipeline_ .int16 = true, .int64 = true, .int64_atomics = true, + .integer_functions2 = true, .mesh_shading_nv = true, .min_lod = true, .multiview = true,