Commit b94a926f authored by Brian Paul's avatar Brian Paul

st/mesa: init program MaxLocalParams, MaxEnvParams limits

Use the same limit for all parameter classes.
parent 8adaed93
......@@ -170,6 +170,12 @@ void st_init_limits(struct st_context *st)
/* raise MaxParameters if native support is higher */
pc->MaxParameters = MAX2(pc->MaxParameters, pc->MaxNativeParameters);
/* Gallium doesn't really care about local vs. env parameters so use the
* same limits.
pc->MaxLocalParams = pc->MaxParameters;
pc->MaxEnvParams = pc->MaxParameters;
options->EmitNoNoise = TRUE;
/* TODO: make these more fine-grained if anyone needs it */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment