Tag to the 3D texture series. With this it passes 100% of dEQP-GLES3.functional.texture.format.unsized.*
I plan to squash this in but don't want to resend the whole series just for this. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzw...@collabora.com> --- src/gallium/drivers/panfrost/pan_resource.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index 81a74735592..e1b8cee74f3 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -201,6 +201,8 @@ panfrost_setup_slices(const struct pipe_resource *tmpl, struct panfrost_bo *bo) bool should_align_stride = tmpl->target != PIPE_TEXTURE_3D; + should_align &= should_align_stride; + unsigned offset = 0; unsigned size_2d = 0; -- 2.20.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev