panfrost: The texture descriptor has a pointer to a trampoline
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 21 Apr 2020 20:08:07 +0000 (16:08 -0400)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 24 Apr 2020 04:55:05 +0000 (06:55 +0200)
commita3d2936a8e9e1c263e5d18b6832c238e7aa6700e
treecd5008723486c98bbfb2816a9b64d2ad0061323c
parent36d49b1fb18a9b401c47d53ab75942d496c40e1c
panfrost: The texture descriptor has a pointer to a trampoline

Not to the texture itself, and can have a stride right after for linear
textures.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4680>
src/gallium/drivers/panfrost/pan_context.c
src/gallium/drivers/panfrost/pan_context.h
src/panfrost/encoder/pan_texture.c
src/panfrost/encoder/pan_texture.h
src/panfrost/pandecode/decode.c