Skip to content

Commit

Permalink
ternary test
Browse files Browse the repository at this point in the history
  • Loading branch information
sunag committed Oct 20, 2023
1 parent 25f73e5 commit 668ea27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/webgpu_tsl_transpiler.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
float f = 0.001e-2;
mx_select(h<4u, y, mx_select((h==12u)||(h==14u), x, z));
const mat3 rot1 = mat3(-0.37, 0.36, 0.85,-0.14,-0.93, 0.34,0.92, 0.01, 0.4);
vec3 a = 12 + 23 < a ? b + c : 13 + 2;
if ( a > 1 ) {
Expand Down

0 comments on commit 668ea27

Please sign in to comment.