spirv: Generate missing SampleMaskOverrideCoverageNV capability op

The SampleMaskOverrideCoverageNV capability should be declared when
gl_SampleMask is used.
This commit is contained in:
Jason Macnak
2019-07-12 14:33:02 -07:00
parent 71892a5eda
commit dbd4c3ce11
4 changed files with 4 additions and 1 deletions

View File

@@ -1,10 +1,10 @@
spv.sampleMaskOverrideCoverage.frag
Validation failed
// Module Version 10000
// Generated by (magic number): 80007
// Id's are bound by 20
Capability Shader
Capability SampleMaskOverrideCoverageNV
Extension "SPV_NV_sample_mask_override_coverage"
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450