diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_shader_decompiler.cpp | 4 | ||||
-rw-r--r-- | src/video_core/shader/decode/texture.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp index dd6996735..c6846d886 100644 --- a/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp +++ b/src/video_core/renderer_vulkan/vk_shader_decompiler.cpp @@ -1849,7 +1849,7 @@ private: const Id coords = GetCoordinates(operation, Type::Float); spv::ImageOperandsMask mask = spv::ImageOperandsMask::MaskNone; - std::vector<Id> operands{}; + std::vector<Id> operands; Id texture{}; if (!meta.aoffi.empty()) { @@ -1938,7 +1938,7 @@ private: const Id coords = GetCoordinates(operation, Type::Int); spv::ImageOperandsMask mask = spv::ImageOperandsMask::MaskNone; - std::vector<Id> operands{}; + std::vector<Id> operands; Id fetch; if (meta.lod && !meta.sampler.is_buffer) { diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp index 43087304d..c69681e8d 100644 --- a/src/video_core/shader/decode/texture.cpp +++ b/src/video_core/shader/decode/texture.cpp @@ -829,7 +829,7 @@ Node4 ShaderIR::GetTldsCode(Instruction instr, TextureType texture_type, bool is // When lod is used always is in gpr20 const Node lod = lod_enabled ? GetRegister(instr.gpr20) : Immediate(0); - std::vector<Node> aoffi{}; + std::vector<Node> aoffi; if (aoffi_enabled) { aoffi = GetAoffiCoordinates(GetRegister(instr.gpr20), type_coord_count, false); } |