summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-02-09 22:14:47 -0500
committerGitHub <noreply@github.com>2023-02-09 22:14:47 -0500
commitcbb289fbeeefabf3365c9c894f8d920110839be1 (patch)
tree8ae6d845c9e194bb0429d5a51046dbf16eb766a4 /src
parentc0b36c2d268f9fb25e88e1356530b95fbbc7656f (diff)
parent04139cb3edeb4b596e89c98435afd19ed6be85fb (diff)
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
if (runtime_info.force_early_z) {
header += "layout(early_fragment_tests)in;";
}
- if (info.uses_sample_id) {
- header += "in int gl_SampleID;";
- }
- if (info.stores_sample_mask) {
- header += "out int gl_SampleMask[];";
- }
break;
case Stage::Compute:
stage_name = "cs";