aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/standalone_scaffolding.cpp')
-rw-r--r--mesalib/src/glsl/standalone_scaffolding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/glsl/standalone_scaffolding.cpp b/mesalib/src/glsl/standalone_scaffolding.cpp
index 11cd6cdc0..6dec205f7 100644
--- a/mesalib/src/glsl/standalone_scaffolding.cpp
+++ b/mesalib/src/glsl/standalone_scaffolding.cpp
@@ -116,11 +116,13 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api)
ctx->Const.VertexProgram.MaxAttribs = 16;
ctx->Const.VertexProgram.MaxUniformComponents = 512;
+ ctx->Const.VertexProgram.MaxOutputComponents = 32;
ctx->Const.MaxVarying = 8; /* == gl_MaxVaryingFloats / 4 */
ctx->Const.VertexProgram.MaxTextureImageUnits = 0;
ctx->Const.MaxCombinedTextureImageUnits = 2;
ctx->Const.FragmentProgram.MaxTextureImageUnits = 2;
ctx->Const.FragmentProgram.MaxUniformComponents = 64;
+ ctx->Const.FragmentProgram.MaxInputComponents = 32;
ctx->Const.MaxDrawBuffers = 1;