mirror of
https://github.com/RPCS3/glslang.git
synced 2024-12-21 10:48:14 +00:00
c120452754
Added support for both extension GL_ARB_post_depth_coverage and GL_EXT_post_depth_coverage.
14 lines
418 B
GLSL
14 lines
418 B
GLSL
#version 450
|
|
|
|
#extension GL_ARB_post_depth_coverage : enable
|
|
#extension GL_EXT_post_depth_coverage : enable //according to ARB_post_depth_coverage,
|
|
//if both enabled, this one should be ignored
|
|
precision highp int;
|
|
layout(post_depth_coverage) in;
|
|
|
|
layout (location = 0) out int readSampleMaskIn;
|
|
|
|
void main () {
|
|
readSampleMaskIn = gl_SampleMaskIn[0];
|
|
}
|