mesa/st: ask GLSL to not emit noise since we have a dummy implementation
authorLuca Barbieri <luca@luca-barbieri.com>
Tue, 14 Sep 2010 03:10:59 +0000 (05:10 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Tue, 14 Sep 2010 04:08:03 +0000 (06:08 +0200)
commitfbc7c9b7a9d9df979ea82136d2b74121e5d4346e
treea61b356d5158d54c690eac91773981afa94ddcc3
parentb37459388b22fb6a831d45bc08e51cdb7b9c610c
mesa/st: ask GLSL to not emit noise since we have a dummy implementation

Note, BTW, that the Gallium implementation returns 0.5, which seems
to violate the GLSL spec, where it should return 0.0 instead.

Not sure whether changing it to 0 is correct or not.
src/mesa/state_tracker/st_extensions.c