diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index dadfa1baa7c..6a7c0a72d38 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -776,6 +776,12 @@ radv_CreateDevice(VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo *pCr use_dgc = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEVICE_GENERATED_COMMANDS_COMPUTE_FEATURES_NV: { + const VkPhysicalDeviceDeviceGeneratedCommandsComputeFeaturesNV *features = (const void *)ext; + if (features->deviceGeneratedCompute) + use_dgc = true; + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_GRAPHICS_PIPELINE_LIBRARY_FEATURES_EXT: { const VkPhysicalDeviceGraphicsPipelineLibraryFeaturesEXT *features = (const void *)ext; if (features->graphicsPipelineLibrary)