diff options
author | Nguyen Dac Nam <nam.kazt.91@gmail.com> | 2020-02-19 06:55:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 06:55:56 +0100 |
commit | 47106ab1520c3878e4880e87f78e668d3c5d42b6 (patch) | |
tree | 7fcad7fc3d1cebc4c7bc6a016a0b2cf15aa854e0 /src | |
parent | vk_shader: add Capability StorageImageReadWithoutFormat (diff) | |
download | yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar.gz yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar.bz2 yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar.lz yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar.xz yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.tar.zst yuzu-47106ab1520c3878e4880e87f78e668d3c5d42b6.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_device.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/video_core/renderer_vulkan/vk_device.h b/src/video_core/renderer_vulkan/vk_device.h index 72603f9f6..2c27ad730 100644 --- a/src/video_core/renderer_vulkan/vk_device.h +++ b/src/video_core/renderer_vulkan/vk_device.h @@ -122,6 +122,11 @@ public: return properties.limits.maxPushConstantsSize; } + /// Returns true if Shader storage Image Read Without Format supported. + bool IsShaderStorageImageReadWithoutFormatSupported() const { + return is_shader_storage_img_read_without_format_supported; + } + /// Returns true if ASTC is natively supported. bool IsOptimalAstcSupported() const { return is_optimal_astc_supported; @@ -227,6 +232,8 @@ private: bool ext_depth_range_unrestricted{}; ///< Support for VK_EXT_depth_range_unrestricted. bool ext_shader_viewport_index_layer{}; ///< Support for VK_EXT_shader_viewport_index_layer. bool nv_device_diagnostic_checkpoints{}; ///< Support for VK_NV_device_diagnostic_checkpoints. + bool is_shader_storage_img_read_without_format_supported{}; ///< Support for shader storage + ///< image read without format // Telemetry parameters std::string vendor_name; ///< Device's driver name. |