turnip: image_view rework
authorJonathan Marek <jonathan@marek.ca>
Wed, 8 Apr 2020 01:12:45 +0000 (21:12 -0400)
committerMarge Bot <eric+marge@anholt.net>
Thu, 16 Apr 2020 14:04:18 +0000 (14:04 +0000)
Instead of exposing various layout functions, move image-related logic
into tu_image.c and have the image_view pre-fill relevant register values.

This changes the clear/blit code to use image_view.

This will make it much easier to deal with aspect masks, in particular for
planar formats and D32_S8.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4581>


No differences found