From 939a1318d041df1b912c291ba287315baa84c3e0 Mon Sep 17 00:00:00 2001 From: Petr Kraus Date: Tue, 19 Dec 2017 14:45:47 +0100 Subject: [PATCH] Fix text block in descriptor sets ch. --- doc/specs/vulkan/chapters/descriptorsets.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/specs/vulkan/chapters/descriptorsets.txt b/doc/specs/vulkan/chapters/descriptorsets.txt index ed69ce12..c0c85ca2 100644 --- a/doc/specs/vulkan/chapters/descriptorsets.txt +++ b/doc/specs/vulkan/chapters/descriptorsets.txt @@ -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 ****