mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 08:00:13 +01:00
nvk: Re-arrange Vulkan 1.2 features to match the header
Also, conditional render ended up in the Vulkan 1.2 section which is wrong. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25812>
This commit is contained in:
parent
b80575a38a
commit
18af014f7c
1 changed files with 6 additions and 4 deletions
|
|
@ -210,6 +210,7 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
|
||||
/* Vulkan 1.2 */
|
||||
.samplerMirrorClampToEdge = true,
|
||||
.drawIndirectCount = info->cls_eng3d >= TURING_A,
|
||||
.shaderInputAttachmentArrayDynamicIndexing = true,
|
||||
.shaderUniformTexelBufferArrayDynamicIndexing = true,
|
||||
.shaderStorageTexelBufferArrayDynamicIndexing = true,
|
||||
|
|
@ -230,6 +231,7 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
.descriptorBindingPartiallyBound = true,
|
||||
.descriptorBindingVariableDescriptorCount = true,
|
||||
.runtimeDescriptorArray = true,
|
||||
.samplerFilterMinmax = info->cls_eng3d >= MAXWELL_B,
|
||||
.imagelessFramebuffer = true,
|
||||
.uniformBufferStandardLayout = true,
|
||||
.separateDepthStencilLayouts = true,
|
||||
|
|
@ -238,10 +240,6 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
.bufferDeviceAddress = true,
|
||||
.bufferDeviceAddressCaptureReplay = false,
|
||||
.bufferDeviceAddressMultiDevice = false,
|
||||
.drawIndirectCount = info->cls_eng3d >= TURING_A,
|
||||
.samplerFilterMinmax = info->cls_eng3d >= MAXWELL_B,
|
||||
.conditionalRendering = true,
|
||||
.inheritedConditionalRendering = true,
|
||||
|
||||
/* Vulkan 1.3 */
|
||||
.robustImageAccess = true,
|
||||
|
|
@ -276,6 +274,10 @@ nvk_get_device_features(const struct nv_device_info *info,
|
|||
/* VK_EXT_buffer_device_address */
|
||||
.bufferDeviceAddressCaptureReplayEXT = false,
|
||||
|
||||
/* VK_EXT_conditional_rendering */
|
||||
.conditionalRendering = true,
|
||||
.inheritedConditionalRendering = true,
|
||||
|
||||
/* VK_EXT_custom_border_color */
|
||||
.customBorderColors = true,
|
||||
.customBorderColorWithoutFormat = true,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue