MCPcopy Create free account
hub / github.com/InoriRus/Kyty / diagnostic

Method diagnostic

source/3rdparty/vulkan/source/binary.cpp:135–138  ·  view source on GitHub ↗

Returns a diagnostic stream object initialized with current position in the input stream, and for the given error code. Any data written to the returned object will be propagated to the current parse's diagnostic object.

Source from the content-addressed store, hash-verified

133 // returned object will be propagated to the current parse's diagnostic
134 // object.
135 spvtools::DiagnosticStream diagnostic(spv_result_t error) {
136 return spvtools::DiagnosticStream({0, 0, _.instruction_count}, consumer_,
137 "", error);
138 }
139
140 // Returns a diagnostic stream object with the default parse error code.
141 spvtools::DiagnosticStream diagnostic() {

Callers 6

encodeImmediateFunction · 0.45
spvTextEncodeOperandFunction · 0.45
spvTextEncodeOpcodeFunction · 0.45
GetNumericIdsFunction · 0.45
spvTextToBinaryInternalFunction · 0.45

Calls 1

DiagnosticStreamClass · 0.85

Tested by

no test coverage detected