diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2024-04-01 22:02:25 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-01 22:02:25 -0700 |
| commit | 251f55c5ec4cb2b7432e71d6ba8adc96700d35c2 (patch) | |
| tree | 6360ae937545943a97f3a380cbcb3c2d8fb950bd /source/slang/core.meta.slang | |
| parent | daf63cc983fd5f8f2b24872a9125e0394ed2180e (diff) | |
Support SM6.6 keyword "WaveSize" (#3871)
Resolves an issue #3385
Shader Model 6.6 added a new keyowrd, "WaveSize". See the following link
for more details:
https://microsoft.github.io/DirectX-Specs/d3d/HLSL_SM_6_6_WaveSize.html
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/core.meta.slang')
| -rw-r--r-- | source/slang/core.meta.slang | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/core.meta.slang b/source/slang/core.meta.slang index ead81fcf5..8d91f27ab 100644 --- a/source/slang/core.meta.slang +++ b/source/slang/core.meta.slang @@ -2458,6 +2458,9 @@ attribute_syntax [earlydepthstencil] : EarlyDepthStencilAttribute; __attributeTarget(FuncDecl) attribute_syntax [numthreads(x: int, y: int = 1, z: int = 1)] : NumThreadsAttribute; +__attributeTarget(FuncDecl) +attribute_syntax [WaveSize(numLanes: int)] : WaveSizeAttribute; + // __attributeTarget(VarDeclBase) attribute_syntax [__vulkanRayPayload(location : int = -1)] : VulkanRayPayloadAttribute; |
