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
commit 2107c76a08
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:

View File

@ -12,6 +12,7 @@ Linked geometry stage:
Capability Geometry
Capability GeometryPointSize
Capability GeometryStreams
Capability MultiViewport
1: ExtInstImport "GLSL.std.450"
MemoryModel Logical GLSL450
EntryPoint Geometry 4 "main" 14 23 28 33 46