From: Chia-I Wu Date: Fri, 3 Dec 2010 03:59:25 +0000 (+0800) Subject: st/vega: Set pipe_resource::array_size to 1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=29bea39fde0b3be89a34bf0d979f33f601412eee;p=mesa.git st/vega: Set pipe_resource::array_size to 1. --- 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);