KhronosGroup / GLSL

GLSL Shading Language Specification and Extensions
Other
337 stars 98 forks source link

Update `min`, `max` to match SPIR-V extended instruction. #249

Closed dj2 closed 1 week ago

dj2 commented 1 month ago

This CL updates the min and max methods to match the GLSL.std.450 SPIR-V definition by adding a note on the behaviour with NaN values.

Fixes #80