Implement SPV_KHR_post_depth_coverage
Added support for both extension GL_ARB_post_depth_coverage and GL_EXT_post_depth_coverage.
This commit is contained in:
parent
994660208c
commit
c120452754
20 changed files with 185 additions and 6 deletions
13
Test/spv.arbPostDepthCoverage.frag
Normal file
13
Test/spv.arbPostDepthCoverage.frag
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#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];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue