Lines Matching full:region
44 VkImageResolve region = {}; in blit_resolve() local
46 region.srcSubresource.aspectMask = src->aspect; in blit_resolve()
47 region.srcSubresource.mipLevel = info->src.level; in blit_resolve()
48 region.srcOffset.x = info->src.box.x; in blit_resolve()
49 region.srcOffset.y = info->src.box.y; in blit_resolve()
52 region.srcOffset.z = 0; in blit_resolve()
53 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_resolve()
54 region.srcSubresource.layerCount = info->src.box.depth; in blit_resolve()
57 region.srcOffset.z = info->src.box.z; in blit_resolve()
58 region.srcSubresource.baseArrayLayer = 0; in blit_resolve()
59 region.srcSubresource.layerCount = 1; in blit_resolve()
62 region.dstSubresource.aspectMask = dst->aspect; in blit_resolve()
63 region.dstSubresource.mipLevel = info->dst.level; in blit_resolve()
64 region.dstOffset.x = info->dst.box.x; in blit_resolve()
65 region.dstOffset.y = info->dst.box.y; in blit_resolve()
68 region.dstOffset.z = 0; in blit_resolve()
69 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_resolve()
70 region.dstSubresource.layerCount = info->dst.box.depth; in blit_resolve()
73 region.dstOffset.z = info->dst.box.z; in blit_resolve()
74 region.dstSubresource.baseArrayLayer = 0; in blit_resolve()
75 region.dstSubresource.layerCount = 1; in blit_resolve()
78 region.extent.width = info->dst.box.width; in blit_resolve()
79 region.extent.height = info->dst.box.height; in blit_resolve()
80 region.extent.depth = info->dst.box.depth; in blit_resolve()
83 1, ®ion); in blit_resolve()
123 VkImageBlit region = {}; in blit_native() local
124 region.srcSubresource.aspectMask = src->aspect; in blit_native()
125 region.srcSubresource.mipLevel = info->src.level; in blit_native()
126 region.srcOffsets[0].x = info->src.box.x; in blit_native()
127 region.srcOffsets[0].y = info->src.box.y; in blit_native()
128 region.srcOffsets[1].x = info->src.box.x + info->src.box.width; in blit_native()
129 region.srcOffsets[1].y = info->src.box.y + info->src.box.height; in blit_native()
132 region.srcOffsets[0].z = 0; in blit_native()
133 region.srcOffsets[1].z = 1; in blit_native()
134 region.srcSubresource.baseArrayLayer = info->src.box.z; in blit_native()
135 region.srcSubresource.layerCount = info->src.box.depth; in blit_native()
137 region.srcOffsets[0].z = info->src.box.z; in blit_native()
138 region.srcOffsets[1].z = info->src.box.z + info->src.box.depth; in blit_native()
139 region.srcSubresource.baseArrayLayer = 0; in blit_native()
140 region.srcSubresource.layerCount = 1; in blit_native()
143 region.dstSubresource.aspectMask = dst->aspect; in blit_native()
144 region.dstSubresource.mipLevel = info->dst.level; in blit_native()
145 region.dstOffsets[0].x = info->dst.box.x; in blit_native()
146 region.dstOffsets[0].y = info->dst.box.y; in blit_native()
147 region.dstOffsets[1].x = info->dst.box.x + info->dst.box.width; in blit_native()
148 region.dstOffsets[1].y = info->dst.box.y + info->dst.box.height; in blit_native()
151 region.dstOffsets[0].z = 0; in blit_native()
152 region.dstOffsets[1].z = 1; in blit_native()
153 region.dstSubresource.baseArrayLayer = info->dst.box.z; in blit_native()
154 region.dstSubresource.layerCount = info->dst.box.depth; in blit_native()
156 region.dstOffsets[0].z = info->dst.box.z; in blit_native()
157 region.dstOffsets[1].z = info->dst.box.z + info->dst.box.depth; in blit_native()
158 region.dstSubresource.baseArrayLayer = 0; in blit_native()
159 region.dstSubresource.layerCount = 1; in blit_native()
164 1, ®ion, in blit_native()