O'Reilly logo
  • Musharraf Azeem thinks this is interesting:

Implicit Conversions in GLSL


Cover of OpenGL Programming Guide: The Official Guide to Learning OpenGL, Version 4.3, Eighth Edition


Implicit conversion is only for numeric types: narrower to broader, whereby no precision loss can occur, (although slight inaccuracy might arise from int -> IEE 754 if int cannot be exactly represented)