Enable adding capability: MultiViewport

Fix issue #191:
https://github.com/KhronosGroup/glslang/issues/191
This commit is contained in:
qining 2016-03-07 21:32:15 -05:00
parent f2d8a5c53f
commit 3d7b89a872

View File

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