summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.cpp
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2021-03-28 21:25:08 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:25 +0200
commitbe3e94ae55184933e0f1f5fb55698513f7936382 (patch)
tree87dcf2bafc3da1966470de424f5f14bf662d1aa1 /src/shader_recompiler/frontend/ir/ir_emitter.cpp
parentshader,spirv: Implement ImageQueryLod. (diff)
downloadyuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar.gz
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar.bz2
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar.lz
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar.xz
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.tar.zst
yuzu-be3e94ae55184933e0f1f5fb55698513f7936382.zip
Diffstat (limited to '')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp4
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 ba9591727..f6818ec8a 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
@@ -1567,10 +1567,10 @@ Value IREmitter::ImageQueryDimension(const Value& handle, const IR::U32& lod) {
return Inst(op, handle, lod);
}
-Value IREmitter::ImageQueryLod(const Value& handle, const Value& coords) {
+Value IREmitter::ImageQueryLod(const Value& handle, const Value& coords, TextureInstInfo info) {
const Opcode op{handle.IsImmediate() ? Opcode::BoundImageQueryLod
: Opcode::BindlessImageQueryLod};
- return Inst(op, handle, coords);
+ return Inst(op, Flags{info}, handle, coords);
}
U1 IREmitter::VoteAll(const U1& value) {