diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-07-10 15:09:43 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-10 15:09:43 +0800 |
| commit | cde025ec6dbfe6664c16587b561bd6384de2293f (patch) | |
| tree | 4d5626afe246d5b6a3d97b9b880647802294eeaf /tests | |
| parent | 8dd4c30437c58a7c6778fe7b524b8c20cfa91730 (diff) | |
Neaten filecheck output for non-passing nested-parameter-block test (#4592)
With this context filecheck can generate a better error when it fails
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/bindings/nested-parameter-block-2.slang | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/bindings/nested-parameter-block-2.slang b/tests/bindings/nested-parameter-block-2.slang index 38ce9232e..59580f17d 100644 --- a/tests/bindings/nested-parameter-block-2.slang +++ b/tests/bindings/nested-parameter-block-2.slang @@ -37,6 +37,10 @@ ParameterBlock<MyBuffer> pb2; [numthreads(4,1,1)] void computeMain(uint3 sv_dispatchThreadID : SV_DispatchThreadID) { - // CHECK: 4 + // CHECK: type: uint32_t + // CHECK-NEXT: 4 + // CHECK-NEXT: 4 + // CHECK-NEXT: 4 + // CHECK-NEXT: 4 pb2.resultBuffer[sv_dispatchThreadID.x] = scene.sceneCb.value.x + scene.data[0].x + scene.material.cb.value.x + scene.material.data[0].x; } |
