diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-06 09:06:02 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-03-13 22:33:05 +0100 |
commit | c320702092c81c8acc9b5ff0c18f0613a5f64f04 (patch) | |
tree | c274250972f94fe52e1ad4f16d8460dc05b668f8 /src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | |
parent | shader/transform_feedback: Expose buffer stride (diff) | |
download | yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar.gz yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar.bz2 yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar.lz yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar.xz yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.tar.zst yuzu-c320702092c81c8acc9b5ff0c18f0613a5f64f04.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp index 699a538d6..802fe8747 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp @@ -298,7 +298,7 @@ public: } } - if (device.IsShaderStorageImageReadWithoutFormatSupported()) { + if (device.IsFormatlessImageLoadSupported()) { AddCapability(spv::Capability::StorageImageReadWithoutFormat); } @@ -1800,7 +1800,7 @@ private: } Expression ImageLoad(Operation operation) { - if (!device.IsShaderStorageImageReadWithoutFormatSupported()) { + if (!device.IsFormatlessImageLoadSupported()) { return {v_float_zero, Type::Float}; } |