mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 05:58:05 +02:00
st/glsl_to_tgsi: remove unrequired tgsi_get_opcode_info() call
This is already set for the instruction at initialisation. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
parent
e2f3007665
commit
ad282c0b9e
1 changed files with 1 additions and 1 deletions
|
|
@ -4681,7 +4681,7 @@ glsl_to_tgsi_visitor::simplify_cmp(void)
|
|||
/* Give up if we encounter relative addressing or flow control. */
|
||||
if (inst->dst[0].reladdr || inst->dst[0].reladdr2 ||
|
||||
inst->dst[1].reladdr || inst->dst[1].reladdr2 ||
|
||||
tgsi_get_opcode_info(inst->op)->is_branch ||
|
||||
inst->info->is_branch ||
|
||||
inst->op == TGSI_OPCODE_CONT ||
|
||||
inst->op == TGSI_OPCODE_END ||
|
||||
inst->op == TGSI_OPCODE_RET) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue