From: Icecream95 Date: Mon, 27 Jul 2020 09:55:59 +0000 (+1200) Subject: panfrost: Allow PIPE_TEXTURE_1D_ARRAY textures X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d136fa17acaa079d8499548ddaf12211a4ca62e7;p=mesa.git panfrost: Allow PIPE_TEXTURE_1D_ARRAY textures Fixes a crash with wined3d. Reviewed-by: Alyssa Rosenzweig Part-of: --- 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: