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
12
Test/spv.arbPostDepthCoverage_Error.frag
Normal file
12
Test/spv.arbPostDepthCoverage_Error.frag
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#version 310 es
|
||||
|
||||
#extension GL_ARB_post_depth_coverage : enable
|
||||
|
||||
precision highp float;
|
||||
|
||||
layout(post_depth_coverage, location = 0) in float a; // should fail since post_depth_coverage may only
|
||||
// be declared on in only (not with variable declarations)
|
||||
|
||||
void main () {
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue