SPV: SampleMask does not depend on SampleRateShading.
Fixes #1158. Fixes #1159.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user