Marking unimplemented translations as non-fatal.
This commit is contained in:
parent
c86e479214
commit
934b0d5bbc
|
@ -143,7 +143,7 @@ void ShaderTranslator::EmitTranslationError(const char* message) {
|
||||||
|
|
||||||
void ShaderTranslator::EmitUnimplementedTranslationError() {
|
void ShaderTranslator::EmitUnimplementedTranslationError() {
|
||||||
Shader::Error error;
|
Shader::Error error;
|
||||||
error.is_fatal = true;
|
error.is_fatal = false;
|
||||||
error.message = "Unimplemented translation";
|
error.message = "Unimplemented translation";
|
||||||
// TODO(benvanik): location information.
|
// TODO(benvanik): location information.
|
||||||
errors_.push_back(std::move(error));
|
errors_.push_back(std::move(error));
|
||||||
|
|
Loading…
Reference in New Issue