nir: Add support for 16-bit types (half float, int16 and uint16)

Graphics / Mesa 3D Graphics Library / Mesa - Eduardo Lima Mitev [igalia.com] - 6 December 2017 07:57 EST

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

5165e222d1 nir: Add support for 16-bit types (half float, int16 and uint16)
src/compiler/nir/nir.c | 6 ++++++
src/compiler/nir/nir.h | 9 +++++++++
src/compiler/nir/nir_split_var_copies.c | 6 ++++++
src/compiler/nir_types.cpp | 18 ++++++++++++++++++
src/compiler/nir_types.h | 8 ++++++++
5 files changed, 47 insertions(+)

Upstream: cgit.freedesktop.org


  • Share