mesa/src/compiler/spirv
Kristian H. Kristensen 9f9432d56c 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>
2020-03-05 15:23:31 +00:00
..
gl_spirv.c spirv: Rename vtn_decoration literals to operands 2019-04-23 14:58:01 -07:00
GLSL.ext.AMD.h spirv: import AMD extensions header from glslang 2018-03-07 23:09:58 +01:00
GLSL.std.450.h spirv: bump headers to SPIRV 1.1 2017-01-25 17:22:23 +00:00
meson.build meson: Build with Python 3 2018-08-10 15:15:09 -07:00
nir_spirv.h nir, intel: Move use_scoped_memory_barrier to nir_options 2020-02-24 19:12:11 +00:00
OpenCL.std.h spirv: Update the OpenCL.std.h header 2019-06-04 12:12:51 -07:00
spirv.core.grammar.json spirv: Update JSON and headers to 1.5 2019-09-16 19:17:26 -07:00
spirv.h spirv: Update JSON and headers to 1.5 2019-09-16 19:17:26 -07:00
spirv2nir.c spirv2nir: Add kernel spirv support 2020-02-14 11:14:58 +00:00
spirv_info.h spirv: Add imageoperands_to_string helper 2019-10-24 11:39:56 -07:00
spirv_info_c.py spirv: Add imageoperands_to_string helper 2019-10-24 11:39:56 -07:00
spirv_to_nir.c spirv: fix memory_barrier_tcs_patch emission 2020-03-03 11:49:40 +00:00
vtn_alu.c nir/spirv: Translate SPIR-V to NIR for new INTEL_shader_integer_functions2 opcodes 2020-01-23 00:18:57 +00:00
vtn_amd.c spirv: implement SPV_AMD_shader_explicit_vertex_parameter 2020-01-29 09:49:50 +00:00
vtn_cfg.c nir/spirv: skip unreachable blocks in Phi second pass 2020-01-08 11:32:24 +01:00
vtn_gather_types_c.py spirv: Add a prepass to set types on vtn_values 2017-12-11 22:28:34 -08:00
vtn_glsl450.c Revert "spirv: Use a simpler and more correct implementaiton of tanh()" 2020-03-05 15:23:31 +00:00
vtn_opencl.c spirv/opencl: Cast opcode up front to avoid warnings 2020-02-04 06:03:52 +00:00
vtn_private.h spirv: implement SPV_AMD_shader_explicit_vertex_parameter 2020-01-29 09:49:50 +00:00
vtn_subgroup.c spirv: fix lowering of OpGroupNonUniformAllEqual 2019-11-19 18:01:13 +00:00
vtn_variables.c compiler/spirv: Add support for non-constant initializers 2020-02-12 15:41:49 +00:00