mesa: add gl_constants::GLSLOptimizeConservatively
authorMarek Olšák <marek.olsak@amd.com>
Sat, 31 Dec 2016 12:42:09 +0000 (13:42 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Jan 2017 12:07:12 +0000 (13:07 +0100)
commit0a5018c1a483abe6c4dddc6c65a7f4e939efc726
tree17a58572cfb31f921c54399c5b28b1434cff0532
parente51baeb6c1386681d8f9c285a8f4912d91fad7ee
mesa: add gl_constants::GLSLOptimizeConservatively

to reduce the amount of GLSL optimizations for drivers that can do better.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/glsl/glsl_parser_extras.cpp
src/compiler/glsl/linker.cpp
src/mesa/main/ff_fragment_shader.cpp
src/mesa/main/mtypes.h