Skip to content

Commit

Permalink
Expand valid input for smoothstep to include low > high
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter McNeeley committed Dec 9, 2024
1 parent 3ed497b commit eac85dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const g = makeTestGroup(GPUTest);
function validForConst(c: Case): boolean {
const low = (c.input as Value[])[0] as ScalarValue;
const high = (c.input as Value[])[1] as ScalarValue;
return low.value < high.value;
return low.value !== high.value;
}

g.test('abstract_float')
Expand Down

0 comments on commit eac85dd

Please sign in to comment.