From 6dc6b8ad9f297f16294b277d97f0ee2cf89533cd Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 3 Nov 2020 08:23:55 -0500 Subject: [PATCH] panfrost: Set .array_size on Bifrost Fixes dEQP-GLES2.functional.texture.mipmap.cube.generate.rgba8888_nicest Signed-off-by: Alyssa Rosenzweig Reviewed-by: Boris Brezillon Part-of: --- src/panfrost/lib/pan_texture.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panfrost/lib/pan_texture.c b/src/panfrost/lib/pan_texture.c index dfb2d1c609d..c28b36152b2 100644 --- a/src/panfrost/lib/pan_texture.c +++ b/src/panfrost/lib/pan_texture.c @@ -474,6 +474,7 @@ panfrost_new_texture_bifrost( cfg.swizzle = swizzle; cfg.texel_ordering = panfrost_modifier_to_layout(modifier); cfg.levels = last_level - first_level; + cfg.array_size = array_size; cfg.surfaces = payload->gpu; /* We specify API-level LOD clamps in the sampler descriptor