summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-12-03 11:59:25 +0800
committerChia-I Wu <[email protected]>2010-12-03 14:22:32 +0800
commit29bea39fde0b3be89a34bf0d979f33f601412eee (patch)
treeb62783a14010b797b7a57ee58bf47fb2e12dfd0c /src/gallium/state_trackers
parent9028f24b8af52fcd268cccd1b4a3856424b9a424 (diff)
st/vega: Set pipe_resource::array_size to 1.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/vega/mask.c1
1 files changed, 1 insertions, 0 deletions
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);