Skip to content

Commit

Permalink
fix(vma): javadoc issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Spasi committed Mar 17, 2021
1 parent a6ff830 commit c8fd10e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions modules/lwjgl/vma/src/generated/java/org/lwjgl/util/vma/Vma.java
Original file line number Diff line number Diff line change
Expand Up @@ -1396,16 +1396,16 @@
*
* <ul>
* <li>You can request or prefer to allocate out of such memory types by adding {@code VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD} to
* {@link AllocationCreateInfo}{@code ::requiredFlags} or {@code VmaAllocationCreateInfo::preferredFlags}. Those flags can be freely mixed with other ways
* of choosing memory type, like setting {@code VmaAllocationCreateInfo::usage}.</li>
* {@link VmaAllocationCreateInfo}{@code ::requiredFlags} or {@code VmaAllocationCreateInfo::preferredFlags}. Those flags can be freely mixed with other
* ways of choosing memory type, like setting {@code VmaAllocationCreateInfo::usage}.</li>
* <li>If you manually found memory type index to use for this purpose, force allocation from this specific index by setting
* {@code VmaAllocationCreateInfo::memoryTypeBits = 1u << index}.</li>
* </ul>
*
* <h5>More information</h5>
*
* <p>To learn more about this extension, see
* <a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/{@link chap44.html#VK_AMD_device_coherent_memory}">VK_AMD_device_coherent_memory in Vulkan specification</a>.</p>
* <a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap44.html#VK_AMD_device_coherent_memory">VK_AMD_device_coherent_memory in Vulkan specification</a>.</p>
*
* <p>Example use of this extension can be found in the code of the sample and test suite accompanying this library.</p>
*
Expand Down Expand Up @@ -1445,7 +1445,7 @@
* <h5>More information</h5>
*
* <p>To learn more about this extension, see
* <a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/{@link chap46.html#VK_KHR_buffer_device_address}">VK_KHR_buffer_device_address in Vulkan specification</a></p>
* <a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap46.html#VK_KHR_buffer_device_address">VK_KHR_buffer_device_address in Vulkan specification</a></p>
*
* <p>Example use of this extension can be found in the code of the sample and test suite accompanying this library.</p>
*
Expand Down Expand Up @@ -1624,7 +1624,7 @@ public class Vma {
*
* <p>You may set this flag only if you:</p>
*
* <p>1. (For Vulkan version < 1.2) Found as available and enabled device extension
* <p>1. (For Vulkan version &lt; 1.2) Found as available and enabled device extension
* VK_KHR_buffer_device_address.
* This extension is promoted to core Vulkan 1.2.
* 2. Found as available and enabled device feature `VkPhysicalDeviceBufferDeviceAddressFeatures::bufferDeviceAddress`.</p>
Expand Down
10 changes: 5 additions & 5 deletions modules/lwjgl/vma/src/templates/kotlin/vma/templates/VMA.kt
Original file line number Diff line number Diff line change
Expand Up @@ -1461,8 +1461,8 @@ vkBindBufferMemory(): Binding memory to buffer 0x33 but vkGetBufferMemoryRequire
${ul(
"""
You can request or prefer to allocate out of such memory types by adding {@code VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD} to
##AllocationCreateInfo{@code ::requiredFlags} or {@code VmaAllocationCreateInfo::preferredFlags}. Those flags can be freely mixed with other ways
of choosing memory type, like setting {@code VmaAllocationCreateInfo::usage}.
##VmaAllocationCreateInfo{@code ::requiredFlags} or {@code VmaAllocationCreateInfo::preferredFlags}. Those flags can be freely mixed with other
ways of choosing memory type, like setting {@code VmaAllocationCreateInfo::usage}.
""",
"""
If you manually found memory type index to use for this purpose, force allocation from this specific index by setting
Expand All @@ -1473,7 +1473,7 @@ vkBindBufferMemory(): Binding memory to buffer 0x33 but vkGetBufferMemoryRequire
<h5>More information</h5>
To learn more about this extension, see
<a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap44.html#VK_AMD_device_coherent_memory">VK_AMD_device_coherent_memory in Vulkan specification</a>.
<a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap44.html\#VK_AMD_device_coherent_memory">VK_AMD_device_coherent_memory in Vulkan specification</a>.
Example use of this extension can be found in the code of the sample and test suite accompanying this library.
Expand Down Expand Up @@ -1522,7 +1522,7 @@ vkBindBufferMemory(): Binding memory to buffer 0x33 but vkGetBufferMemoryRequire
<h5>More information</h5>
To learn more about this extension, see
<a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap46.html#VK_KHR_buffer_device_address">VK_KHR_buffer_device_address in Vulkan specification</a>
<a href="https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/chap46.html\#VK_KHR_buffer_device_address">VK_KHR_buffer_device_address in Vulkan specification</a>
Example use of this extension can be found in the code of the sample and test suite accompanying this library.
Expand Down Expand Up @@ -1736,7 +1736,7 @@ vkBindBufferMemory(): Binding memory to buffer 0x33 but vkGetBufferMemoryRequire
You may set this flag only if you:
1. (For Vulkan version < 1.2) Found as available and enabled device extension
1. (For Vulkan version &lt; 1.2) Found as available and enabled device extension
VK_KHR_buffer_device_address.
This extension is promoted to core Vulkan 1.2.
2. Found as available and enabled device feature `VkPhysicalDeviceBufferDeviceAddressFeatures::bufferDeviceAddress`.
Expand Down

0 comments on commit c8fd10e

Please sign in to comment.