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

Method SetHandleUnknownOpcodes

source/binary.cpp:103–103  ·  view source on GitHub ↗

Sets whether to handle, rather than reject, unrecognized content: unknown opcodes, unknown extended instruction numbers in semantic sets, and known opcodes with unknown enum operands. When set, unknown instructions are re-emitted as raw OpUnknown data instead of returning an error.

Source from the content-addressed store, hash-verified

101 // instructions are re-emitted as raw OpUnknown data instead of returning
102 // an error.
103 void SetHandleUnknownOpcodes(bool value) { handle_unknown_opcodes_ = value; }
104
105 private:
106 // All remaining methods work on the current module parse state.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected