st/vega: Set pipe_resource::array_size to 1.
authorChia-I Wu <olv@lunarg.com>
Fri, 3 Dec 2010 03:59:25 +0000 (11:59 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 3 Dec 2010 06:22:32 +0000 (14:22 +0800)
src/gallium/state_trackers/vega/mask.c

index d8dc85fc09601cbd2d46a3ebd046d4a293aaddf4..17912cb552db31f13e016d2c10d19644c7617114 100644 (file)
@@ -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);