driconf: add force_glsl_abs_sqrt option
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 17 Mar 2017 00:06:54 +0000 (01:06 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 22 Mar 2017 21:01:01 +0000 (22:01 +0100)
commit448f4c0c891945ea3d440d26045db33580673db7
treecf287512bbc4fa2f06a3f842a19455db49c599d3
parent08f864abd9e241c7db9c99212a66cdad69bdd4d8
driconf: add force_glsl_abs_sqrt option

This will allow to force computing the absolute value for sqrt()
and inversesqrt() in order to follow D3D9 behaviour for buggy
apps that rely on it.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/state_tracker/st_api.h
src/gallium/state_trackers/dri/dri_screen.c
src/mesa/drivers/dri/common/xmlpool/t_options.h
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/intel_screen.c
src/mesa/main/mtypes.h
src/mesa/state_tracker/st_extensions.c