diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-07-26 03:04:53 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2021-11-16 22:11:28 +0100 |
commit | c15332c44fa50dc44e2ebd1a682048f1e30dc136 (patch) | |
tree | 9229d46e1274a541aa1b15b6b2f31512b49fb784 /src/shader_recompiler/backend/spirv/emit_spirv_image.cpp | |
parent | texture_cache: Add image getters (diff) | |
download | yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.gz yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.bz2 yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.lz yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.xz yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.tar.zst yuzu-c15332c44fa50dc44e2ebd1a682048f1e30dc136.zip |
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv_image.cpp')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_image.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp index 1d5364309..2f925cc3e 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp @@ -470,4 +470,8 @@ void EmitImageWrite(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id ctx.OpImageWrite(Image(ctx, index, info), coords, color); } +Id EmitIsTextureScaled([[maybe_unused]] EmitContext& ctx, [[maybe_unused]] const IR::Value& index) { + return ctx.false_value; +} + } // namespace Shader::Backend::SPIRV |