projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9028f24
)
st/vega: Set pipe_resource::array_size to 1.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 3 Dec 2010 03:59:25 +0000
(11:59 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Fri, 3 Dec 2010 06:22:32 +0000
(14:22 +0800)
src/gallium/state_trackers/vega/mask.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/vega/mask.c
b/src/gallium/state_trackers/vega/mask.c
index d8dc85fc09601cbd2d46a3ebd046d4a293aaddf4..17912cb552db31f13e016d2c10d19644c7617114 100644
(file)
--- 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);