Skip to content

Add SPIR-V resource/counter heap binding options#24

Open
manuelkNVDA wants to merge 2 commits into
NVIDIA-RTX:mainfrom
manuelkNVDA:mk/heap_binding
Open

Add SPIR-V resource/counter heap binding options#24
manuelkNVDA wants to merge 2 commits into
NVIDIA-RTX:mainfrom
manuelkNVDA:mk/heap_binding

Conversation

@manuelkNVDA

Copy link
Copy Markdown

Add SPIR-V resource/counter heap binding options

  • add options --resourceHeapBinding/--resourceHeapSet and --counterHeapBinding/--counterHeapSet
  • forwarded to DXC as -fvk-bind-resource-heap and -fvk-bind-counter-heap.
  • lets SM 6.6 ResourceDescriptorHeap and RWStructuredBuffer counters map to a chosen descriptor set/binding on the Vulkan backend.
  • options default to off (-1), so behavior is unchanged unless requested.

- add options `--resourceHeapBinding/--resourceHeapSet` and `--counterHeapBinding/--counterHeapSet`
- forwarded to DXC as `-fvk-bind-resource-heap` and `-fvk-bind-counter-heap`.
- lets SM 6.6 ResourceDescriptorHeap and RWStructuredBuffer counters map to a chosen descriptor set/binding on the Vulkan backend.
- options default to off (-1), so behavior is unchanged unless requested.
@manuelkNVDA manuelkNVDA changed the title Mk/heap binding Add SPIR-V resource/counter heap binding options Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant