yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Pica/VertexShader: Clarify a comment.

This commit is contained in:
Tony Wasserka 2014-12-19 19:49:17 +01:00
parent 871418e62b
commit ad5db467d7
1 changed files with 3 additions and 1 deletions

View File

@ -140,7 +140,9 @@ static void ProcessShaderCode(VertexShaderState& state) {
{ {
bool is_inverted = 0 != (instr.opcode.GetInfo().subtype & Instruction::OpCodeInfo::SrcInversed); bool is_inverted = 0 != (instr.opcode.GetInfo().subtype & Instruction::OpCodeInfo::SrcInversed);
if (is_inverted) { if (is_inverted) {
// We don't really support this properly and/or reliably // TODO: We don't really support this properly: For instance, the address register
// offset needs to be applied to SRC2 instead, etc.
// For now, we just abort in this situation.
LOG_ERROR(HW_GPU, "Bad condition..."); LOG_ERROR(HW_GPU, "Bad condition...");
exit(0); exit(0);
} }