aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_device.h
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-11-03 01:20:05 +0100
committercirakg <cirakg@cirakg.xyz>2026-11-03 01:20:05 +0100
commite9211374ad3728cad12e6520dbaa8f90c3cce280 (patch)
treeff6fd65114cd4e1f1abf6e1e589d1b657e1f878b /src/video_core/vulkan_common/vulkan_device.h
parentb3244c282332506d904c866b76945ce9872329b2 (diff)
parentebec180bf1125b4f29b068922d1220c8af9b63b0 (diff)
Merge upstream Djihads80/Eglantine nx2 into nx2
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_device.h')
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index 5f75bcc18e..edc091318c 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -561,6 +561,11 @@ FN_MAX_LIMIT_LIST
return features.features.shaderStorageImageReadWithoutFormat;
}
+ /// Returns true if storage images of the extended formats (e.g. R16F, RG16F, R8) are supported.
+ bool IsStorageImageExtendedFormatsSupported() const {
+ return features.features.shaderStorageImageExtendedFormats;
+ }
+
/// Returns true if shader int64 is supported.
bool IsShaderInt64Supported() const {
return features.features.shaderInt64;