diff options
| author | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 13:25:06 +0100 |
|---|---|---|
| committer | Vonsek <45567075+Vonsek@users.noreply.github.com> | 2026-11-22 13:25:06 +0100 |
| commit | 432d9ab1eb824464c54042ba539b7806140abe2a (patch) | |
| tree | f0d6ecb0fda4fe48c1f33b6fcb9aa43c641ab5b8 /runtime/src/thread_stacks.cpp | |
| parent | 99f99890c5ebe186ef2f9fe8ff6d675745d9e621 (diff) | |
fix(runtime): support IBStripCutValue via dynamic primitive restart
CreateGraphicsPipelineState previously logged that index-buffer strip cuts (primitive restart) were not modelled and left primitiveRestartEnable disabled.
Load Vulkan 1.3 vkCmdSetPrimitiveRestartEnable in vulkan_backend.h, declare VK_DYNAMIC_STATE_PRIMITIVE_RESTART_ENABLE on graphics pipelines, record IBStripCutValue on GraphicsPipeline, and enable primitive restart during replay only for indexed strip topologies whose index format matches the PSO strip-cut value (0xFFFF with UINT16, 0xFFFFFFFF with UINT32). Add synthetic 16-bit/32-bit triangle-strip cut and no-cut negative-control GPU draw tests in d3d12_draw_test.
Diffstat (limited to 'runtime/src/thread_stacks.cpp')
0 files changed, 0 insertions, 0 deletions