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

Jason Ekstrand jason at jlekstrand.net
Wed Mar 29 15:22:51 UTC 2017


On Wed, Mar 29, 2017 at 12:41 AM, Eduardo Lima Mitev <elima at igalia.com>
wrote:

> Both patches need rebase, but look fine otherwise.
>

The first has already landed (I think).  The second definitely needs
rebasing.  Yesterday, I rebased it on top of the other two
constant_expressions fixup patches I sent out:
https://patchwork.freedesktop.org/series/21244/  It would be nice if that
series landed first as it cleans things up substantially.


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

Thanks!


> 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(-)
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170329/89813832/attachment.html>


More information about the mesa-dev mailing list