lima: Add etc1 support
authorAndreas Baierl <ichgeh@imkreisrum.de>
Wed, 19 Feb 2020 09:42:43 +0000 (10:42 +0100)
committerAndreas Baierl <ichgeh@imkreisrum.de>
Mon, 2 Mar 2020 10:33:06 +0000 (10:33 +0000)
commite58bb417b57243d9bf0faa0995522dde5bf3fbfb
tree1ad37e60414b6584fdc52199211cb51e0d6a0644
parent37a670d76c245fab238f84dc31ecb281d62531e3
lima: Add etc1 support

Layer stride has to be divided by 4. We also have to take care of
the array_size when returning the bo_size.

Drop the affected tests from the fails list.

Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Andreas Baierl <ichgeh@imkreisrum.de>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3946>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3946>
.gitlab-ci/deqp-lima-fails.txt
src/gallium/drivers/lima/lima_format.c
src/gallium/drivers/lima/lima_resource.c