Add support for SPV_NV_sample_mask_override_coverage

This commit is contained in:
chaoc
2016-12-19 16:29:34 -08:00
parent 7583ed73ef
commit 0ad6a4e60d
14 changed files with 215 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#version 450
#extension GL_NV_sample_mask_override_coverage : enable
in vec4 color;
layout(override_coverage) out int gl_SampleMask[];
void main() {
gl_SampleMask[0] = int(0xFFFFFFFF);
}