mirror of
https://github.com/KhronosGroup/glslang
synced 2024-11-10 12:30:05 +00:00
Enable adding capability: MultiViewport
Fix issue #191: https://github.com/KhronosGroup/glslang/issues/191
This commit is contained in:
parent
f2d8a5c53f
commit
3d7b89a872
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user