diff options
author | Ameer J <52414509+ameerj@users.noreply.github.com> | 2023-11-18 13:39:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 13:39:47 +0100 |
commit | feb60de5c33a394b4998a45a549b99e7f0a4fe18 (patch) | |
tree | 4743b2682aeb7151dc293d1e78f7b85ce987c4da /src/shader_recompiler/frontend/ir/ir_emitter.cpp | |
parent | Merge pull request #12058 from liamwhite/opus-again (diff) | |
download | yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.gz yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.bz2 yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.lz yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.xz yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.tar.zst yuzu-feb60de5c33a394b4998a45a549b99e7f0a4fe18.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp index b7caa4246..49171c470 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp +++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp @@ -1864,11 +1864,11 @@ Value IREmitter::ImageQueryLod(const Value& handle, const Value& coords, Texture return Inst(op, Flags{info}, handle, coords); } -Value IREmitter::ImageGradient(const Value& handle, const Value& coords, const Value& derivates, +Value IREmitter::ImageGradient(const Value& handle, const Value& coords, const Value& derivatives, const Value& offset, const F32& lod_clamp, TextureInstInfo info) { const Opcode op{handle.IsImmediate() ? Opcode::BoundImageGradient : Opcode::BindlessImageGradient}; - return Inst(op, Flags{info}, handle, coords, derivates, offset, lod_clamp); + return Inst(op, Flags{info}, handle, coords, derivatives, offset, lod_clamp); } Value IREmitter::ImageRead(const Value& handle, const Value& coords, TextureInstInfo info) { |