mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
gallivm: Fix wrong operator in lp_exec_default.
Courtesy of MSVC static code analyser. Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
parent
878877d3c4
commit
1527a545a4
1 changed files with 1 additions and 1 deletions
|
|
@ -725,7 +725,7 @@ static void lp_exec_default(struct lp_exec_mask *mask,
|
|||
* default (or could do switch analysis at switch start time instead).
|
||||
*/
|
||||
unsigned opcode = bld_base->instructions[bld_base->pc - 1].Instruction.Opcode;
|
||||
boolean ft_into = (opcode != TGSI_OPCODE_BRK ||
|
||||
boolean ft_into = (opcode != TGSI_OPCODE_BRK &&
|
||||
opcode != TGSI_OPCODE_SWITCH);
|
||||
/*
|
||||
* If it is not last statement and there was no fallthrough into it,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue