llvmpipe: Silence uninitialized variable warning about "scissor"
authorEric Anholt <eric@anholt.net>
Tue, 17 Dec 2019 04:56:14 +0000 (20:56 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2020 23:40:04 +0000 (15:40 -0800)
commit81225e1f0349b0b2ddff0fbfcd832752f8177477
tree78c7ff8dec1094562953def830046f4a385b4a90
parentdc8c5af99b04639d46280719cc59f4481e8bd564
llvmpipe: Silence uninitialized variable warning about "scissor"

nr_planes is only > 3 when scissor is enabled, but gcc doesn't see it.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3867>
src/gallium/drivers/llvmpipe/lp_setup_tri.c