mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-19 14:26:13 +00:00
Updated spirv-tools.
This commit is contained in:
@@ -76,6 +76,7 @@ ModuleLayoutSection InstructionLayoutSection(
|
||||
if (current_section == kLayoutTypes) return kLayoutTypes;
|
||||
return kLayoutFunctionDefinitions;
|
||||
case spv::Op::OpExtInst:
|
||||
case spv::Op::OpExtInstWithForwardRefsKHR:
|
||||
// spv::Op::OpExtInst is only allowed in types section for certain
|
||||
// extended instruction sets. This will be checked separately.
|
||||
if (current_section == kLayoutTypes) return kLayoutTypes;
|
||||
@@ -2353,6 +2354,10 @@ std::string ValidationState_t::VkErrorID(uint32_t id,
|
||||
return VUID_WRAP(VUID-StandaloneSpirv-Pointer-08973);
|
||||
case 9638:
|
||||
return VUID_WRAP(VUID-StandaloneSpirv-OpTypeImage-09638);
|
||||
case 9658:
|
||||
return VUID_WRAP(VUID-StandaloneSpirv-OpEntryPoint-09658);
|
||||
case 9659:
|
||||
return VUID_WRAP(VUID-StandaloneSpirv-OpEntryPoint-09659);
|
||||
default:
|
||||
return ""; // unknown id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user