mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 17:50:12 +01:00
hasvk: Tell spirv_to_nir float controls are always supported
This gets rid of the "Unsupported SPIR-V capability" warnings when compiling shaders using float controls on gfx7. Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20232>
This commit is contained in:
parent
6f932276c3
commit
13f68bcce1
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ anv_shader_stage_to_nir(struct anv_device *device,
|
||||||
.physical_storage_buffer_address = pdevice->has_a64_buffer_access,
|
.physical_storage_buffer_address = pdevice->has_a64_buffer_access,
|
||||||
.post_depth_coverage = pdevice->info.ver >= 9,
|
.post_depth_coverage = pdevice->info.ver >= 9,
|
||||||
.runtime_descriptor_array = true,
|
.runtime_descriptor_array = true,
|
||||||
.float_controls = pdevice->info.ver >= 8,
|
.float_controls = true,
|
||||||
.shader_clock = true,
|
.shader_clock = true,
|
||||||
.shader_viewport_index_layer = true,
|
.shader_viewport_index_layer = true,
|
||||||
.stencil_export = pdevice->info.ver >= 9,
|
.stencil_export = pdevice->info.ver >= 9,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue