Browse Source
Merge pull request #9750 from ameerj/glsl-sample-id-mask
glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMask
pull/15/merge
liamwhite
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
6 deletions
-
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) { |
|
|
if (runtime_info.force_early_z) { |
|
|
header += "layout(early_fragment_tests)in;"; |
|
|
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; |
|
|
break; |
|
|
case Stage::Compute: |
|
|
case Stage::Compute: |
|
|
stage_name = "cs"; |
|
|
stage_name = "cs"; |
|
|
|