radv: Enable VK_INTEL_shader_integer_functions2.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13895>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user