summaryrefslogtreecommitdiffstats
path: root/src/video_core/shader/decode
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-01-24 15:44:34 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2020-01-25 14:04:59 +0100
commitbb8eb15d392d69693f8cda0427669d011e23db97 (patch)
treecebd080530de75e7b5400f46c25c307a80e3c222 /src/video_core/shader/decode
parentShader_IR: Change name of TrackSampler function so it does not confuse with the type. (diff)
downloadyuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.gz
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.bz2
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.lz
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.xz
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.tar.zst
yuzu-bb8eb15d392d69693f8cda0427669d011e23db97.zip
Diffstat (limited to 'src/video_core/shader/decode')
-rw-r--r--src/video_core/shader/decode/texture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/texture.cpp b/src/video_core/shader/decode/texture.cpp
index 6da9668fe..d980535b1 100644
--- a/src/video_core/shader/decode/texture.cpp
+++ b/src/video_core/shader/decode/texture.cpp
@@ -201,7 +201,8 @@ u32 ShaderIR::DecodeTexture(NodeBlock& bb, u32 pc) {
}
for (u32 element = 0; element < values.size(); ++element) {
- MetaTexture meta{*sampler, array_node, {}, {}, {}, derivates, {}, {}, {}, element, index_var};
+ MetaTexture meta{*sampler, array_node, {}, {}, {}, derivates,
+ {}, {}, {}, element, index_var};
values[element] = Operation(OperationCode::TextureGradient, std::move(meta), coords);
}