diff options
| author | 2020-02-20 09:39:30 +0700 | |
|---|---|---|
| committer | 2020-02-20 09:39:30 +0700 | |
| commit | ecf275887b0b51622c0c3a06cd438bda32dbfb01 (patch) | |
| tree | 0f6181171e1357052b573657922614acb9817a1b /src | |
| parent | shader_decompiler: only add StorageImageReadWithoutFormat when available (diff) | |
| download | yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.gz yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.tar.xz yuzu-ecf275887b0b51622c0c3a06cd438bda32dbfb01.zip | |
clang-format
Diffstat (limited to '')
| -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: | |||
| 289 | AddCapability(spv::Capability::ShaderViewportIndexLayerEXT); | 289 | AddCapability(spv::Capability::ShaderViewportIndexLayerEXT); |
| 290 | } | 290 | } |
| 291 | } | 291 | } |
| 292 | 292 | ||
| 293 | if (device.IsShaderStorageImageReadWithoutFormatSupported()) { | 293 | if (device.IsShaderStorageImageReadWithoutFormatSupported()) { |
| 294 | AddCapability(spv::Capability::StorageImageReadWithoutFormat); | 294 | AddCapability(spv::Capability::StorageImageReadWithoutFormat); |
| 295 | } | 295 | } |