Merge pull request #635 from krOoze/fix_text_block
Fix text block in descriptor sets ch.
This commit is contained in:
commit
68b851236f
|
@ -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