Skip to content

Add support for KHR_compute_shader_derivatives#7249

Merged
s-perron merged 2 commits intomicrosoft:mainfrom
iagoCL:khr_compute_derivatives
Mar 26, 2025
Merged

Add support for KHR_compute_shader_derivatives#7249
s-perron merged 2 commits intomicrosoft:mainfrom
iagoCL:khr_compute_derivatives

Conversation

@iagoCL
Copy link
Copy Markdown
Contributor

@iagoCL iagoCL commented Mar 24, 2025

Add support for KHR_compute_shader_derivatives

  • DirectxShaderCompiler already supports NV_compute_shader_derivatives which is functionality identical to KHR_compute_shader_derivatives
  • The KHR extension will be used by default instead of the NV one following the same approach as the RT extension.
    • We currently explain this in a comment in tools/clang/lib/SPIRV/FeatureManager.cpp FeatureManager::enabledByDefault.
    • Check commit introducing RT for more info 04a84f0

Fixes #7179

DirectxShaderCompiler already supports NV_compute_shader_derivatives
which is functionality identical to KHR_compute_shader_derivatives

The KHR extension will be used by default instead of the NV one
following the same approach as the RT extension. We currently explain
this in a comment in tools/clang/lib/SPIRV/FeatureManager.cpp
FeatureManager::enabledByDefault. Check commit introducing RT for more
info 04a84f0
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 24, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@iagoCL
Copy link
Copy Markdown
Contributor Author

iagoCL commented Mar 24, 2025

@microsoft-github-policy-service agree company="Arm"

@s-perron
Copy link
Copy Markdown
Collaborator

Thanks for fixing it. I don't know when I would have got it it.

@s-perron s-perron merged commit d8aad78 into microsoft:main Mar 26, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Mar 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[Feature Request] [SPIR-V] Support KHR_compute_shader_derivatives

3 participants