mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-29 22:30:24 +01:00
st/mesa: init program MaxLocalParams, MaxEnvParams limits
Use the same limit for all parameter classes.
This commit is contained in:
parent
8adaed9347
commit
b94a926f39
1 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue