vk: rename DGC feature to DGC-NV

this is an NV extension, so it should have NV suffix

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31015>
This commit is contained in:
Mike Blumenkrantz
2024-09-04 07:32:24 -04:00
committed by Marge Bot
parent d5916cb3ca
commit cd7ad7bd7e
4 changed files with 5 additions and 3 deletions

View File

@@ -564,7 +564,7 @@ radv_device_physical(const struct radv_device *dev)
static inline bool
radv_uses_device_generated_commands(const struct radv_device *device)
{
return device->vk.enabled_features.deviceGeneratedCommands || device->vk.enabled_features.deviceGeneratedCompute;
return device->vk.enabled_features.deviceGeneratedCommandsNV || device->vk.enabled_features.deviceGeneratedCompute;
}
static inline bool

View File

@@ -1089,7 +1089,7 @@ radv_physical_device_get_features(const struct radv_physical_device *pdev, struc
.performanceCounterMultipleQueryPools = has_perf_query,
/* VK_NV_device_generated_commands */
.deviceGeneratedCommands = true,
.deviceGeneratedCommandsNV = true,
/* VK_EXT_attachment_feedback_loop_layout */
.attachmentFeedbackLoopLayout = true,

View File

@@ -627,7 +627,7 @@ lvp_get_features(const struct lvp_physical_device *pdevice,
.nullDescriptor = true,
/* VK_NV_device_generated_commands */
.deviceGeneratedCommands = true,
.deviceGeneratedCommandsNV = true,
/* VK_EXT_primitive_topology_list_restart */
.primitiveTopologyListRestart = true,

View File

@@ -48,6 +48,8 @@ RENAMED_FEATURES = {
('CooperativeMatrixFeaturesNV', 'cooperativeMatrix'): 'cooperativeMatrixNV',
('CooperativeMatrixFeaturesNV', 'cooperativeMatrixRobustBufferAccess'): 'cooperativeMatrixRobustBufferAccessNV',
('DeviceGeneratedCommandsFeaturesNV', 'deviceGeneratedCommands'): 'deviceGeneratedCommandsNV',
}
KNOWN_ALIASES = [