Module: Mesa Branch: master Commit: b1f023307768570a621c3050222bd32c546d72a9 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b1f023307768570a621c3050222bd32c546d72a9
Author: Samuel Pitoiset <[email protected]> Date: Fri May 8 19:26:19 2020 +0200 radv: enable shaderResourceMinLod This feature was missing for unknown reasons. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4989> --- src/amd/vulkan/radv_device.c | 1 + src/amd/vulkan/radv_shader.c | 1 + 2 files changed, 2 insertions(+) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index fc102e23ced..bc8bcdb6ab3 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -943,6 +943,7 @@ void radv_GetPhysicalDeviceFeatures( .shaderInt16 = !pdevice->use_aco || pdevice->rad_info.chip_class >= GFX8, .sparseBinding = true, .variableMultisampleRate = true, + .shaderResourceMinLod = true, .inheritedQueries = true, }; } diff --git a/src/amd/vulkan/radv_shader.c b/src/amd/vulkan/radv_shader.c index 217fc142de3..7dfa89d65e9 100644 --- a/src/amd/vulkan/radv_shader.c +++ b/src/amd/vulkan/radv_shader.c @@ -379,6 +379,7 @@ radv_shader_compile_to_nir(struct radv_device *device, .int16 = int8_int16_enable, .int64 = true, .int64_atomics = true, + .min_lod = true, .multiview = true, .physical_storage_buffer_address = true, .post_depth_coverage = true, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
