compiler/spirv: implement 16-bit hyperbolic trigonometric functions
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 18 Apr 2018 08:14:11 +0000 (10:14 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 2 Jan 2019 06:54:05 +0000 (07:54 +0100)
commit7d3c34197a5d357473f8b3090dd24d6e0dfea2e4
treefb212a4b56d2fe8a40c131af4c1af2bb6f4a985b
parent88663ba67c3438d7bac003fc6060a602f5189c39
compiler/spirv: implement 16-bit hyperbolic trigonometric functions

v2:
 - use nir_fadd_imm and nir_fmul_imm helpers (Jason)

v3:
 - since we need to define one for fsub use it for fdiv too (Jason)

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/spirv/vtn_glsl450.c