Home
last modified time | relevance | path

Searched refs:imageOffset (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/reflow-tests/
Dexpect-new-vuid-attribute-noreflow-novuid.adoc11 of pname:pRegions, pname:imageOffset.y must: be `0` and pname:imageExtent.height must: be `1`
12 * For each element of pname:pRegions, pname:imageOffset.z and
13 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
15 …ename:VK_IMAGE_TYPE_2D, then for each element of pname:pRegions, pname:imageOffset.z must: be `0` …
20 * For each element of pname:pRegions, pname:imageOffset.x must: be a
22 * For each element of pname:pRegions, pname:imageOffset.y must: be a
24 * For each element of pname:pRegions, pname:imageOffset.z must: be a
26 * For each element of pname:pRegions, if the sum of pname:imageOffset.x
28 * For each element of pname:pRegions, if the sum of pname:imageOffset.y
31 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
Dsrc-new-vuid-attribute.adoc11 of pname:pRegions, pname:imageOffset.y must: be `0` and pname:imageExtent.height must: be `1`
12 * For each element of pname:pRegions, pname:imageOffset.z and
13 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
15 …ename:VK_IMAGE_TYPE_2D, then for each element of pname:pRegions, pname:imageOffset.z must: be `0` …
20 * For each element of pname:pRegions, pname:imageOffset.x must: be a
22 * For each element of pname:pRegions, pname:imageOffset.y must: be a
24 * For each element of pname:pRegions, pname:imageOffset.z must: be a
26 * For each element of pname:pRegions, if the sum of pname:imageOffset.x
28 * For each element of pname:pRegions, if the sum of pname:imageOffset.y
31 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
Dexpect-new-vuid-attribute-novuid.adoc11 element of pname:pRegions, pname:imageOffset.y must: be `0` and
13 * For each element of pname:pRegions, pname:imageOffset.z and
14 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
19 pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be
27 * For each element of pname:pRegions, pname:imageOffset.x must: be a
30 * For each element of pname:pRegions, pname:imageOffset.y must: be a
33 * For each element of pname:pRegions, pname:imageOffset.z must: be a
36 * For each element of pname:pRegions, if the sum of pname:imageOffset.x
41 * For each element of pname:pRegions, if the sum of pname:imageOffset.y
46 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
Dexpect-new-vuid-attribute-default.adoc12 element of pname:pRegions, pname:imageOffset.y must: be `0` and
15 For each element of pname:pRegions, pname:imageOffset.z and
16 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
22 pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be
33 For each element of pname:pRegions, pname:imageOffset.x must: be a
37 For each element of pname:pRegions, pname:imageOffset.y must: be a
41 For each element of pname:pRegions, pname:imageOffset.z must: be a
45 For each element of pname:pRegions, if the sum of pname:imageOffset.x
51 For each element of pname:pRegions, if the sum of pname:imageOffset.y
57 For each element of pname:pRegions, if the sum of pname:imageOffset.z
Dexpect-new-vuid-attribute-noreflow.adoc12 of pname:pRegions, pname:imageOffset.y must: be `0` and pname:imageExtent.height must: be `1`
14 For each element of pname:pRegions, pname:imageOffset.z and
15 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
18 …ename:VK_IMAGE_TYPE_2D, then for each element of pname:pRegions, pname:imageOffset.z must: be `0` …
26 For each element of pname:pRegions, pname:imageOffset.x must: be a
29 For each element of pname:pRegions, pname:imageOffset.y must: be a
32 For each element of pname:pRegions, pname:imageOffset.z must: be a
35 For each element of pname:pRegions, if the sum of pname:imageOffset.x
38 For each element of pname:pRegions, if the sum of pname:imageOffset.y
42 For each element of pname:pRegions, if the sum of pname:imageOffset.z
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/commonvalidity/
Dcopy_bufferimage_to_imagebuffer_common.txt33 of pname:pRegions, pname:imageOffset.y must: be `0` and
35 * [[VUID-{refpage}-imageOffset-00200]]
36 For each element of pname:pRegions, pname:imageOffset.z and
37 [eq]#(pname:imageExtent.depth {plus} pname:imageOffset.z)# must: both be
43 pname:imageOffset.z must: be `0` and pname:imageExtent.depth must: be
53 * [[VUID-{refpage}-imageOffset-00205]]
55 of pname:pRegions, all members of pname:imageOffset must: be a multiple
65 pname:imageOffset.x)# must: equal the width of the specified
71 pname:imageOffset.y)# must: equal the height of the specified
77 pname:imageOffset.z)# must: equal the depth of the specified
Dcopy_image_to_buffer_command_buffer_common.adoc27 * [[VUID-{refpage}-imageOffset-07747]]
28 The pname:imageOffset and pname:imageExtent members of each element of
Dcopy_buffer_to_image_command_buffer_common.adoc27 * [[VUID-{refpage}-imageOffset-07738]]
28 The pname:imageOffset and pname:imageExtent members of each element of
Dcopy_image_to_buffer_common.txt60 * [[VUID-{refpage}-imageOffset-01794]]
61 The pname:imageOffset and pname:imageExtent members of each element of
/third_party/mesa3d/src/vulkan/runtime/
Dvk_image.h149 const VkOffset3D imageOffset) in vk_image_sanitize_offset() argument
153 return (VkOffset3D) { imageOffset.x, 0, 0 }; in vk_image_sanitize_offset()
155 return (VkOffset3D) { imageOffset.x, imageOffset.y, 0 }; in vk_image_sanitize_offset()
157 return imageOffset; in vk_image_sanitize_offset()
Dvk_cmd_copy.c128 .imageOffset = pRegions[r].imageOffset, in vk_common_CmdCopyBufferToImage()
169 .imageOffset = pRegions[r].imageOffset, in vk_common_CmdCopyImageToBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DUtilsVulkan.cpp135 region.imageOffset.x = textureCopy.origin.x; in ComputeBufferImageCopyRegion()
136 region.imageOffset.y = textureCopy.origin.y; in ComputeBufferImageCopyRegion()
137 region.imageOffset.z = 0; in ComputeBufferImageCopyRegion()
150 region.imageOffset.x = textureCopy.origin.x; in ComputeBufferImageCopyRegion()
151 region.imageOffset.y = textureCopy.origin.y; in ComputeBufferImageCopyRegion()
152 region.imageOffset.z = textureCopy.origin.z; in ComputeBufferImageCopyRegion()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
Dcopies.adoc463 {empty}:: [eq]#x# is in the range [eq]#[pname:imageOffset.x / blockWidth,
464 {lceil}(pname:imageOffset.x {plus} pname:imageExtent.width) /
466 {empty}:: [eq]#y# is in the range [eq]#[pname:imageOffset.y / blockHeight,
467 {lceil}(pname:imageOffset.y {plus} pname:imageExtent.height) /
469 {empty}:: [eq]#z# is in the range [eq]#[pname:imageOffset.z / blockDepth,
470 {lceil}(pname:imageOffset.z {plus} pname:imageExtent.depth) /
525 {empty}:: [eq]#x'# is in the range [eq]#[{lceil}(pname:imageOffset.x
527 pname:imageOffset.x {minus} image/ blockHeight)#
528 {empty}:: [eq]#y'# is in the range [eq]#[pname:imageOffset.y /
529 blockWidth, {lceil}(pname:imageOffset.y {plus}
[all …]
Dcopies.txt656 For each element of pname:pRegions, pname:imageOffset.x and
657 [eq]#(pname:imageExtent.width {plus} pname:imageOffset.x)# must: both be
661 For each element of pname:pRegions, pname:imageOffset.y and
662 [eq]#(pname:imageExtent.height {plus} pname:imageOffset.y)# must: both
718 For each element of pname:pRegions, pname:imageOffset.x and
719 [eq]#(pname:imageExtent.width {plus} pname:imageOffset.x)# must: both be
723 For each element of pname:pRegions, pname:imageOffset.y and
724 [eq]#(imageExtent.height {plus} pname:imageOffset.y)# must: both be
752 * pname:imageOffset selects the initial pname:x, pname:y, pname:z offsets
905 pname:imageOffset.x and [eq]#(pname:imageExtent.width {plus}
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_copy.c121 const VkOffset3D img_offset_el = vk_image_offset_to_elements(&image->vk, region->imageOffset); in copy_buffer_to_image()
222 pCopyBufferToImageInfo->pRegions[r].imageOffset, in radv_CmdCopyBufferToImage2()
235 assert(!region->imageOffset.x && !region->imageOffset.y && !region->imageOffset.z); in copy_image_to_buffer()
265 const VkOffset3D img_offset_el = vk_image_offset_to_elements(&image->vk, region->imageOffset); in copy_image_to_buffer()
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_QCOM_rotated_copies/
Drotated_addressing_copies.txt73 // VK_SURFACE_TRANSFORM, centered on the imageOffset, to define a rotated destination region.
80 // VK_SURFACE_TRANSFORM, centered on the imageOffset, to define a rotated source region. For each…
86 Note that pname:imageOffset does not affect addressing calculations for
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp183 bool imageOffset; // Add an offset when a region of memory is bound to an image. member
447 if (m_params.imageOffset) in iterateAspect()
453 …VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), m_params.imageOffset ? req.a… in iterateAspect()
476 region.imageOffset = { 0, 0, 0 }; in iterateAspect()
605 …const auto layerImagePtr = imagePtr + layerImageOffset + (m_params.imageOffset ? req.alignment : … in iterateAspect()
845 params.imageOffset = false; in createImageSubresourceLayoutTests()
849 params.imageOffset = true; in createImageSubresourceLayoutTests()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageSubresourceLayoutTests.cpp183 bool imageOffset; // Add an offset when a region of memory is bound to an image. member
447 if (m_params.imageOffset) in iterateAspect()
453 …VK_CHECK(vkd.bindImageMemory(device, *image, imageAlloc->getMemory(), m_params.imageOffset ? req.a… in iterateAspect()
476 region.imageOffset = { 0, 0, 0 }; in iterateAspect()
605 …const auto layerImagePtr = imagePtr + layerImageOffset + (m_params.imageOffset ? req.alignment : … in iterateAspect()
845 params.imageOffset = false; in createImageSubresourceLayoutTests()
849 params.imageOffset = true; in createImageSubresourceLayoutTests()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_meta_copy.c384 if (!v3dv_meta_can_use_tlb(image, &region->imageOffset, &fb_format)) in copy_image_to_buffer_tlb()
697 DIV_ROUND_UP(region->imageOffset.x, block_width), in copy_image_to_buffer_blit()
698 DIV_ROUND_UP(region->imageOffset.y, block_height), in copy_image_to_buffer_blit()
699 region->imageOffset.z + i, in copy_image_to_buffer_blit()
702 DIV_ROUND_UP(region->imageOffset.x + region->imageExtent.width, in copy_image_to_buffer_blit()
704 DIV_ROUND_UP(region->imageOffset.y + region->imageExtent.height, in copy_image_to_buffer_blit()
706 region->imageOffset.z + i + 1, in copy_image_to_buffer_blit()
1329 const uint32_t offset_x = region->imageOffset.x; in copy_buffer_to_image_tfu()
1330 const uint32_t offset_y = region->imageOffset.y; in copy_buffer_to_image_tfu()
1386 layer = region->imageOffset.z + i; in copy_buffer_to_image_tfu()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/build_tests/chapters/
Dlorem.adoc89 :imageoffset: imageOffset
116 pname:imageOffset.x and [eq]#(pname:imageExtent.width {plus}
117 pname:imageOffset.x)# must: gravida dictum fusce ut placerat orci nulla
145 * pname:imageOffset Lobortis mattis aliquam faucibus purus in massa tempor nec.
/third_party/vk-gl-cts/external/vulkan-docs/src/build_tests/chapters/commonvalidity/
Dlorem.adoc27 * [[VUID-{refpage}-imageOffset-97738]]
28 The pname:imageOffset and pname:imageExtent members of each element of
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_meta_copy.c1028 unsigned minx = MAX2(region->imageOffset.x, 0); in panvk_meta_copy_buf2img()
1029 unsigned miny = MAX2(region->imageOffset.y, 0); in panvk_meta_copy_buf2img()
1030 unsigned maxx = MAX2(region->imageOffset.x + region->imageExtent.width - 1, 0); in panvk_meta_copy_buf2img()
1031 unsigned maxy = MAX2(region->imageOffset.y + region->imageExtent.height - 1, 0); in panvk_meta_copy_buf2img()
1099 assert(region->imageOffset.z >= 0); in panvk_meta_copy_buf2img()
1100 unsigned first_layer = MAX2(region->imageSubresource.baseArrayLayer, region->imageOffset.z); in panvk_meta_copy_buf2img()
1485 .img.offset.x = MAX2(region->imageOffset.x & ~15, 0), in panvk_meta_copy_img2buf()
1486 .img.extent.minx = MAX2(region->imageOffset.x, 0), in panvk_meta_copy_img2buf()
1487 .img.extent.maxx = MAX2(region->imageOffset.x + region->imageExtent.width - 1, 0), in panvk_meta_copy_img2buf()
1493 info.img.offset.y = MAX2(region->imageOffset.y & ~15, 0); in panvk_meta_copy_img2buf()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkStructConversion.hpp147 pRegions[i].imageOffset,
182 pRegions[i].imageOffset,
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemBlitImageTests.cpp288 const vk::VkOffset3D imageOffset = {RENDER_WIDTH, RENDER_HEIGHT, 1}; in iterate() local
294 imageOffset, in iterate()
299 imageOffset, in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/protected_memory/
DvktProtectedMemBlitImageTests.cpp288 const vk::VkOffset3D imageOffset = {RENDER_WIDTH, RENDER_HEIGHT, 1}; in iterate() local
294 imageOffset, in iterate()
299 imageOffset, in iterate()

1234