// Copyright 2023 The Khronos Group Inc.
//
// SPDX-License-Identifier: CC-BY-4.0

[[lorem]]
= Lorem

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Congue eu consequat ac felis donec
et odio. Enim nec dui nunc mattis enim. Nulla facilisi etiam dignissim diam
quis enim lobortis scelerisque fermentum. Nam libero justo laoreet sit amet.
Lacus luctus accumsan tortor posuere. Ultrices tincidunt arcu non sodales. Ut
enim blandit volutpat maecenas volutpat blandit aliquam etiam. Sed id semper
risus in. Natoque penatibus et magnis dis parturient montes.

Vestibulum morbi blandit cursus risus at ultrices mi tempus imperdiet.
Dignissim cras tincidunt lobortis feugiat vivamus at augue eget arcu. Ultricies
mi eget mauris pharetra.  Ac turpis egestas maecenas pharetra convallis posuere
morbi leo urna. Cras sed felis eget velit aliquet. Sit amet mauris commodo quis
imperdiet. Malesuada pellentesque elit eget gravida cum sociis natoque.
Faucibus pulvinar elementum integer enim neque volutpat ac tincidunt vitae.

[[lorem-subchapter]]
== Lorem Subchapter

ifdef::VK_VERSION_1_3,VK_KHR_copy_commands2[]
[open,refpage='vkCmdCopyBufferToImage2',desc='Copy data from a buffer into an image',type='protos',alias='vkCmdCopyBufferToImage2KHR']
--
:refpage: vkCmdCopyBufferToImage2

Sed risus pretium quam vulputate dignissim suspendisse in est ante:

ifdef::VK_VERSION_1_3[]
include::{generated}/api/protos/vkCmdCopyBufferToImage2.adoc[]
endif::VK_VERSION_1_3[]

ifdef::VK_VERSION_1_3+VK_KHR_copy_commands2[or the equivalent command]

ifdef::VK_KHR_copy_commands2[]
include::{generated}/api/protos/vkCmdCopyBufferToImage2KHR.adoc[]
endif::VK_KHR_copy_commands2[]

  * pname:commandBuffer Mauris commodo quis imperdiet massa tincidunt nunc pulvinar.
  * pname:pCopyBufferToImageInfo Odio morbi quis commodo odio aenean sed slink:VkCopyBufferToImageInfo2.

Ac tortor dignissim convallis aenean et tortor. Amet porttitor eget dolor morbi
non arcu. Consequat interdum varius sit amet. Tempus egestas sed sed risus
pretium quam. Gravida in fermentum et sollicitudin ac orci phasellus egestas.
Nulla facilisi etiam dignissim diam quis enim lobortis scelerisque fermentum.
Tempus quam pellentesque nec nam aliquam. A pellentesque sit amet porttitor
eget. Viverra justo nec ultrices dui sapien eget mi. Nullam vehicula ipsum a
arcu. Amet volutpat consequat mauris nunc congue nisi. Tincidunt arcu non
sodales neque.

:regionsparam: pname:pCopyBufferToImageInfo->pRegions

.Valid Usage
****
include::{chapters}/commonvalidity/lorem.adoc[]
****

include::{generated}/validity/protos/vkCmdCopyBufferToImage2.adoc[]
--

[open,refpage='VkCopyBufferToImageInfo2',desc='Structure specifying parameters of a buffer to image copy command',type='structs',alias='VkCopyBufferToImageInfo2KHR']
--
:refpage: VkCopyBufferToImageInfo2

Sed risus pretium quam vulputate dignissim suspendisse in est ante sname:VkCopyBufferToImageInfo2:

include::{generated}/api/structs/VkCopyBufferToImageInfo2.adoc[]

ifdef::VK_KHR_copy_commands2[]
or the equivalent

include::{generated}/api/structs/VkCopyBufferToImageInfo2KHR.adoc[]
endif::VK_KHR_copy_commands2[]

  * pname:sType Natoque penatibus et magnis dis parturient montes nascetur.
  * pname:pNext Iaculis eu non diam phasellus vestibulum.
  * pname:srcBuffer Consequat nisl vel pretium lectus quam.
  * pname:dstImage Euismod in pellentesque massa placerat duis ultricies lacus sed turpis.
  * pname:dstImageLayout Ullamcorper eget nulla facilisi etiam dignissim diam quis enim.
  * pname:regionCount Vel facilisis volutpat est velit egestas dui.
  * pname:pRegions Consequat id porta nibh venenatis cras sed felis.

:imageparam: dstImage
:imagesubresource: imageSubresource
:imageoffset: imageOffset
:imageextent: imageExtent
:bufferrowlength: bufferRowLength
:bufferimageheight: bufferImageHeight
:regionsparam: pname:pRegions

.Valid Usage
****
  * [[VUID-VkCopyBufferToImageInfo2-pRegions-94565]]
    Id velit ut tortor pretium viverra suspendisse potenti pname:pRegions
ifdef::VK_QCOM_rotated_copy_commands[]
    faucibus in ornare quam viverra orci sagittis eu volutpat
    pname:pNext chain
endif::VK_QCOM_rotated_copy_commands[]
    pname:imageSubresource eu facilisis sed must: odio morbi quis commodo
    pname:dstImage
ifdef::VK_QCOM_rotated_copy_commands[]
  * [[VUID-VkCopyBufferToImageInfo2KHR-pRegions-94554]]
    Pharetra magna ac placerat vestibulum lectus mauris pname:pRegions
    ac felis donec et odio pellentesque diam volutpat commodo sed pname:pNext chain
    must: malesuada pellentesque elit <<lorem-subchapter>> eget gravida cum sociis natoque
    pname:dstImage
endif::VK_QCOM_rotated_copy_commands[]
include::{chapters}/commonvalidity/ipsum.adoc[]
include::{chapters}/commonvalidity/dolor.adoc[]
  * [[VUID-VkCopyBufferToImageInfo2-pRegions-96223]]
    Id leo in vitae turpis massa sed elementum
    pname:imageOffset.x and [eq]#(pname:imageExtent.width {plus}
    pname:imageOffset.x)# must: gravida dictum fusce ut placerat orci nulla
    pellentesque dignissim enim pname:imageSubresource of pname:dstImage
****

include::{generated}/validity/structs/VkCopyBufferToImageInfo2.adoc[]
--

[open,refpage='VkBufferImageCopy2',desc='Structure specifying a buffer image copy operation',type='structs',alias='VkBufferImageCopy2KHR']
--
:refpage: VkBufferImageCopy2

Gravida dictum fusce ut placerat orci nulla pellentesque dignissim enim flink:vkCmdCopyBufferToImage2:

include::{generated}/api/structs/VkBufferImageCopy2.adoc[]

ifdef::VK_KHR_copy_commands2[]
or the equivalent

include::{generated}/api/structs/VkBufferImageCopy2KHR.adoc[]
endif::VK_KHR_copy_commands2[]

  * pname:sType Tristique senectus et netus et malesuada.
  * pname:pNext Tempor commodo ullamcorper a lacus vestibulum sed arcu.
  * pname:bufferOffset Tellus in metus vulputate eu scelerisque. Lectus sit amet est placerat in.
  * pname:bufferRowLength and pname:bufferImageHeight Quam adipiscing vitae
    proin sagittis. Mattis pellentesque id nibh tortor id aliquet lectus proin
    nibh pname:imageExtent.
  * pname:imageSubresource Sociis natoque penatibus et magnis dis parturient montes nascetur.
  * pname:imageOffset Lobortis mattis aliquam faucibus purus in massa tempor nec.
  * pname:imageExtent Ut ornare lectus sit amet est placerat in.

Integer quis auctor elit sed vulputate mi sit amet mauris. Ultrices sagittis
orci a scelerisque purus semper eget duis.

:bufferrowlength: bufferRowLength
:bufferimageheight: bufferImageHeight

.Valid Usage
****
include::{chapters}/commonvalidity/dolor.adoc[]
****

include::{generated}/validity/structs/VkBufferImageCopy2.adoc[]
--
endif::VK_VERSION_1_3,VK_KHR_copy_commands2[]
