summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar liamwhite2023-02-09 22:14:47 -0500
committerGravatar GitHub2023-02-09 22:14:47 -0500
commitcbb289fbeeefabf3365c9c894f8d920110839be1 (patch)
tree8ae6d845c9e194bb0429d5a51046dbf16eb766a4 /src
parentMerge pull request #9758 from german77/multi_audio (diff)
parentglsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMask (diff)
downloadyuzu-cbb289fbeeefabf3365c9c894f8d920110839be1.tar.gz
yuzu-cbb289fbeeefabf3365c9c894f8d920110839be1.tar.xz
yuzu-cbb289fbeeefabf3365c9c894f8d920110839be1.zip
Merge pull request #9750 from ameerj/glsl-sample-id-mask
glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMask
Diffstat (limited to 'src')
-rw-r--r--src/shader_recompiler/backend/glsl/glsl_emit_context.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp
index 1b006e811..c3c2281bb 100644
--- a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp
+++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp
@@ -310,12 +310,6 @@ EmitContext::EmitContext(IR::Program& program, Bindings& bindings, const Profile
310 if (runtime_info.force_early_z) { 310 if (runtime_info.force_early_z) {
311 header += "layout(early_fragment_tests)in;"; 311 header += "layout(early_fragment_tests)in;";
312 } 312 }
313 if (info.uses_sample_id) {
314 header += "in int gl_SampleID;";
315 }
316 if (info.stores_sample_mask) {
317 header += "out int gl_SampleMask[];";
318 }
319 break; 313 break;
320 case Stage::Compute: 314 case Stage::Compute:
321 stage_name = "cs"; 315 stage_name = "cs";