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

Matt Turner mattst88 at gmail.com
Sat Oct 12 02:53:54 CEST 2013


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)?

> - 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>


More information about the mesa-dev mailing list