etnaviv: get rid of etna_spec in etna_context
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 6 Mar 2020 22:23:47 +0000 (23:23 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 13 Mar 2020 16:50:19 +0000 (16:50 +0000)
commitfe204de632da54bc0902313a943374a413023e90
tree276e464bab3a9b837ed1de3e473d32e8185d7157
parent4432dd6ea4fef2ae0f9a1bb3240d7df216cddf08
etnaviv: get rid of etna_spec in etna_context

There is no need to have a complete copy of etna_spec - just
reference the one and only from etna_screen.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4095>
13 files changed:
src/gallium/drivers/etnaviv/etnaviv_clear_blit.c
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_emit.c
src/gallium/drivers/etnaviv/etnaviv_rs.c
src/gallium/drivers/etnaviv/etnaviv_shader.c
src/gallium/drivers/etnaviv/etnaviv_state.c
src/gallium/drivers/etnaviv/etnaviv_surface.c
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_texture_state.c
src/gallium/drivers/etnaviv/etnaviv_transfer.c
src/gallium/drivers/etnaviv/etnaviv_uniforms.c
src/gallium/drivers/etnaviv/etnaviv_zsa.c