diff options
| author | Jay Kwak <82421531+jkwak-work@users.noreply.github.com> | 2025-05-15 02:57:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-14 19:57:47 -0700 |
| commit | b4d3d3017640581c21b52a12413d3f074ab1c5c1 (patch) | |
| tree | 2a3fc8350a590e7f342df328b7d9c4469ac40298 /tests/cooperative-vector/load-store-rwstructuredbuffer.slang | |
| parent | 2275e18fc052239fe67f3fda68252ad92bb83ca9 (diff) | |
Support the new CoopVec builtins (#7108)
**NOTE: This is a breaking change for users who were using POC variant of DXC.
In order to keep the compatibility, the users will have to use -capability hlsl_coopvec_poc to their command line.
This PR adds a new capability "hlsl_coopvec_poc".
When it is used, the HLSL for CoopVec will be emitted for the POC variant of DXC.
When it is not used, the HLSL for CoopVec will be emitted for the DXC that officially supports the cooperative vector.
Diffstat (limited to 'tests/cooperative-vector/load-store-rwstructuredbuffer.slang')
| -rw-r--r-- | tests/cooperative-vector/load-store-rwstructuredbuffer.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cooperative-vector/load-store-rwstructuredbuffer.slang b/tests/cooperative-vector/load-store-rwstructuredbuffer.slang index 7e050db80..5f602d1a0 100644 --- a/tests/cooperative-vector/load-store-rwstructuredbuffer.slang +++ b/tests/cooperative-vector/load-store-rwstructuredbuffer.slang @@ -2,7 +2,7 @@ //TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-cpu -output-using-type // HLSL doesn't support structured buffers for CoopVec -//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-dx12 -render-feature cooperative-vector -dx12-experimental -use-dxil -output-using-type -profile cs_6_8 -Xslang... -Xdxc -Vd -X. +//DISABLE_TEST(compute):COMPARE_COMPUTE(filecheck-buffer=CHECK):-dx12 -render-feature cooperative-vector -dx12-experimental -use-dxil -output-using-type -profile cs_6_8 -Xslang... -Xdxc -Vd -X. -capability hlsl_coopvec_poc // CHECK: type: int32_t // CHECK-NEXT: 5 |
