Skip to content

Commit deb3e20

Browse files
Use correct device feature (#1271)
Fixes #1266
1 parent 58f0693 commit deb3e20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/performance/multi_draw_indirect/README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
////
2-
- Copyright (c) 2021-2023, Holochip Corporation
2+
- Copyright (c) 2021-2025, Holochip Corporation
33
-
44
- SPDX-License-Identifier: Apache-2.0
55
-
@@ -49,7 +49,7 @@ Each command contains the vertex offset, index offset, and index count.
4949
To control whether a sub-mesh is drawn, the instance count is set to either 0 or 1.
5050
Alternatively, the draw command could be completely removed from the array.
5151

52-
If = device supports multi-draw indirect (`VkPhysicalDeviceFeatures2::bufferDeviceAddress`), then the entire array of draw commands can be executed through a single call to `VkDrawIndexedIndirectCommand`.
52+
If the device supports multi-draw indirect (`VkPhysicalDeviceFeatures2::multiDrawIndirect`), then the entire array of draw commands can be executed through a single call to `VkDrawIndexedIndirectCommand`.
5353
Otherwise, each draw call must be executed through a separate call to `VkDrawIndexIndirectCommand`:
5454

5555
[,cpp]

0 commit comments

Comments
 (0)