Mesa (master): st/vega: Set pipe_resource::array_size to 1.

Chia-I Wu olv at kemper.freedesktop.org
Fri Dec 3 06:23:26 UTC 2010


Module: Mesa
Branch: master
Commit: 29bea39fde0b3be89a34bf0d979f33f601412eee
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29bea39fde0b3be89a34bf0d979f33f601412eee

Author: Chia-I Wu <olv at lunarg.com>
Date:   Fri Dec  3 11:59:25 2010 +0800

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

---

 src/gallium/state_trackers/vega/mask.c |    1 +
 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 d8dc85f..17912cb 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);




More information about the mesa-commit mailing list