mesa: add const flags to skip MaxVarying and MaxUniform linker checks (v2)
This is only temporary until a better solution is available. v2: print warnings and add gallium CAPs Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
@@ -222,6 +222,12 @@ void st_init_limits(struct st_context *st)
|
||||
c->UniformBooleanTrue = ~0;
|
||||
|
||||
c->StripTextureBorder = GL_TRUE;
|
||||
|
||||
c->GLSLSkipStrictMaxUniformLimitCheck =
|
||||
screen->get_param(screen, PIPE_CAP_TGSI_CAN_COMPACT_CONSTANTS);
|
||||
|
||||
c->GLSLSkipStrictMaxVaryingLimitCheck =
|
||||
screen->get_param(screen, PIPE_CAP_TGSI_CAN_COMPACT_VARYINGS);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user