st/vega: Set pipe_resource::array_size to 1.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user