nir: Add support for 16-bit types (half float, int16 and uint16)
authorEduardo Lima Mitev <elima@igalia.com>
Sat, 1 Jul 2017 05:54:50 +0000 (07:54 +0200)
committerJose Maria Casanova Crespo <jmcasanova@igalia.com>
Wed, 6 Dec 2017 07:57:18 +0000 (08:57 +0100)
commit5165e222d15a546a550a3165dce05eac81f94482
tree2f9333a49c43e534cec2eddc05ca6ee46a72eba3
parent52b10c7f20cf1613e47d5320339e61029549c420
nir: Add support for 16-bit types (half float, int16 and uint16)

v2: Renamed glsl_half_float_type() to glsl_float16_t_type().
    (Jason Ekstrand)

Signed-off-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com>
Signed-off-by: Eduardo Lima <elima@igalia.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/compiler/nir/nir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_split_var_copies.c
src/compiler/nir_types.cpp
src/compiler/nir_types.h