etnaviv: rework compatible render base
authorJonathan Marek <jonathan@marek.ca>
Sat, 10 Aug 2019 21:00:32 +0000 (17:00 -0400)
committerJonathan Marek <jonathan@marek.ca>
Fri, 11 Oct 2019 11:26:52 +0000 (07:26 -0400)
commitb9627765303356328c409cd59bef43d15f4eafcf
treeb981fe2476fafd92fc45c672d9012a06423d1313
parente7e02435a88ec3262c556f56d2e279753b81f2dd
etnaviv: rework compatible render base

For PE-incompatible layouts, use a mechanism similar to what texture does
to create a compatible base resource.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
src/gallium/drivers/etnaviv/etnaviv_resource.c
src/gallium/drivers/etnaviv/etnaviv_resource.h
src/gallium/drivers/etnaviv/etnaviv_state.c
src/gallium/drivers/etnaviv/etnaviv_surface.c
src/gallium/drivers/etnaviv/etnaviv_surface.h
src/gallium/drivers/etnaviv/etnaviv_texture.c