From 29bea39fde0b3be89a34bf0d979f33f601412eee Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 3 Dec 2010 11:59:25 +0800 Subject: [PATCH] st/vega: Set pipe_resource::array_size to 1. --- src/gallium/state_trackers/vega/mask.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/state_trackers/vega/mask.c b/src/gallium/state_trackers/vega/mask.c index d8dc85fc096..17912cb552d 100644 --- a/src/gallium/state_trackers/vega/mask.c +++ b/src/gallium/state_trackers/vega/mask.c @@ -354,6 +354,7 @@ struct vg_mask_layer * mask_layer_create(VGint width, VGint height) pt.width0 = width; pt.height0 = height; pt.depth0 = 1; + pt.array_size = 1; pt.bind = PIPE_BIND_SAMPLER_VIEW; texture = screen->resource_create(screen, &pt); -- 2.30.2