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

Method IsOpcodeInPreviousLayoutSection

source/val/validation_state.cpp:327–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327bool ValidationState_t::IsOpcodeInPreviousLayoutSection(spv::Op op) {
328 ModuleLayoutSection section =
329 InstructionLayoutSection(current_layout_section_, op);
330 return section < current_layout_section_;
331}
332
333bool ValidationState_t::IsOpcodeInCurrentLayoutSection(spv::Op op) {
334 return IsInstructionInLayoutSection(current_layout_section_, op);

Callers 1

ModuleScopedInstructionsFunction · 0.80

Calls 1

InstructionLayoutSectionFunction · 0.85

Tested by

no test coverage detected