Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NNNN] Design for inline SPIR-V attributes #103

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

s-perron
Copy link
Collaborator

@s-perron s-perron commented Nov 19, 2024

This add the design for the following function attributes for inline SPIR-V:

vk::ext_instruction(uint opcode, [string extended_instruction_set])
vk::ext_execution_mode(uint execution_mode, ...)
vk::ext_extension(string extension_name)
vk::ext_capability(uint capability)
vk::ext_reference
vk::ext_literal

See the inline SPIR-V documentation in DXC for details of what they do.

https://github.com/microsoft/DirectXShaderCompiler/wiki/GL_EXT_spirv_intrinsics-for-SPIR-V-code-gen


```HLSL
vk::ext_instruction(uint opcode, [string extended_instruction_set])
vk::ext_execution_mode(uint execution_mode, ...)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the function that we want to deprecate. Replace with vk::spvexecutionmode.

This add the design for the following attributes for inline SPIR-V:

```
vk::ext_instruction(uint opcode, [string extended_instruction_set])
vk::ext_execution_mode(uint execution_mode, ...)
vk::ext_extension(string extension_name)
vk::ext_capability(uint capability)
vk::ext_reference
vk::ext_literal
```

See the inline SPIR-V documentation in DXC for details of what they do.

https://github.com/microsoft/DirectXShaderCompiler/wiki/GL_EXT_spirv_intrinsics-for-SPIR-V-code-gen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant