summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2019-05-14 12:36:26 +0200
committerGitHub <noreply@github.com>2019-05-14 12:36:26 +0200
commitdadcf317dc38e94c9f72ab6d897da91b04ec84c6 (patch)
treeed230c56d70c233cd24f44fab8ac15dde19563e8 /src/video_core/renderer_vulkan
parentMerge pull request #2460 from lioncash/volatile (diff)
parentvideo_core/renderer_opengl/gl_shader_cache: Correct member initialization order (diff)
downloadyuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar.gz
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar.bz2
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar.lz
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar.xz
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.tar.zst
yuzu-dadcf317dc38e94c9f72ab6d897da91b04ec84c6.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_shader_decompiler.cpp1
1 files changed, 0 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 23d9b10db..a11000f6b 100644
--- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
+++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp
@@ -315,7 +315,6 @@ private:
constexpr std::array<const char*, INTERNAL_FLAGS_COUNT> names = {"zero", "sign", "carry",
"overflow"};
for (std::size_t flag = 0; flag < INTERNAL_FLAGS_COUNT; ++flag) {
- const auto flag_code = static_cast<InternalFlag>(flag);
const Id id = OpVariable(t_prv_bool, spv::StorageClass::Private, v_false);
internal_flags[flag] = AddGlobalVariable(Name(id, names[flag]));
}