[Mesa-dev] [PATCH 0/2] nir: Add support for 8 and 16-bit types

Eduardo Lima Mitev elima at igalia.com
Wed Mar 29 07:41:54 UTC 2017


Both patches need rebase, but look fine otherwise.

Series is:

Reviewed-by: Eduardo Lima Mitev <elima at igalia.com>

On 03/09/2017 11:05 PM, Jason Ekstrand wrote:
> 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(-)
> 



More information about the mesa-dev mailing list