mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 04:20:06 +00:00
Merge pull request #192 from Qining/enable-adding-multiviewport-capability
SPV: Declare MultiViewport capability.
This commit is contained in:
commit
2107c76a08
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user