nvk: advertise DemoteToHelperInvocation

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Mohamed Ahmed 2023-03-20 21:26:36 +02:00 committed by Marge Bot
parent 651bdb3822
commit 93c439f660
2 changed files with 3 additions and 0 deletions

View file

@ -314,6 +314,7 @@ nvk_get_device_extensions(const struct nv_device_info *dev,
.EXT_robustness2 = true,
.EXT_sample_locations = dev->cls_eng3d >= MAXWELL_B,
.EXT_separate_stencil_usage = true,
.EXT_shader_demote_to_helper_invocation = true,
.EXT_transform_feedback = true,
.EXT_vertex_attribute_divisor = true,
.EXT_vertex_input_dynamic_state = true,
@ -399,6 +400,7 @@ nvk_get_device_features(const struct nv_device_info *dev,
.inlineUniformBlock = true,
.descriptorBindingInlineUniformBlockUpdateAfterBind = true,
.privateData = true,
.shaderDemoteToHelperInvocation = true,
.dynamicRendering = true,
.maintenance4 = true,

View file

@ -71,6 +71,7 @@ nvk_physical_device_spirv_options(const struct nvk_physical_device *pdevice,
.min_lod = true,
.transform_feedback = true,
.geometry_streams = true,
.demote_to_helper_invocation = true,
},
.ssbo_addr_format = nvk_buffer_addr_format(rs->storage_buffers),
.phys_ssbo_addr_format = nir_address_format_64bit_global,