MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / ProcessVariantDefs

Method ProcessVariantDefs

source/link/fnvar.cpp:490–498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

488}
489
490bool VariantDefs::ProcessVariantDefs() {
491 EnsureBoolType();
492 CollectVarInsts();
493 if (!GenerateFnVarConstants()) {
494 return false;
495 }
496 CollectBaseFnCalls();
497 return true;
498}
499
500void VariantDefs::GenerateHeader(IRContext* linked_context) {
501 linked_context->AddCapability(spv::Capability::SpecConditionalINTEL);

Callers 1

LinkFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected