etnaviv: GC7000: Texture descriptors
authorWladimir J. van der Laan <laanwj@gmail.com>
Sun, 29 Oct 2017 14:59:43 +0000 (14:59 +0000)
committerLucas Stach <l.stach@pengutronix.de>
Fri, 18 Oct 2019 17:06:20 +0000 (19:06 +0200)
commiteda73d71277a0dd9d7832da96c2aaca2dd513d4d
treea9d5d299fa834753c4662a0b2584b20f7a28c4b2
parent5bc3fcf620d428f9413623eee4e14ae753e35b2c
etnaviv: GC7000: Texture descriptors

Create a separate implementation file with texture-descriptor-based
sampler views and sampler states. Initialize the one or the other
based on the GPU. There is so little in common that this seemed more
appropriate that keeping them as one type of state object would
only be confusing.

This commit is actually a combiation of the original commit by
Wladimir, fixes and TS implementation from Jonathan and changed to
use softpin by Lucas.

Signed-off-by: Wladimir J. van der Laan <laanwj@gmail.com>
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Jonathan Marek <jonathan@marek.ca>
src/gallium/drivers/etnaviv/Makefile.sources
src/gallium/drivers/etnaviv/etnaviv_context.c
src/gallium/drivers/etnaviv/etnaviv_context.h
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_texture_desc.c [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_texture_desc.h [new file with mode: 0644]
src/gallium/drivers/etnaviv/etnaviv_util.h
src/gallium/drivers/etnaviv/meson.build