summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2021-02-15 06:26:28 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2021-02-15 06:26:28 +0100
commit9d8f793969b8d13e5312f92ff96fd80f142688a3 (patch)
tree67a08cf71135028e3b2eda4a6fa8785aa263ac15 /src/video_core/shader
parentImplement texture offset support for TexelFetch and TextureGather and add offsets for Tlds (diff)
downloadyuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar.gz
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar.bz2
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar.lz
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar.xz
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.tar.zst
yuzu-9d8f793969b8d13e5312f92ff96fd80f142688a3.zip
Diffstat (limited to 'src/video_core/shader')
-rw-r--r--src/video_core/shader/decode/texture.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}