diff options
author | GPUCode <geoster3d@gmail.com> | 2023-06-05 18:27:36 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-28 03:00:09 +0200 |
commit | b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44 (patch) | |
tree | 2d3a0f346a361f14d46af1b9e16ca284056876e0 /src/video_core/vulkan_common/vulkan_device.cpp | |
parent | renderer_vulkan: Don't assume debug tool with debug renderer (diff) | |
download | yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar.gz yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar.bz2 yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar.lz yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar.xz yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.tar.zst yuzu-b8c96cee5f2eb0bd5ba9ef46746daec78ee3bb44.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_device.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp index 9743a82f5..70436cf1c 100644 --- a/src/video_core/vulkan_common/vulkan_device.cpp +++ b/src/video_core/vulkan_common/vulkan_device.cpp @@ -905,6 +905,10 @@ bool Device::GetSuitability(bool requires_swapchain) { properties.driver.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DRIVER_PROPERTIES; SetNext(next, properties.driver); + // Retrieve subgroup properties. + properties.subgroup_properties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_PROPERTIES; + SetNext(next, properties.subgroup_properties); + // Retrieve relevant extension properties. if (extensions.shader_float_controls) { properties.float_controls.sType = |