mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 14:09:59 +00:00
glsl_emit_context: Remove redeclarations of gl_SampleID and gl_SampleMask
These built-ins seem to be available without needing to be declared for fragment shaders, similar i.e. to gl_FragDepth
This commit is contained in:
parent
f6477b91f9
commit
04139cb3ed
1 changed files with 0 additions and 6 deletions
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue