Skip to content

Commit f1c2464

Browse files
committed
fix CI
1 parent 64ef135 commit f1c2464

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

attachments/compute/12_embedded.slang

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ float3 safeNorm(float3 v)
7979
// ---------------------------------------------------------------------------
8080
// Entry point: ikMain
8181
// ---------------------------------------------------------------------------
82+
[shader("compute")]
8283
[numthreads(64, 1, 1)]
8384
void ikMain(uint3 id : SV_DispatchThreadID)
8485
{
@@ -93,7 +94,7 @@ void ikMain(uint3 id : SV_DispatchThreadID)
9394
float r2 = job.reach.z; // joint2 → end effector
9495

9596
float totalReach = r0 + r1 + r2;
96-
float3 reachArr[3] = { r0, r1, r2 };
97+
float reachArr[3] = { r0, r1, r2 };
9798

9899
// Initialise joint chain in rest pose: stretched along +X from the base.
99100
float3 p[4];

0 commit comments

Comments
 (0)