etnaviv: do the left shift by 16 at emit time
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sun, 22 Mar 2020 10:07:16 +0000 (11:07 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 15:30:15 +0000 (15:30 +0000)
commit9491c1b04d1d85335b2a9be6dafe86ad38e17075
tree4678bba8c401cbdf2a8da232361403c2cac3e271
parent5ba2d398d8a8e8b8d1bf90aa3f68df87f52c7844
etnaviv: do the left shift by 16 at emit time

Also round up the max bounds.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4278>
src/gallium/drivers/etnaviv/etnaviv_emit.c
src/gallium/drivers/etnaviv/etnaviv_state.c