diff options
author | Samuel Iglesias Gonsálvez <[email protected]> | 2016-12-07 08:34:42 +0100 |
---|---|---|
committer | Samuel Iglesias Gonsálvez <[email protected]> | 2017-01-09 09:10:13 +0100 |
commit | 27cf6a369fcec15a9f65837507f57dbd8bdfaaaa (patch) | |
tree | b77a86495b85fe83f02bb7a9e9dd504f90738637 /src/compiler/spirv/vtn_alu.c | |
parent | 3a571fcc43e70731417f0b81cbce4b0a0c1be71d (diff) |
nir: add nir_type_conversion_op()
This function returns the nir_op corresponding to the conversion between
the given nir_alu_type arguments.
This function lacks support for integer-based types with bit_size != 32
and for float16 conversion ops.
v2:
- Improve readiness of the code and delete cases that don't happen now (Jason)
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/spirv/vtn_alu.c')
0 files changed, 0 insertions, 0 deletions