diff options
| author | Yong He <yonghe@outlook.com> | 2025-05-15 12:51:29 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-15 12:51:29 -0700 |
| commit | 0d6312f3be66f4bff9eec9606228db3edc309e2c (patch) | |
| tree | a868e452e2d25a88f8a6cdee109a280edd11c0fb /tests/compute | |
| parent | d961f4438ef865028d289148d22e0fb5c0d8319a (diff) | |
Add checking for hlsl register semantic. (#7118)
* Add checking for hlsl register semantic.
* Fix.
* Fix test.
* Fix switch error.
* Fix tests.
Diffstat (limited to 'tests/compute')
| -rw-r--r-- | tests/compute/nonuniformres-as-function-parameter.slang | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/compute/nonuniformres-as-function-parameter.slang b/tests/compute/nonuniformres-as-function-parameter.slang index daffc848e..38fb2a478 100644 --- a/tests/compute/nonuniformres-as-function-parameter.slang +++ b/tests/compute/nonuniformres-as-function-parameter.slang @@ -2,7 +2,7 @@ //TEST:SIMPLE(filecheck=CHECK_GLSL_SPV):-target spirv -entry main -stage compute -emit-spirv-via-glsl //TEST:SIMPLE(filecheck=CHECK_GLSL):-target glsl -entry main -stage compute //TEST:SIMPLE(filecheck=CHECK_HLSL):-target hlsl -entry main -stage compute -RWStructuredBuffer<uint> globalBuffer[] : register(t0, space0); +RWStructuredBuffer<uint> globalBuffer[] : register(u0, space1); RWStructuredBuffer<uint3> outputBuffer; struct MyStruct |
