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

@@ -734,6 +734,7 @@ static const char* GLSLextNVGetDebugNames(const char* name, unsigned entrypoint)
case CapabilityFragmentBarycentricNV: return "FragmentBarycentricNV";
case CapabilityMeshShadingNV: return "MeshShadingNV";
case CapabilityImageFootprintNV: return "ImageFootprintNV";
case CapabilitySampleMaskOverrideCoverageNV:return "SampleMaskOverrideCoverageNV";
// NV Decorations
case DecorationOverrideCoverageNV: return "OverrideCoverageNV";