NVIDIAGameWorks / NRI

Low-level abstract render interface
MIT License
219 stars 25 forks source link

[RFE] Draw Indirect Count #65

Closed vertver closed 7 months ago

vertver commented 7 months ago

Sometimes it's useful to have an indirect buffer count, so that only the required number of draw calls or shader executions are executed.

Links: https://github.com/gpuweb/gpuweb/pull/1949 https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/vkCmdDrawIndirectCount.html

vertver commented 7 months ago

Implementation - https://github.com/NVIDIAGameWorks/NRI/pull/66 Sample - https://github.com/vertver/NRISamples/commit/9d817fe92b78ec137f77f09937b32db9411d1249

dzhdanNV commented 7 months ago

Merged. Thank you!