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

Method ProgressToNextLayoutSectionOrder

source/val/validation_state.cpp:319–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317}
318
319void ValidationState_t::ProgressToNextLayoutSectionOrder() {
320 // Guard against going past the last element(kLayoutFunctionDefinitions)
321 if (current_layout_section_ <= kLayoutFunctionDefinitions) {
322 current_layout_section_ =
323 static_cast<ModuleLayoutSection>(current_layout_section_ + 1);
324 }
325}
326
327bool ValidationState_t::IsOpcodeInPreviousLayoutSection(spv::Op op) {
328 ModuleLayoutSection section =

Callers 2

ModuleScopedInstructionsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected