summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/backend/spirv/emit_spirv.h
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-03-01 05:33:53 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:22 +0200
commit20390c0548d6eef2af67a363ee120a630267b741 (patch)
tree0df880552f80d79c769403f04df5c364397396d1 /src/shader_recompiler/backend/spirv/emit_spirv.h
parentshader: Implement BFI (diff)
downloadyuzu-20390c0548d6eef2af67a363ee120a630267b741.tar
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.gz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.bz2
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.lz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.xz
yuzu-20390c0548d6eef2af67a363ee120a630267b741.tar.zst
yuzu-20390c0548d6eef2af67a363ee120a630267b741.zip
Diffstat (limited to 'src/shader_recompiler/backend/spirv/emit_spirv.h')
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.h
index 64c8e9ef6..4d00b235d 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv.h
+++ b/src/shader_recompiler/backend/spirv/emit_spirv.h
@@ -230,6 +230,10 @@ Id EmitBitFieldUExtract(EmitContext& ctx, Id base, Id offset, Id count);
Id EmitBitReverse32(EmitContext& ctx, Id value);
Id EmitBitCount32(EmitContext& ctx, Id value);
Id EmitBitwiseNot32(EmitContext& ctx, Id a);
+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 EmitSLessThan(EmitContext& ctx, Id lhs, Id rhs);
Id EmitULessThan(EmitContext& ctx, Id lhs, Id rhs);
Id EmitIEqual(EmitContext& ctx, Id lhs, Id rhs);