From d136fa17acaa079d8499548ddaf12211a4ca62e7 Mon Sep 17 00:00:00 2001 From: Icecream95 Date: Mon, 27 Jul 2020 21:55:59 +1200 Subject: [PATCH] panfrost: Allow PIPE_TEXTURE_1D_ARRAY textures Fixes a crash with wined3d. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/gallium/drivers/panfrost/pan_resource.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/panfrost/pan_resource.c b/src/gallium/drivers/panfrost/pan_resource.c index f03cd9c4ea3..08ec83cd195 100644 --- a/src/gallium/drivers/panfrost/pan_resource.c +++ b/src/gallium/drivers/panfrost/pan_resource.c @@ -484,6 +484,7 @@ panfrost_resource_create(struct pipe_screen *screen, case PIPE_TEXTURE_3D: case PIPE_TEXTURE_CUBE: case PIPE_TEXTURE_RECT: + case PIPE_TEXTURE_1D_ARRAY: case PIPE_TEXTURE_2D_ARRAY: break; default: -- 2.30.2