summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode/texture.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-02-02 02:49:25 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-02-02 02:52:10 +0100
commit223a89a19f7cd904c79c4070498c5941bcdf0724 (patch)
tree8f2a211c419e7446cc162a83b348132fcf478624 /src/video_core/shader/decode/texture.cpp
parentMerge pull request #3282 from FernandoS27/indexed-samplers (diff)
downloadyuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar.gz
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar.bz2
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar.lz
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar.xz
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.tar.zst
yuzu-223a89a19f7cd904c79c4070498c5941bcdf0724.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/shader/decode/texture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp
index d980535b1..351c8c2f1 100644
--- a/src/video_core/shader/decode/texture.cpp
+++ b/src/video_core/shader/decode/texture.cpp
@@ -630,7 +630,7 @@ Node4 ShaderIR::GetTexCode(Instruction instr, TextureType texture_type,
aoffi = GetAoffiCoordinates(GetRegister(parameter_register++), coord_count, false);
}
- Node dc{};
+ Node dc;
if (depth_compare) {
// Depth is always stored in the register signaled by gpr20 or in the next register if lod
// or bias are used
@@ -666,7 +666,7 @@ Node4 ShaderIR::GetTexsCode(Instruction instr, TextureType texture_type,
const Node array = is_array ? GetRegister(array_register) : nullptr;
- Node dc{};
+ Node dc;
if (depth_compare) {
// Depth is always stored in the register signaled by gpr20 or in the next register if lod
// or bias are used