diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-03-28 05:01:28 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | dbc1e5cde79b9165605741e1ea7158513ef6499f (patch) | |
tree | ba55cdcda905c716ac1bde0463103b425b20bed6 /src/shader_recompiler/backend/spirv/emit_spirv.h | |
parent | vk_pipeline_cache: Fix size hashing of shaders (diff) | |
download | yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar.gz yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar.bz2 yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar.lz yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar.xz yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.tar.zst yuzu-dbc1e5cde79b9165605741e1ea7158513ef6499f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h index 4f62af959..af6b8a68f 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv.h +++ b/src/shader_recompiler/backend/spirv/emit_spirv.h @@ -287,6 +287,8 @@ Id EmitSMin32(EmitContext& ctx, Id a, Id b); Id EmitUMin32(EmitContext& ctx, Id a, Id b); Id EmitSMax32(EmitContext& ctx, Id a, Id b); Id EmitUMax32(EmitContext& ctx, Id a, Id b); +Id EmitSClamp32(EmitContext& ctx, Id value, Id min, Id max); +Id EmitUClamp32(EmitContext& ctx, Id value, Id min, Id max); Id EmitSLessThan(EmitContext& ctx, Id lhs, Id rhs); Id EmitULessThan(EmitContext& ctx, Id lhs, Id rhs); Id EmitIEqual(EmitContext& ctx, Id lhs, Id rhs); |