projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
878877d
)
gallivm: Fix wrong operator in lp_exec_default.
author
José Fonseca
<jfonseca@vmware.com>
Thu, 24 Apr 2014 13:49:53 +0000
(14:49 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 24 Apr 2014 13:49:53 +0000
(14:49 +0100)
Courtesy of MSVC static code analyser.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
index 8791168a48ba6e1932c4fc8fa22826cf96fc521f..2b47fc28f9bb7c861bf8959c135fe920352f30ec 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
@@
-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,