Skip to content

Commit

Permalink
Neaten filecheck output for non-passing nested-parameter-block test (#…
Browse files Browse the repository at this point in the history
…4592)

With this context filecheck can generate a better error when it fails
  • Loading branch information
expipiplus1 authored Jul 10, 2024
1 parent 8dd4c30 commit cde025e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/bindings/nested-parameter-block-2.slang
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit cde025e

Please sign in to comment.