Skip to content

Commit

Permalink
Expand valid input for smoothstep to include low > high (#4084)
Browse files Browse the repository at this point in the history
Co-authored-by: Peter McNeeley <[email protected]>
  • Loading branch information
petermcneeleychromium and Peter McNeeley authored Dec 11, 2024
1 parent a7274c9 commit 1afb7eb
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 1afb7eb

Please sign in to comment.