Fix text block in descriptor sets ch.
This commit is contained in:
parent
fe0e06e9fe
commit
939a1318d0
|
@ -2368,12 +2368,14 @@ include::../api/structs/VkDescriptorUpdateTemplateEntryKHR.txt[]
|
||||||
structure.
|
structure.
|
||||||
The actual pointer ptr for each array element j of update entry i is
|
The actual pointer ptr for each array element j of update entry i is
|
||||||
computed using the following formula:
|
computed using the following formula:
|
||||||
|
+
|
||||||
[source,c++]
|
[source,c++]
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
const char *ptr = (const char *)pData + pDescriptorUpdateEntries[i].offset + j * pDescriptorUpdateEntries[i].stride
|
const char *ptr = (const char *)pData + pDescriptorUpdateEntries[i].offset + j * pDescriptorUpdateEntries[i].stride
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
The stride is useful in case the bindings are stored in structs along
|
+
|
||||||
with other data.
|
The stride is useful in case the bindings are stored in structs along with
|
||||||
|
other data.
|
||||||
|
|
||||||
.Valid Usage
|
.Valid Usage
|
||||||
****
|
****
|
||||||
|
|
Loading…
Reference in New Issue