SPV: SampleMask does not depend on SampleRateShading.

Fixes #1158.
Fixes #1159.
This commit is contained in:
John Kessenich
2017-11-20 16:32:49 -07:00
parent e2c15b4f6e
commit cbdf871d7f
11 changed files with 175 additions and 4 deletions

View File

@@ -479,7 +479,6 @@ spv::BuiltIn TGlslangToSpvTraverser::TranslateBuiltInDecoration(glslang::TBuiltI
return spv::BuiltInSamplePosition;
case glslang::EbvSampleMask:
builder.addCapability(spv::CapabilitySampleRateShading);
return spv::BuiltInSampleMask;
case glslang::EbvLayer: