Lines Matching refs:imageCopy

170 VkImageCopy2KHR convertvkImageCopyTovkImageCopy2KHR(VkImageCopy imageCopy)
176 imageCopy.srcSubresource, // VkImageSubresourceLayers srcSubresource;
177 imageCopy.srcOffset, // VkOffset3D srcOffset;
178 imageCopy.dstSubresource, // VkImageSubresourceLayers dstSubresource;
179 imageCopy.dstOffset, // VkOffset3D dstOffset;
180 imageCopy.extent // VkExtent3D extent;
305 VkImageCopy imageCopy;
1361 VkImageCopy imageCopy = m_params.regions[i].imageCopy;
1370 imageCopy.srcOffset.x *= blockWidth;
1371 imageCopy.extent.width *= blockWidth;
1376 imageCopy.srcOffset.y *= blockHeight;
1377 imageCopy.extent.height *= blockHeight;
1386 imageCopy.dstOffset.x *= blockWidth;
1391 imageCopy.dstOffset.y *= blockHeight;
1397 imageCopies.push_back(imageCopy);
1402 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(imageCopy));
1554 VkOffset3D srcOffset = region.imageCopy.srcOffset;
1555 VkOffset3D dstOffset = region.imageCopy.dstOffset;
1556 VkExtent3D extent = region.imageCopy.extent;
1558 if (region.imageCopy.dstSubresource.baseArrayLayer > region.imageCopy.srcSubresource.baseArrayLayer)
1561 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.srcSubresource.layerCount);
1564 if (region.imageCopy.dstSubresource.baseArrayLayer < region.imageCopy.srcSubresource.baseArrayLayer)
1567 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.srcSubresource.layerCount);
1816 VkImageCopy imageCopy = m_params.regions[i].imageCopy;
1825 imageCopy.srcOffset.x *= blockWidth;
1826 imageCopy.srcOffset.y *= blockHeight;
1827 imageCopy.extent.width *= blockWidth;
1828 imageCopy.extent.height *= blockHeight;
1836 imageCopy.dstOffset.x *= blockWidth;
1837 imageCopy.dstOffset.y *= blockHeight;
1842 imageCopies.push_back(imageCopy);
1847 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(imageCopy));
2024 VkOffset3D srcOffset = region.imageCopy.srcOffset;
2025 VkOffset3D dstOffset = region.imageCopy.dstOffset;
2026 VkExtent3D extent = region.imageCopy.extent;
2031 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.dstSubresource.layerCount);
2036 extent.depth = std::max(region.imageCopy.extent.depth, region.imageCopy.srcSubresource.layerCount);
7021 const VkImageCopy imageCopy =
7032 imageCopies.push_back(imageCopy);
7037 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(imageCopy));
7048 const VkImageCopy imageCopy =
7059 imageCopies.push_back(imageCopy);
7064 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(imageCopy));
7088 const VkImageCopy imageCopy =
7099 imageCopies.push_back(imageCopy);
7104 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(imageCopy));
7631 aspectFlags |= region.imageCopy.srcSubresource.aspectMask;
7708 depthCopyRegion.imageCopy = depthCopy;
7709 stencilCopyRegion.imageCopy = stencilCopy;
7718 depthCopyRegion.imageCopy.extent = {defaultHalfSize, defaultHalfSize, 1};
7720 depthCopyRegion.imageCopy.srcOffset = {defaultHalfSize, defaultHalfSize, 0};
7721 depthCopyRegion.imageCopy.dstOffset = {0, defaultHalfSize, 0};
7724 depthCopyRegion.imageCopy.srcOffset = {defaultHalfSize, 0, 0};
7725 depthCopyRegion.imageCopy.dstOffset = {defaultHalfSize, defaultHalfSize, 0};
7730 stencilCopyRegion.imageCopy.extent = {defaultHalfSize, defaultHalfSize, 1};
7732 stencilCopyRegion.imageCopy.srcOffset = {defaultHalfSize, defaultHalfSize, 0};
7733 stencilCopyRegion.imageCopy.dstOffset = {0, defaultHalfSize, 0};
7736 stencilCopyRegion.imageCopy.srcOffset = {defaultHalfSize, 0, 0};
7737 stencilCopyRegion.imageCopy.dstOffset = {defaultHalfSize, defaultHalfSize, 0};
8159 imageCopies.push_back(region.imageCopy);
8164 imageCopies2KHR.push_back(convertvkImageCopyTovkImageCopy2KHR(region.imageCopy));
8492 for (uint32_t x = 0u; x < region.imageCopy.extent.width; ++x)
8493 for (uint32_t y = 0u; y < region.imageCopy.extent.height; ++y)
8496 tcu::UVec2 srcCoord(x + region.imageCopy.srcOffset.x, y + region.imageCopy.srcOffset.y);
8497 tcu::UVec2 dstCoord(x + region.imageCopy.dstOffset.x, y + region.imageCopy.dstOffset.y);
8886 CopyRegion imageCopy;
8887 imageCopy.imageCopy = testCopy;
8888 params.regions.push_back(imageCopy);
8920 CopyRegion imageCopy;
8921 imageCopy.imageCopy = testCopy;
8922 params.regions.push_back(imageCopy);
8954 CopyRegion imageCopy;
8955 imageCopy.imageCopy = testCopy;
8956 params.regions.push_back(imageCopy);
9032 CopyRegion imageCopy;
9033 imageCopy.imageCopy = testCopy;
9034 params.regions.push_back(imageCopy);
9078 CopyRegion imageCopy;
9079 imageCopy.imageCopy = testCopy;
9080 params.regions.push_back(imageCopy);
9119 CopyRegion imageCopy;
9120 imageCopy.imageCopy = testCopy;
9121 params.regions.push_back(imageCopy);
9773 CopyRegion imageCopy;
9774 imageCopy.imageCopy = testCopy;
9776 params.regions.push_back(imageCopy);
9830 CopyRegion imageCopy;
9831 imageCopy.imageCopy = testCopy;
9833 params.regions.push_back(imageCopy);
9889 CopyRegion imageCopy;
9890 imageCopy.imageCopy = testCopy;
9892 params.regions.push_back(imageCopy);
9947 CopyRegion imageCopy;
9948 imageCopy.imageCopy = testCopy;
9950 params.regions.push_back(imageCopy);
10003 CopyRegion imageCopy;
10004 imageCopy.imageCopy = testCopy;
10006 params.regions.push_back(imageCopy);
10060 CopyRegion imageCopy;
10061 imageCopy.imageCopy = testCopy;
10063 params.regions.push_back(imageCopy);
10119 CopyRegion imageCopy;
10120 imageCopy.imageCopy = testCopy;
10122 params.regions.push_back(imageCopy);
10179 CopyRegion imageCopy;
10180 imageCopy.imageCopy = testCopy;
10182 params.regions.push_back(imageCopy);
10236 CopyRegion imageCopy;
10237 imageCopy.imageCopy = testCopy;
10239 params.regions.push_back(imageCopy);
10393 copyRegion.imageCopy = testCopy;
10551 copyRegion.imageCopy = testCopy;
10565 copyRegion.imageCopy = testCopy;
10628 copyRegion.imageCopy = testCopy;
10642 copyRegion.imageCopy = testCopy;
10707 copyRegion.imageCopy = testCopy;
10721 copyRegion.imageCopy = testCopy;
10786 copyRegion.imageCopy = testCopy;
10800 copyRegion.imageCopy = testCopy;
10836 copyRegion.imageCopy = testCopy;
10893 copyRegion.imageCopy = testCopy;
10907 copyRegion.imageCopy = testCopy;
10943 copyRegion.imageCopy = testCopy;
11001 copyRegion.imageCopy = testCopy;
11015 copyRegion.imageCopy = testCopy;
11051 copyRegion.imageCopy = testCopy;
11110 copyRegion.imageCopy = testCopy;
11124 copyRegion.imageCopy = testCopy;
11190 copyRegion.imageCopy = testCopy;
11204 copyRegion.imageCopy = testCopy;
11267 copyRegion.imageCopy = testCopy;
11281 copyRegion.imageCopy = testCopy;
11358 CopyRegion imageCopy;
11359 imageCopy.imageCopy = testCopy;
11361 params3DTo2D.regions.push_back(imageCopy);
11412 CopyRegion imageCopy;
11413 imageCopy.imageCopy = testCopy;
11415 params2DTo3D.regions.push_back(imageCopy);
11466 CopyRegion imageCopy;
11467 imageCopy.imageCopy = testCopy;
11469 params3DTo2D.regions.push_back(imageCopy);
11519 CopyRegion imageCopy;
11520 imageCopy.imageCopy = testCopy;
11522 params2DTo3D.regions.push_back(imageCopy);
11582 CopyRegion imageCopy;
11583 imageCopy.imageCopy = testCopy;
11584 params3DTo2D.regions.push_back(imageCopy);
11642 CopyRegion imageCopy;
11643 imageCopy.imageCopy = testCopy;
11645 params2DTo3D.regions.push_back(imageCopy);
11705 CopyRegion imageCopy;
11706 imageCopy.imageCopy = testCopy;
11708 paramsCubeToArray.regions.push_back(imageCopy);
11762 CopyRegion imageCopy;
11763 imageCopy.imageCopy = testCopy;
11765 paramsCubeToArray.regions.push_back(imageCopy);
11820 CopyRegion imageCopy;
11821 imageCopy.imageCopy = testCopy;
11823 paramsArrayToCube.regions.push_back(imageCopy);
11877 CopyRegion imageCopy;
11878 imageCopy.imageCopy = testCopy;
11880 paramsArrayToCube.regions.push_back(imageCopy);
11935 CopyRegion imageCopy;
11936 imageCopy.imageCopy = testCopy;
11938 paramsCubeToArray.regions.push_back(imageCopy);
11992 CopyRegion imageCopy;
11993 imageCopy.imageCopy = testCopy;
11995 paramsCubeToCube.regions.push_back(imageCopy);
12053 CopyRegion imageCopy;
12054 imageCopy.imageCopy = testCopy;
12056 paramsArrayToArray.regions.push_back(imageCopy);
12108 CopyRegion imageCopy;
12109 imageCopy.imageCopy = testCopy;
12111 paramsArrayToArray.regions.push_back(imageCopy);
12165 CopyRegion imageCopy;
12166 imageCopy.imageCopy = testCopy;
12168 paramsArrayToArray.regions.push_back(imageCopy);
12221 CopyRegion imageCopy;
12222 imageCopy.imageCopy = testCopy;
12224 paramsArrayToArray.regions.push_back(imageCopy);
12283 CopyRegion imageCopy;
12284 imageCopy.imageCopy = testCopy;
12286 paramsArrayToArray.regions.push_back(imageCopy);
12297 paramsArrayToArray.regions[regionNdx].imageCopy.srcSubresource.aspectMask = getImageAspectFlags(mapVkFormat(imageFormats[imageFormatsNdx]));
12298 paramsArrayToArray.regions[regionNdx].imageCopy.dstSubresource.aspectMask = getImageAspectFlags(mapVkFormat(imageFormats[imageFormatsNdx]));