[Mesa-dev] [PATCH 0/2] nir: Add support for 8 and 16-bit types
Jason Ekstrand
jason at jlekstrand.net
Thu Mar 9 22:05:14 UTC 2017
This tiny series adds support in NIR for 8 and 16-bit types. In
particular, it now supports int8_t, uint8_t, int16_t, uint16_t, and
float16_t. No 8-bit floating-point type is supported because 8-bit float
would be stupid.
These patches have been tested in Jenkins but no 8 or 16-bit code has been
run through it yet. Even if we're people don't want to land the second
patch (due to not having a vertical slice), I'd like to land the first
refactor patch.
Jason Ekstrand (2):
nir/constant_expressions: Refactor helper functions
nir: Add support for 8 and 16-bit types
src/compiler/nir/nir.h | 4 ++
src/compiler/nir/nir_constant_expressions.py | 67 +++++++++++++++++-----------
src/compiler/nir/nir_opcodes.py | 6 ++-
3 files changed, 51 insertions(+), 26 deletions(-)
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list