In the latest Chrome Canary, bitcasting a float to a NaN no longer works, i.e.:
let NaN: f32 = bitcast<f32>(0xffffffffu);
Apparently this is intentional:
#3468
How am I supposed to return NaN from a shader now? This is a common way to knock out vertices from an otherwise continuous geometry stream.
In the latest Chrome Canary, bitcasting a float to a NaN no longer works, i.e.:
Apparently this is intentional:
#3468
How am I supposed to return NaN from a shader now? This is a common way to knock out vertices from an otherwise continuous geometry stream.