mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 16:20:24 +01:00
st/vega: Set pipe_resource::array_size to 1.
This commit is contained in:
parent
9028f24b8a
commit
29bea39fde
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue