Lines Matching refs:aspect
173 vk::VkImageAspectFlagBits aspect, in readSurface() argument
179 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readSurface()
181 …read(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, vk::VK_IM… in readSurface()
184 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface()
186 …ue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect, m_pixelAccessData… in readSurface()
197 vk::VkImageAspectFlagBits aspect, in readDepth() argument
201 DE_ASSERT(aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT); in readDepth()
206 …readUsingBuffer(queue, allocator, layout, offset, width, height, 1, mipLevel, arrayElement, aspect… in readDepth()
217 vk::VkImageAspectFlagBits aspect, in readVolume() argument
223 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readVolume()
225 …read(queue, allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, vk::V… in readVolume()
228 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readVolume()
230 …allocator, layout, offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData… in readVolume()
240 vk::VkImageAspectFlagBits aspect, in readSurface1D() argument
246 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in readSurface1D()
248 …read(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, vk::VK_IMAGE_T… in readSurface1D()
251 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in readSurface1D()
253 readUsingBuffer(queue, allocator, layout, offset, width, 1, 1, mipLevel, arrayElement, aspect, in readSurface1D()
268 vk::VkImageAspectFlagBits aspect, in read() argument
275 height, depth, mipLevel, arrayElement, aspect, type); in read()
277 stagingResource->readLinear(zeroOffset, width, height, depth, 0, 0, aspect, data); in read()
289 vk::VkImageAspectFlagBits aspect, in readUsingBuffer() argument
309 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 2 : 1; in readUsingBuffer()
312 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 4 : 1; in readUsingBuffer()
317 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 4 : 1; in readUsingBuffer()
352 barrier.subresourceRange.aspectMask = aspect; in readUsingBuffer()
367 { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement, 1 }, in readUsingBuffer()
418 vk::VkImageAspectFlagBits aspect, in readSurfaceLinear() argument
423 readLinear(offset, width, height, depth, mipLevel, arrayElement, aspect, m_pixelAccessData.data()); in readSurfaceLinear()
433 vk::VkImageAspectFlagBits aspect, in readLinear() argument
439 …vk::VkImageSubresource imageSubResource = { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement… in readLinear()
465 vk::VkImageAspectFlagBits aspect, in copyToLinearImage() argument
483 …transition2DImage(m_vk, *copyCmdBuffer, stagingResource->object(), aspect, vk::VK_IMAGE_LAYOUT_UND… in copyToLinearImage()
487 … region = { { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement, 1}, offset, { (vk::VkImageAs… in copyToLinearImage()
505 static_cast<vk::VkImageAspectFlags>(aspect), in copyToLinearImage()
531 vk::VkImageAspectFlagBits aspect, in uploadVolume() argument
535 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in uploadVolume()
538 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in uploadVolume()
541 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadVolume()
544 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadVolume()
553 vk::VkImageAspectFlagBits aspect, in uploadSurface() argument
557 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in uploadSurface()
560 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_2D, in uploadSurface()
563 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface()
566 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadSurface()
575 vk::VkImageAspectFlagBits aspect, in uploadSurface1D() argument
579 if (aspect == vk::VK_IMAGE_ASPECT_COLOR_BIT) in uploadSurface1D()
582 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_1D, in uploadSurface1D()
585 if (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT || aspect == vk::VK_IMAGE_ASPECT_STENCIL_BIT) in uploadSurface1D()
588 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadSurface1D()
597 vk::VkImageAspectFlagBits aspect, in uploadSurfaceLinear() argument
601 uploadLinear(offset, width, height, depth, mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadSurfaceLinear()
613 vk::VkImageAspectFlagBits aspect, in upload() argument
629 stagingResource->uploadLinear(zeroOffset, width, height, depth, 0, 0, aspect, data); in upload()
653 barrier.subresourceRange.aspectMask = aspect; in upload()
665 …transition2DImage(m_vk, *copyCmdBuffer, stagingResource->object(), aspect, vk::VK_IMAGE_LAYOUT_UND… in upload()
668 vk::VkImageCopy region = {{ (vk::VkImageAspectFlags)aspect, 0, 0, 1}, in upload()
670 { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement, 1}, in upload()
691 vk::VkImageAspectFlagBits aspect, in uploadUsingBuffer() argument
707 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 2 : 1; in uploadUsingBuffer()
710 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 4 : 1; in uploadUsingBuffer()
714 pixelSize = (aspect == vk::VK_IMAGE_ASPECT_DEPTH_BIT) ? 3 : 1; in uploadUsingBuffer()
749 barrier.subresourceRange.aspectMask = aspect; in uploadUsingBuffer()
763 { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement, 1 }, in uploadUsingBuffer()
782 vk::VkImageAspectFlagBits aspect, in uploadLinear() argument
790 …vk::VkImageSubresource imageSubResource = { (vk::VkImageAspectFlags)aspect, mipLevel, arrayElement… in uploadLinear()