compiler/spirv: implement 16-bit asin
authorIago Toral Quiroga <itoral@igalia.com>
Wed, 18 Apr 2018 06:47:53 +0000 (08:47 +0200)
committerIago Toral Quiroga <itoral@igalia.com>
Wed, 2 Jan 2019 06:54:05 +0000 (07:54 +0100)
commitdbbbe24d7656d6562dd62f389cf0bbc363cd65fc
tree02002b11f21f61c79a74641bcd654ecd1f59f2f8
parent95b7c29c2c36f0f7eec363224ce1ad7b114522f1
compiler/spirv: implement 16-bit asin

v2:
  - use nir_fmul_imm and nir_fadd_imm helpers (Jason)

v3:
 - missed one case where we need to replace nir_imm_float
   with nir_imm_floatN_t (Jason)

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