Skip to content

Commit

Permalink
Fix the failing test
Browse files Browse the repository at this point in the history
The test case, `tests/compute/assoctype-lookup.slang`, had a bug that
the compute shader was trying to use the varying input/output with the
user defined semantics.

This commit removes the user defined semantics, because the compute
shaders cannot use the user defined semantics.
  • Loading branch information
jkwak-work committed Nov 5, 2024
1 parent 11292fe commit e71829b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/compute/assoctype-lookup.slang
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ struct StandardBoneWeightSet : IBoneWeightSet
{
struct PackedType
{
uint boneIds : BONEIDS;
uint boneWeights : BONEWEIGHTS;
uint boneIds;
uint boneWeights;
};
PackedType field;
};
Expand Down Expand Up @@ -55,4 +55,4 @@ void computeMain(uint3 dispatchThreadID : SV_DispatchThreadID)
int inputVal = int(tid);
int outputVal = test(inputVal);
gOutputBuffer[tid] = outputVal;
}
}

0 comments on commit e71829b

Please sign in to comment.