mesa/src/compiler
Kristian H. Kristensen 7df7071bf5 Revert "spirv: Use a simpler and more correct implementaiton of tanh()"
This reverts commit da1c49171d.

The reduced formula has precision problems on fp16 around 0.  Bring
back the old formula, but make sure to keep the clamping.

Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4054>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4054>
(cherry picked from commit 9f9432d56c)
2020-03-06 22:59:43 +01:00
..
glsl Revert "glsl: Use a simpler formula for tanh" 2020-03-06 22:59:42 +01:00
nir .pick_status.json: Update to 74e4cda64b 2020-03-06 22:56:48 +01:00
spirv Revert "spirv: Use a simpler and more correct implementaiton of tanh()" 2020-03-06 22:59:43 +01:00
Android.glsl.gen.mk mesa: android: Remove unnecessary dependency tracking rules 2019-05-06 11:29:25 +00:00
Android.glsl.mk android: glsl: build shader cache sources 2017-02-20 16:30:37 +00:00
Android.mk
Android.nir.gen.mk nir: Add missing dependency in Android.nir.gen.mk 2019-08-19 09:53:18 +03:00
Android.nir.mk android: fix libmesa_nir build 2017-07-21 08:47:56 +03:00
builtin_type_macros.h glsl_types: vec8/vec16 support 2018-03-25 10:42:54 -04:00
glsl_types.cpp glsl: disallow incompatible matrices multiplication 2019-09-27 21:42:09 +00:00
glsl_types.h Move blob from compiler/ to util/ 2019-09-19 19:56:22 +00:00
Makefile.sources nir: add nir_lower_amul pass 2019-10-18 15:08:54 -07:00
meson.build meson: drop unused inc_nir 2019-10-07 21:49:40 +01:00
nir_types.cpp nir: define 8-byte size and alignment for bindless variables 2019-09-23 15:34:22 -04:00
nir_types.h compiler: Add glsl_contains_opaque() helper 2019-09-10 14:36:46 -07:00
SConscript spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
SConscript.glsl scons: Generate float64_glsl.h for glsl_to_nir fp64 lowering 2019-03-02 14:33:44 -08:00
SConscript.nir nir: mako all the intrinsics 2018-03-27 08:36:37 -04:00
SConscript.spirv spirv: Fix building with SCons 2018-03-30 14:33:03 -06:00
shader_enums.c freedreno/ir3: Implement lowering passes for VS and GS 2019-10-17 13:43:53 -07:00
shader_enums.h freedreno/ir3: Implement lowering passes for VS and GS 2019-10-17 13:43:53 -07:00
shader_info.h spirv: Add SpvMemoryModelVulkan and related capabilities 2019-10-24 11:39:56 -07:00