etnaviv: extend etna_resource with an addressing mode
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Fri, 18 Jan 2019 09:54:07 +0000 (10:54 +0100)
committerChristian Gmeiner <christian.gmeiner@gmail.com>
Mon, 28 Jan 2019 06:36:05 +0000 (07:36 +0100)
commit5b4a155d2ba1a2bf070b8c539a6f3bf9b1086e2f
tree02e63a99f4c0488d3b1f799d068f4c19f5802d7a
parentd1d2bb8c07d1e20d654f558ea4750aeb09d34ff9
etnaviv: extend etna_resource with an addressing mode

Defines how sampler (and pixel pipes) needs to access the data
represented with a resource. The used default is mode is
ETNA_ADDRESSING_MODE_TILED.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
src/gallium/drivers/etnaviv/etnaviv_resource.c
src/gallium/drivers/etnaviv/etnaviv_resource.h
src/gallium/drivers/etnaviv/etnaviv_texture.c
src/gallium/drivers/etnaviv/etnaviv_transfer.c