Home
last modified time | relevance | path

Searched refs:depthPitch (Results 1 – 25 of 39) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
DvktDrawImageObjectUtil.cpp54 vk::VkDeviceSize depthPitch = depthPitchOrZero; in pack() local
59 if (depthPitch == 0) in pack()
60 depthPitch = rowPitch * height; in pack()
62 const vk::VkDeviceSize size = depthPitch * depth; in pack()
72 depthPitch == static_cast<vk::VkDeviceSize>(rowPitch * height)) in pack()
82 vk::VkDeviceSize offsetDepthDst = d * depthPitch; in pack()
106 vk::VkDeviceSize depthPitch = depthPitchOrZero; in unpack() local
111 if (depthPitch == 0) in unpack()
112 depthPitch = rowPitch * height; in unpack()
114 const vk::VkDeviceSize size = depthPitch * depth; in unpack()
[all …]
/third_party/skia/third_party/externals/angle2/src/image_util/
Dloadimage.inc18 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
20 return reinterpret_cast<T*>(data + (y * rowPitch) + (z * depthPitch));
24 …t T *OffsetDataPointer(const uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
26 return reinterpret_cast<const T*>(data + (y * rowPitch) + (z * depthPitch));
Dgeneratemip.inc21 …inline T *GetPixel(uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
23 return reinterpret_cast<T*>(data + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitch));
27 … T *GetPixel(const uint8_t *data, size_t x, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
29 return reinterpret_cast<const T*>(data + (x * sizeof(T)) + (y * rowPitch) + (z * depthPitch));
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
Dmtl_format_utils.mm27 inline T *OffsetDataPointer(uint8_t *data, size_t y, size_t z, size_t rowPitch, size_t depthPitch)
29 return reinterpret_cast<T *>(data + (y * rowPitch) + (z * depthPitch));
37 size_t depthPitch)
39 return reinterpret_cast<const T *>(data + (y * rowPitch) + (z * depthPitch));
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_image.c250 pLayout->depthPitch = value; in lvp_GetImageSubresourceLayout()
253 pLayout->depthPitch = 0; in lvp_GetImageSubresourceLayout()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp575 …th > 1u && m_params.imageType == VK_IMAGE_TYPE_3D && subresourceLayout.depthPitch < pixelSize * su… in iterateAspect()
581 << " reports depth pitch of " << subresourceLayout.depthPitch << " bytes" in iterateAspect()
600 …const auto imagePixelOffset = z * subresourceLayout.depthPitch + y * subresourceLayout.rowPitch +… in iterateAspect()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h182 unsigned depthPitch; member
Dzink_resource.c695 .depthPitch = 0, in resource_object_create()
724 plane_layouts[i].depthPitch = 0; in resource_object_create()
1357 *value = srl.depthPitch; in zink_resource_get_param()
1986 trans->base.b.layer_stride = srl.depthPitch; in zink_image_map()
1990 trans->depthPitch = srl.depthPitch; in zink_image_map()
1993 box->z * srl.depthPitch + in zink_image_map()
2047 box->z * trans->depthPitch + in zink_transfer_flush_region()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/external_memory/
DMemoryServiceDmaBuf.cpp236 planeLayout.depthPitch = 0; // Not a depth texture in CreateImage()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_image.c252 pLayout->depthPitch = slice_layout->surface_stride; in panvk_GetImageSubresourceLayout()
/third_party/vk-gl-cts/build/external/vulkancts/framework/vulkan/
DvkTypeUtil.inl148 …offset, VkDeviceSize size, VkDeviceSize rowPitch, VkDeviceSize arrayPitch, VkDeviceSize depthPitch) argument
155 res.depthPitch = depthPitch;
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_image.c766 pLayout->depthPitch = slice->size0; in tu_GetImageSubresourceLayout()
767 pLayout->size = pLayout->depthPitch * layout->depth0; in tu_GetImageSubresourceLayout()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_image.c798 layout->depthPitch = 0; in dzn_GetImageSubresourceLayout()
817 layout->depthPitch = layout->rowPitch * footprint.Footprint.Height; in dzn_GetImageSubresourceLayout()
818 layout->arrayPitch = layout->depthPitch; // uuuh... why is this even here? in dzn_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h169 GLuint depthPitch,
Dformatutils.cpp1771 GLuint depthPitch, in computeSkipBytes() argument
1777 CheckedNumeric<GLuint> checkedDepthPitch(depthPitch); in computeSkipBytes()
1804 GLuint depthPitch = 0; in computePackUnpackEndByte() local
1805 if (is3D && !computeDepthPitch(size.height, state.imageHeight, rowPitch, &depthPitch)) in computePackUnpackEndByte()
1831 checkedCopyBytes += depthMinusOne * depthPitch; in computePackUnpackEndByte()
1836 if (!computeSkipBytes(formatType, rowPitch, depthPitch, state, is3D, &skipBytes)) in computePackUnpackEndByte()
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_image.c251 layout->depthPitch = mip_level->pitch * mip_level->height_pitch; in pvr_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
Drenderer11_utils.cpp2195 CheckedSize depthPitch = rowPitch * CheckedSize(height); in GenerateInitialTextureData() local
2196 CheckedSize maxImageSize = depthPitch * CheckedSize(depth); in GenerateInitialTextureData()
2206 rowPitch.ValueOrDie(), depthPitch.ValueOrDie()); in GenerateInitialTextureData()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_image.c442 layout->depthPitch = image->cube_map_stride; in v3dv_GetImageSubresourceLayout()
/third_party/mesa3d/src/virtio/venus-protocol/
Dvn_protocol_driver_image.h188 size += vn_sizeof_VkDeviceSize(&val->depthPitch); in vn_sizeof_VkSubresourceLayout()
199 vn_encode_VkDeviceSize(enc, &val->depthPitch); in vn_encode_VkSubresourceLayout()
209 vn_decode_VkDeviceSize(dec, &val->depthPitch); in vn_decode_VkSubresourceLayout()
/third_party/mesa3d/src/amd/vulkan/
Dradv_image.c2424 pLayout->depthPitch = 0; in radv_GetImageSubresourceLayout()
2449 pLayout->depthPitch = surface->u.gfx9.surf_slice_size; in radv_GetImageSubresourceLayout()
2458 pLayout->depthPitch = (uint64_t)surface->u.legacy.level[level].slice_size_dw * 4; in radv_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkImage.cpp354 pLayout->depthPitch = slicePitchBytes(aspect, pSubresource->mipLevel); in getSubresourceLayout()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dresources.txt2061 * [[VUID-VkImageDrmFormatModifierExplicitCreateInfoEXT-depthPitch-02269]]
2062 For each element of pname:pPlaneLayouts, pname:depthPitch must: be 0 if
2545 * pname:depthPitch describes the number of bytes between each slice of 3D
2549 pname:arrayPitch and pname:depthPitch describe the layout of the image
2557 pname:depthPitch is the number of bytes between texels with the same x and y
2565 address(x,y,z,layer) = layer*arrayPitch + z*depthPitch + y*rowPitch + x*elementSize + offset
2572 pname:depthPitch is the number of bytes between compressed texel blocks in
2578 address(x,y,z,layer) = layer*arrayPitch + z*depthPitch + y*rowPitch + x*compressedTexelBlockByteSiz…
2583 pname:depthPitch is defined only for 3D images.
2642 pname:rowPitch, pname:arrayPitch, and pname:depthPitch have an
/third_party/mesa3d/src/intel/vulkan/
Danv_image.c2061 layout->depthPitch = isl_surf_get_array_pitch(&surface->isl); in anv_GetImageSubresourceLayout()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5732 GLuint depthPitch; in stageSubresourceUpdateImpl() local
5739 gl::Extents(glExtents.width, glExtents.height, 1), &depthPitch)); in stageSubresourceUpdateImpl()
5745 outputDepthPitch = depthPitch; in stageSubresourceUpdateImpl()
/third_party/glfw/deps/vulkan/
Dvulkan.h1628 VkDeviceSize depthPitch; member

12