[Mesa-dev] [PATCH 1/3] nir: Add a couple of helpers for glsl types.

Jason Ekstrand jason at jlekstrand.net
Wed Jan 28 20:32:01 PST 2015


Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

On Wed, Jan 28, 2015 at 5:50 PM, Matt Turner <mattst88 at gmail.com> wrote:

> On Wed, Jan 28, 2015 at 5:08 PM, Eric Anholt <eric at anholt.net> wrote:
> > This will be used by tgsi_to_nir, which needs to get vec4 types for
> > declaring shader input/output variables.
> > ---
> >  src/glsl/nir/nir_types.cpp | 12 ++++++++++++
> >  src/glsl/nir/nir_types.h   |  3 +++
> >  2 files changed, 15 insertions(+)
> >
> > diff --git a/src/glsl/nir/nir_types.cpp b/src/glsl/nir/nir_types.cpp
> > index fe00015..60760a2 100644
> > --- a/src/glsl/nir/nir_types.cpp
> > +++ b/src/glsl/nir/nir_types.cpp
> > @@ -141,3 +141,15 @@ glsl_void_type(void)
> >  {
> >     return glsl_type::void_type;
> >  }
> > +
> > +const glsl_type*
>
> Space before *.
>
> 1 & 2 are
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150128/7779ce82/attachment-0001.html>


More information about the mesa-dev mailing list