diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-19 07:26:32 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:32 +0200 |
commit | 2494dbe183660297d9b66d4300a28ca95f740f08 (patch) | |
tree | ce0f27d621a0ae97271a327899ce4c5145cbe2b2 /src/shader_recompiler/backend | |
parent | glasm: Implement gl_PointCoord (diff) | |
download | yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar.gz yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar.bz2 yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar.lz yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar.xz yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.tar.zst yuzu-2494dbe183660297d9b66d4300a28ca95f740f08.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp index 7bbb3e1af..f362dd2c8 100644 --- a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp +++ b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp @@ -93,6 +93,9 @@ void EmitSetAttribute(EmitContext& ctx, IR::Attribute attr, ScalarF32 value, return; } switch (attr) { + case IR::Attribute::PointSize: + ctx.Add("MOV.F result.pointsize.x,{};", value); + break; case IR::Attribute::PositionX: case IR::Attribute::PositionY: case IR::Attribute::PositionZ: |