etnaviv: get addressing mode from tiling layout
authorJonathan Marek <jonathan@marek.ca>
Sat, 10 Aug 2019 20:44:07 +0000 (16:44 -0400)
committerJonathan Marek <jonathan@marek.ca>
Fri, 11 Oct 2019 11:26:52 +0000 (07:26 -0400)
commite7e02435a88ec3262c556f56d2e279753b81f2dd
treed489cd7b570161566da67fc813e41fa8cf8a5db2
parent5403b366533d75a3c13fd8d65c745dc015e6bfd1
etnaviv: get addressing mode from tiling layout

Remove the "addressing_mode" state, which is currently set incorrectly, and
instead deduce the addressing mode from the tiling layout.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
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_texture_state.c
src/gallium/drivers/etnaviv/etnaviv_transfer.c