st/vega: Set pipe_resource::array_size to 1.

This commit is contained in:
Chia-I Wu 2010-12-03 11:59:25 +08:00
parent 9028f24b8a
commit 29bea39fde

View 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);