diff options
author | Nguyen Dac Nam <nam.kazt.91@gmail.com> | 2020-02-20 03:39:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-20 03:39:30 +0100 |
commit | ecf275887b0b51622c0c3a06cd438bda32dbfb01 (patch) | |
tree | 0f6181171e1357052b573657922614acb9817a1b | |
parent | shader_decompiler: only add StorageImageReadWithoutFormat when available (diff) | |
download | yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.gz yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.bz2 yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.lz yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.xz yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.zst yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.zip |
-rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp index 6cd5fae30..77ea7b441 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp @@ -289,7 +289,7 @@ public: AddCapability(spv::Capability::ShaderViewportIndexLayerEXT); } } - + if (device.IsShaderStorageImageReadWithoutFormatSupported()) { AddCapability(spv::Capability::StorageImageReadWithoutFormat); } |