Bug in GLSL compiler in 337.50 beta driver (includes sample code)


I have found a serious bug in the GLSL Compiler in 337.50. (hardware: titan black)

Sample code to trigger the bug is here: http://pastie.org/9125225

Apparently the compiler doesn’t recognize the += operation as changing a value and thus “optimizes” a second normalize() after such an operation.

(Is there a more appropriate place to report bugs?)