freedreno: initialize max_scissor
authorRob Clark <robdclark@chromium.org>
Sat, 9 May 2020 19:31:20 +0000 (12:31 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 12 May 2020 18:16:48 +0000 (18:16 +0000)
commit96b5a70f45612642265d7192e04e90206a4c260f
tree01cc3bc11aa57bde9d6ca559718abfc8121a94f1
parent1387e778018527f1ea85f616130a2b0d59dcff19
freedreno: initialize max_scissor

Somehow the initialization of this got lost somewhere along the way,
resulting in assuming minx/miny are always zero.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4976>
src/gallium/drivers/freedreno/freedreno_batch_cache.c