diff options
| author | 2021-03-28 19:47:52 +0200 | |
|---|---|---|
| committer | 2021-07-22 21:51:25 -0400 | |
| commit | 613b48c4a2ce71a0d0eaba17fe164f4a2e4a3db5 (patch) | |
| tree | a8d2d2eb8284f1b35184e4ee07e25709ecce0596 /src/shader_recompiler/frontend/ir/ir_emitter.h | |
| parent | shader: Implement TLDS (diff) | |
| download | yuzu-613b48c4a2ce71a0d0eaba17fe164f4a2e4a3db5.tar.gz yuzu-613b48c4a2ce71a0d0eaba17fe164f4a2e4a3db5.tar.xz yuzu-613b48c4a2ce71a0d0eaba17fe164f4a2e4a3db5.zip | |
shader,spirv: Implement ImageQueryLod.
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.h')
| -rw-r--r-- | src/shader_recompiler/frontend/ir/ir_emitter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.h index 8f3325738..9e752b208 100644 --- a/src/shader_recompiler/frontend/ir/ir_emitter.h +++ b/src/shader_recompiler/frontend/ir/ir_emitter.h | |||
| @@ -255,6 +255,8 @@ public: | |||
| 255 | TextureInstInfo info); | 255 | TextureInstInfo info); |
| 256 | [[nodiscard]] Value ImageQueryDimension(const Value& handle, const IR::U32& lod); | 256 | [[nodiscard]] Value ImageQueryDimension(const Value& handle, const IR::U32& lod); |
| 257 | 257 | ||
| 258 | [[nodiscard]] Value ImageQueryLod(const Value& handle, const Value& coords); | ||
| 259 | |||
| 258 | [[nodiscard]] Value ImageGather(const Value& handle, const Value& coords, const Value& offset, | 260 | [[nodiscard]] Value ImageGather(const Value& handle, const Value& coords, const Value& offset, |
| 259 | const Value& offset2, TextureInstInfo info); | 261 | const Value& offset2, TextureInstInfo info); |
| 260 | 262 | ||