glsl: lower sqrt(abs()) and inversesqrt(abs()) if requested
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Mar 2017 13:58:22 +0000 (14:58 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 Mar 2017 21:02:12 +0000 (22:02 +0100)
commit737c734cd4851968542c58892e50c3afa55471ef
tree09c78c4876f1e5243a8b6e549234a770790097c8
parent448f4c0c891945ea3d440d26045db33580673db7
glsl: lower sqrt(abs()) and inversesqrt(abs()) if requested

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_optimization.h
src/compiler/glsl/lower_instructions.cpp