panfrost: Map with size of first layer for 3D textures
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 2 Jan 2020 10:27:00 +0000 (11:27 +0100)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Thu, 2 Jan 2020 17:41:15 +0000 (12:41 -0500)
commit14bc4c7cce6dccca6efed5207f7d38d5d654999a
treec0e907e0319f8beb9fb4cb28c00d3c65df4a783f
parented3eede296e09a1c779d0d8f89ed50765c26b2dc
panfrost: Map with size of first layer for 3D textures

As that's what Gallium expects in transfer.layer_stride.

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