SPV: Update SPV header to official Rev. 10 of 1.0, and fix the consequences of doing so.

This commit is contained in:
John Kessenich
2017-02-27 01:50:28 -07:00
parent 6c8aaacd28
commit 42e33c9bec
5 changed files with 30 additions and 41 deletions

View File

@@ -631,12 +631,12 @@ spv::BuiltIn TGlslangToSpvTraverser::TranslateBuiltInDecoration(glslang::TBuiltI
case glslang::EbvDeviceIndex:
builder.addExtension(spv::E_SPV_KHR_device_group);
builder.addCapability(spv::CapabilityDeviceGroup);
return spv::BuiltinDeviceIndex;
return spv::BuiltInDeviceIndex;
case glslang::EbvViewIndex:
builder.addExtension(spv::E_SPV_KHR_multiview);
builder.addCapability(spv::CapabilityMultiView);
return spv::BuiltinViewIndex;
return spv::BuiltInViewIndex;
#ifdef NV_EXTENSIONS
case glslang::EbvViewportMaskNV: