Lines Matching refs:box
21 zink_fb_clears_apply_or_discard(ctx, info->dst.resource, zink_rect_from_box(&info->dst.box), discard_only);
34 if (info->src.box.width < 0 ||
35 info->dst.box.width < 0 ||
36 info->src.box.height < 0 ||
37 info->dst.box.height < 0 ||
38 info->src.box.depth < 0 ||
39 info->dst.box.depth < 0)
58 zink_fb_clears_apply_region(ctx, info->src.resource, zink_rect_from_box(&info->src.box));
75 region.srcOffset.x = info->src.box.x;
76 region.srcOffset.y = info->src.box.y;
80 region.srcSubresource.baseArrayLayer = info->src.box.z;
81 region.srcSubresource.layerCount = info->src.box.depth;
83 assert(info->src.box.depth == 1);
84 region.srcOffset.z = info->src.box.z;
91 region.dstOffset.x = info->dst.box.x;
92 region.dstOffset.y = info->dst.box.y;
96 region.dstSubresource.baseArrayLayer = info->dst.box.z;
97 region.dstSubresource.layerCount = info->dst.box.depth;
99 assert(info->dst.box.depth == 1);
100 region.dstOffset.z = info->dst.box.z;
105 region.extent.width = info->dst.box.width;
106 region.extent.height = info->dst.box.height;
107 region.extent.depth = info->dst.box.depth;
168 zink_fb_clears_apply_region(ctx, info->src.resource, zink_rect_from_box(&info->src.box));
184 region.srcOffsets[0].x = info->src.box.x;
185 region.srcOffsets[0].y = info->src.box.y;
186 region.srcOffsets[1].x = info->src.box.x + info->src.box.width;
187 region.srcOffsets[1].y = info->src.box.y + info->src.box.height;
198 region.srcSubresource.baseArrayLayer = info->src.box.z;
199 region.srcSubresource.layerCount = info->src.box.depth;
207 region.srcOffsets[0].z = info->src.box.z;
208 region.srcOffsets[1].z = info->src.box.z + info->src.box.depth;
220 region.dstOffsets[0].x = info->dst.box.x;
221 region.dstOffsets[0].y = info->dst.box.y;
222 region.dstOffsets[1].x = info->dst.box.x + info->dst.box.width;
223 region.dstOffsets[1].y = info->dst.box.y + info->dst.box.height;
236 region.dstSubresource.baseArrayLayer = info->dst.box.z;
237 region.dstSubresource.layerCount = info->dst.box.depth;
245 region.dstOffsets[0].z = info->dst.box.z;
246 region.dstOffsets[1].z = info->dst.box.z + info->dst.box.depth;
344 zink_fb_clears_apply_region(ctx, info->src.resource, zink_rect_from_box(&info->src.box));
360 util_blitter_default_dst_texture(&dst_templ, info->dst.resource, info->dst.level, info->dst.box.z);
364 0, 0, info->dst.box.x, info->dst.box.y,
365 info->dst.box.width, info->dst.box.height);
370 &info->dst.box,
373 &info->src.box,