[Mesa-dev] [PATCH] glsl: Add new GLSL 1.50 constants.

Paul Berry stereotype441 at gmail.com
Sat Oct 12 03:16:57 CEST 2013


On 11 October 2013 17:53, Matt Turner <mattst88 at gmail.com> wrote:

> On Fri, Oct 11, 2013 at 5:29 PM, Paul Berry <stereotype441 at gmail.com>
> wrote:
> > This patch populates the following built-in GLSL 1.50 variables based
> > on constants stored in ctx->Const:
> >
> > - gl_MaxVertexOutputComponents
> > - gl_MaxGeometryInputComponents
> > - gl_MaxGeometryOutputComponents
> > - gl_MaxFragmentInputComponents
> > - gl_MaxGeometryTextureImageUnits
>
> Presumably this is the GS140 task (named
> gl_MaxGeometryTexture*Image*Units)?
>

Oops, yes, you're right.  I had a typo in my task list.  Fixed!


>
> > - gl_MaxGeometryOutputVertices
> > - gl_MaxGeometryTotalOutputComponents
> > - gl_MaxGeometryUniformComponents
> > - gl_MaxGeometryVaryingComponents
> >
> > On i965/gen7, fixes all Piglit tests in "spec/glsl-1.50/built-in
> > constants/*" except for gl_MaxCombinedTextureImageUnits and
> > gl_MaxGeometryUniformComponents.
> > ---
>
> Reviewed-by: Matt Turner <mattst88 at gmail.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20131011/58b58feb/attachment-0001.html>


More information about the mesa-dev mailing list