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.
|
||||
The actual pointer ptr for each array element j of update entry i is
|
||||
computed using the following formula:
|
||||
+
|
||||
[source,c++]
|
||||
---------------------------------------------------
|
||||
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
|
||||
****
|
||||
|
|
Loading…
Reference in New Issue