Merge pull request #192 from Qining/enable-adding-multiviewport-capability

SPV: Declare MultiViewport capability.
This commit is contained in:
John Kessenich
2016-03-07 21:22:54 -07:00
2 changed files with 2 additions and 1 deletions

View File

@@ -381,7 +381,7 @@ spv::BuiltIn TGlslangToSpvTraverser::TranslateBuiltInDecoration(glslang::TBuiltI
return spv::BuiltInCullDistance;
case glslang::EbvViewportIndex:
// TODO: builder.addCapability(spv::CapabilityMultiViewport);
builder.addCapability(spv::CapabilityMultiViewport);
return spv::BuiltInViewportIndex;
case glslang::EbvSampleId: