Error while parsing WGSL: :156:24 error: type mismatch for argument 1 in call to ‘tsl_equals_bool’, expected ‘bool’, got ‘u32’
if ( tsl_equals_bool( NodeBuffer_558.value[ nodeVar3 ].x, 43u ) ) {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is the result of my search for a tsl_equals_u32 WGSL function:
Does that mean “equals” doesn’t work with u32, f32 or i32?
Did I miss something?
I don’t know. I think the discrepancy between equals(x,y) and x.equal(y) is confusing and it may be good to file an issue in https://github.com/mrdoob/three.js/issues if this issue is not mentioned already.