Skip to content

Indicate the translation to push constants more explicitely.#59

Open
EtienneParmentier wants to merge 1 commit into
SaschaWillems:mainfrom
EtienneParmentier:patch-1
Open

Indicate the translation to push constants more explicitely.#59
EtienneParmentier wants to merge 1 commit into
SaschaWillems:mainfrom
EtienneParmentier:patch-1

Conversation

@EtienneParmentier

Copy link
Copy Markdown

Based on https://shader-slang.org/slang/user-guide/spirv-target-specific , Push constant paragraph.

I did not understood the link between push constants, shader data buffer and buffer device adress until finding this doc page.
Tell me if I'm wrong but we have:

  • Push constant range added as argument by slang because of the argument of 'main' contains a pointer.
  • Push contant defined again in the pipeline layout.
  • Push constant binding while recording command buffer.

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