etnaviv: get rid of SE_CLIP_*
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Sat, 21 Mar 2020 10:16:37 +0000 (11:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 30 Mar 2020 15:30:15 +0000 (15:30 +0000)
commit95763e20cea3e85e7886421a73be7a68a84b5c80
tree07d8f2f41c085af6b2b9baf7ed0c837817057462
parent27d58a1c20cc39a87fe36455f221f6bd4ef811c0
etnaviv: get rid of SE_CLIP_*

The only difference between e.g. SE_SCISSOR_RIGHT and SE_CLIP_RIGHT
is the used margin value. With that information we can remove
SE_CLIP_* and apply the different margins during emit time.

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_internal.h
src/gallium/drivers/etnaviv/etnaviv_state.c