freedreno: Silence compiler warnings about "*" in boolean context.
authorEric Anholt <eric@anholt.net>
Fri, 10 May 2019 00:32:25 +0000 (17:32 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 13 May 2019 22:37:01 +0000 (15:37 -0700)
commit40dd28acc389722ba5b7d6592156446008906a4e
tree0e706b44204d7ad8966cae75723c0316c602f925
parent06168d3f6ab2564664927d823e632939613b27eb
freedreno: Silence compiler warnings about "*" in boolean context.

It sure looks like we just want both of them to be nonzero, and && is
probably going to be cheaper than * anyway.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_gmem.c