MCPcopy Create free account
hub / github.com/alecazam/kram / Error

Method Error

hlslparser/src/HLSLGenerator.cpp:136–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void HLSLGenerator::Error(const char* format, ...)
137{
138 // It's not always convenient to stop executing when an error occurs,
139 // so just track once we've hit an error and stop reporting them until
140 // we successfully bail out of execution.
141 if (m_error) {
142 return;
143 }
144 m_error = true;
145
146 va_list arg;
147 va_start(arg, format);
148 Log_ErrorArgList(format, arg);
149 va_end(arg);
150}
151
152bool HLSLGenerator::Generate(HLSLTree* tree, HLSLTarget target, const char* entryName, const HLSLOptions& options)
153{

Callers

nothing calls this directly

Calls 1

Log_ErrorArgListFunction · 0.85

Tested by

no test coverage detected