compiler/spirv: implement 16-bit atan2
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 18 Apr 2018 08:07:54 +0000 (10:07 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 2 Jan 2019 06:54:05 +0000 (07:54 +0100)
commitf18554e2ce570c2c560cc7db4a7511b814a1a7e7
tree2d88c9885adeefa14da578c2149a9d0c0e057624
parent1c8de08ec92bff7c44f9e4732c591b05ba1f2d76
compiler/spirv: implement 16-bit atan2

v2:
 - fix huge_val for 16-bit, it was mean't to be 2^14 not 10^14.

v3:
 - rebase on top of new bool sized opcodes
 - use nir_b2f helper
 - use nir_fmul_imm helper

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