panfrost: Dynamically allocate array of texture pointers
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 2 Jan 2020 10:24:19 +0000 (11:24 +0100)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 2 Jan 2020 17:41:02 +0000 (12:41 -0500)
commited3eede296e09a1c779d0d8f89ed50765c26b2dc
tree286764d75046ed1e90421f9e0226aeafe755f108
parentc1a1a86658303083d33e70c6b0c1b3317bdd8d20
panfrost: Dynamically allocate array of texture pointers

With 3D textures we can have lots of layers, so better allocate it
dynamically at runtime.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/pan_context.c
src/panfrost/include/panfrost-job.h
src/panfrost/pandecode/decode.c