mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-04 19:38:16 +02:00
r300: remove the redundant control flow checks
This is checked at the NIR level now so we have either failed linking or went for a dummy shader. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41577>
This commit is contained in:
parent
90f2f4d626
commit
37e48ea736
1 changed files with 0 additions and 9 deletions
|
|
@ -178,15 +178,6 @@ static void transform_instruction(struct tgsi_to_rc * ttr, struct tgsi_full_inst
|
|||
|
||||
dst = rc_insert_new_instruction(ttr->compiler, ttr->compiler->Program.Instructions.Prev);
|
||||
dst->U.I.Opcode = translate_opcode(src->Instruction.Opcode);
|
||||
if (!ttr->compiler->is_r500 && dst->U.I.Opcode == RC_OPCODE_BGNLOOP && ttr->error == false) {
|
||||
ttr->error = true;
|
||||
fprintf(stderr, "r300: Dynamic loops are not supported on R3xx/R4xx.\n");
|
||||
}
|
||||
if (!ttr->compiler->is_r500 && dst->U.I.Opcode == RC_OPCODE_IF && ttr->error == false) {
|
||||
ttr->error = true;
|
||||
fprintf(stderr, "r300: Branches are not supported on R3xx/R4xx.\n");
|
||||
}
|
||||
|
||||
dst->U.I.SaturateMode = translate_saturate(src->Instruction.Saturate);
|
||||
|
||||
if (src->Instruction.NumDstRegs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue