mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:42:48 +00:00
renderer_vulkan/vk_shader_decompiler: Remove unused variable from DeclareInternalFlags()
This commit is contained in:
parent
175fe8aaeb
commit
e3c45b4338
|
@ -315,7 +315,6 @@ private:
|
||||||
constexpr std::array<const char*, INTERNAL_FLAGS_COUNT> names = {"zero", "sign", "carry",
|
constexpr std::array<const char*, INTERNAL_FLAGS_COUNT> names = {"zero", "sign", "carry",
|
||||||
"overflow"};
|
"overflow"};
|
||||||
for (std::size_t flag = 0; flag < INTERNAL_FLAGS_COUNT; ++flag) {
|
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);
|
const Id id = OpVariable(t_prv_bool, spv::StorageClass::Private, v_false);
|
||||||
internal_flags[flag] = AddGlobalVariable(Name(id, names[flag]));
|
internal_flags[flag] = AddGlobalVariable(Name(id, names[flag]));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue