diff options
author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-05-31 18:53:40 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:37 +0200 |
commit | df53046d68b26b23ced683396ebc204d96176c8e (patch) | |
tree | 09a858f1d743ab9079484b30eddff00a23152b59 /src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp | |
parent | glsl: Implement gl_ViewportIndex (diff) | |
download | yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.gz yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.bz2 yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.lz yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.xz yuzu-df53046d68b26b23ced683396ebc204d96176c8e.tar.zst yuzu-df53046d68b26b23ced683396ebc204d96176c8e.zip |
Diffstat (limited to 'src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp')
-rw-r--r-- | src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp index 5f58e781e..c66b4b282 100644 --- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp +++ b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp @@ -139,6 +139,7 @@ void EmitGetAttribute(EmitContext& ctx, IR::Inst& inst, IR::Attribute attr, switch (ctx.stage) { case Stage::VertexA: case Stage::VertexB: + case Stage::Geometry: ctx.AddF32("{}=gl_Position.{};", inst, swizzle); break; case Stage::Fragment: |