glsl: Implement saturate as ir_unop_saturate

Graphics / Mesa 3D Graphics Library / Mesa - Abdiel Janulgue [linux.intel.com] - 31 August 2014 13:04 UTC

Now that we have the ir_unop_saturate implemented as a single instruction, generate the correct simplified expression.

cbd0d64 glsl: Implement saturate as ir_unop_saturate
src/glsl/ir_builder.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share