Skip to content

Conversation

@Keenuts
Copy link
Contributor

@Keenuts Keenuts commented Nov 6, 2025

TODO:

  • get the wg-hlsl proposal accepted.
  • fill this description.
  • add tests

Comment on lines 3853 to 3854
!VD->hasAttr<HLSLVkConstantIdAttr>() &&
!VD->hasAttr<HLSLVkPushConstantAttr>() &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is where we should be ignoring the vk::push_constant attribuute if we are not targeting spir-v.

We might need to fix up the vk:constant_id attribute as well, but that is not your problem.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, and I should also add a test targeting DXIL but using vk::push_constant

TODO:
  - get the wg-hlsl proposal accepted.
  - fill this description.
  - add tests
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.

2 participants