chaoc | c120452 | 2017-06-30 17:14:30 -0700 | [diff] [blame] | 1 | #version 450 |
2 | |||||
3 | #extension GL_ARB_post_depth_coverage : enable | ||||
4 | #extension GL_EXT_post_depth_coverage : enable //according to ARB_post_depth_coverage, | ||||
5 | //if both enabled, this one should be ignored | ||||
6 | precision highp int; | ||||
7 | layout(post_depth_coverage) in; | ||||
8 | |||||
9 | layout (location = 0) out int readSampleMaskIn; | ||||
10 | |||||
11 | void main () { | ||||
12 | readSampleMaskIn = gl_SampleMaskIn[0]; | ||||
13 | } |