extensions/khr/draw_indirect_count: Use the right function pointer for non-indexed draw call (#695)
This commit is contained in:
parent
720eb81048
commit
043c00c404
2 changed files with 5 additions and 1 deletions
|
@ -21,6 +21,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- Removed experimental AMD extensions (#607)
|
- Removed experimental AMD extensions (#607)
|
||||||
- Removed misnamed, deprecated `debug_utils_set_object_name()` and `debug_utils_set_object_tag()` entirely, use `set_debug_utils_object_name()` and `set_debug_utils_object_tag()` instead (#661)
|
- Removed misnamed, deprecated `debug_utils_set_object_name()` and `debug_utils_set_object_tag()` entirely, use `set_debug_utils_object_name()` and `set_debug_utils_object_tag()` instead (#661)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- `VK_KHR_draw_indirect_count`: use `cmd_draw_indirect_count_khr` instead of `cmd_draw_indexed_indirect_count_khr` for non-indexed draw call (#695)
|
||||||
|
|
||||||
## [0.37.1] - 2022-11-23
|
## [0.37.1] - 2022-11-23
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
|
@ -51,7 +51,7 @@ impl DrawIndirectCount {
|
||||||
max_draw_count: u32,
|
max_draw_count: u32,
|
||||||
stride: u32,
|
stride: u32,
|
||||||
) {
|
) {
|
||||||
(self.fp.cmd_draw_indexed_indirect_count_khr)(
|
(self.fp.cmd_draw_indirect_count_khr)(
|
||||||
command_buffer,
|
command_buffer,
|
||||||
buffer,
|
buffer,
|
||||||
offset,
|
offset,
|
||||||
|
|
Loading…
Add table
Reference in a new issue