r300/compiler: Schedule KIL instructions before output writes
This commit is contained in:
parent
134a0a5ff8
commit
7acbbc0704
1 changed files with 4 additions and 0 deletions
|
|
@ -1104,6 +1104,10 @@ static void emit_instruction(
|
|||
#endif
|
||||
|
||||
for (tex_ptr = s->ReadyTEX; tex_ptr; tex_ptr = tex_ptr->NextReady) {
|
||||
if (tex_ptr->Instruction->U.I.Opcode == RC_OPCODE_KIL) {
|
||||
emit_all_tex(s, before);
|
||||
return;
|
||||
}
|
||||
tex_count++;
|
||||
}
|
||||
update_max_score(s, &s->ReadyFullALU, &max_score, &max_inst, &max_list);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue