Module: Mesa
Branch: master
Commit: 6dc6b8ad9f297f16294b277d97f0ee2cf89533cd
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6dc6b8ad9f297f16294b277d97f0ee2cf89533cd

Author: Alyssa Rosenzweig <[email protected]>
Date:   Tue Nov  3 08:23:55 2020 -0500

panfrost: Set .array_size on Bifrost

Fixes dEQP-GLES2.functional.texture.mipmap.cube.generate.rgba8888_nicest

Signed-off-by: Alyssa Rosenzweig <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7408>

---

 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to