Assert on failure to compile glsl and unimplemented shader instrs.

This commit is contained in:
Ben Vanik
2015-03-08 21:57:44 -07:00
parent c28cbba00c
commit 98194f0482
2 changed files with 3 additions and 0 deletions

View File

@@ -1390,6 +1390,7 @@ bool GL4ShaderTranslator::TranslateALU(const instr_alu_t* alu, int sync) {
return false;
}
} else {
assert_always();
Append(" // <UNIMPLEMENTED>\n");
}
}
@@ -1440,6 +1441,7 @@ bool GL4ShaderTranslator::TranslateALU(const instr_alu_t* alu, int sync) {
return false;
}
} else {
// assert_always();
Append(" // <UNIMPLEMENTED>\n");
}
}