r600/sb: silence a sometimes-uninitialized warning
Fixes a warning from clang Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14296>
This commit is contained in:
parent
2a4c56e4e3
commit
9e2f1f05c6
|
@ -1014,7 +1014,7 @@ bool expr_handler::fold_alu_op3(alu_node& n) {
|
||||||
value *mv0 = md->src[0]->gvalue();
|
value *mv0 = md->src[0]->gvalue();
|
||||||
value *mv1 = md->src[1]->gvalue();
|
value *mv1 = md->src[1]->gvalue();
|
||||||
|
|
||||||
int es0 = -1, es1;
|
int es0 = -1, es1 = -1;
|
||||||
|
|
||||||
if (v0 == mv0) {
|
if (v0 == mv0) {
|
||||||
es0 = 0;
|
es0 = 0;
|
||||||
|
|
Loading…
Reference in New Issue