radv: enable shaderResourceMinLod

This feature was missing for unknown reasons.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4989>
This commit is contained in:
Samuel Pitoiset 2020-05-08 19:26:19 +02:00 committed by Marge Bot
parent 0d63a1a84d
commit b1f0233077
2 changed files with 2 additions and 0 deletions

View file

@ -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,
};
}

View file

@ -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,