Home
last modified time | relevance | path

Searched refs:subresourceLayout (Results 1 – 1 of 1) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp495 VkSubresourceLayout subresourceLayout; in iterateAspect() local
506 vkd.getImageSubresourceLayout(device, image.get(), &imageSubresource, &subresourceLayout); in iterateAspect()
514 if (numLayers > 1u && levelSubresourceLayout.arrayPitch != subresourceLayout.arrayPitch) in iterateAspect()
520 << " reports array pitch of " << subresourceLayout.arrayPitch << " bytes in size" in iterateAspect()
525 …if ((subresourceLayout.offset - levelSubresourceLayout.offset) != (layerNdx * subresourceLayout.ar… in iterateAspect()
532 << ", layer offset " << subresourceLayout.offset in iterateAspect()
533 << ", array pitch " << subresourceLayout.arrayPitch; in iterateAspect()
537 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect()
543 << " reports " << subresourceLayout.size << " bytes in size" in iterateAspect()
550 if (subresourceHeight > 1u && subresourceLayout.rowPitch < pixelSize * subresourceWidth) in iterateAspect()
[all …]