etnaviv: GC7000: Factor out state based texture functionality
authorWladimir J. van der Laan <laanwj@gmail.com>
Sat, 18 Nov 2017 09:44:40 +0000 (10:44 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Thu, 30 Nov 2017 06:33:20 +0000 (07:33 +0100)
commitf1a9a724f9ad09e4e40049bc2a379107a86cfb0b
treeca6f75623cf195e8440d62aceec94384f1769835
parent075f8cd7de2506c6085cf898f827edf4551e05f2
etnaviv: GC7000: Factor out state based texture functionality

Prepare for two texture handling paths, the descriptor-based
path will be added in a future commit. These are structured
so that the texture implementation handles its own state
emission.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
src/gallium/drivers/etnaviv/Makefile.sources
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_emit.c
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_texture.h
src/gallium/drivers/etnaviv/etnaviv_texture_state.c [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_texture_state.h [new file with mode: 0644]
src/gallium/drivers/etnaviv/meson.build