diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-16 23:47:26 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:28 +0200 |
commit | 80940b17069f6baa733a9b572445b27bc7509137 (patch) | |
tree | b6d73140e8f84cd4c3916895cbf054d124c98b7e /src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp | |
parent | shader: Implement PIXLD.MY_INDEX (diff) | |
download | yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.gz yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.bz2 yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.lz yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.xz yuzu-80940b17069f6baa733a9b572445b27bc7509137.tar.zst yuzu-80940b17069f6baa733a9b572445b27bc7509137.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp index 7555dd94c..e5e4c352b 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp @@ -343,6 +343,10 @@ void EmitSetFragColor(EmitContext& ctx, u32 index, u32 component, Id value) { ctx.OpStore(pointer, value); } +void EmitSetSampleMask(EmitContext& ctx, Id value) { + ctx.OpStore(ctx.sample_mask, value); +} + void EmitSetFragDepth(EmitContext& ctx, Id value) { ctx.OpStore(ctx.frag_depth, value); } |