Lines Matching refs:consts
157 _mesa_override_gl_version_contextless(struct gl_constants *consts,
172 consts->ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT;
215 _mesa_override_glsl_version(struct gl_constants *consts)
226 n = sscanf(version, "%u", &consts->GLSLVersion);
238 const struct gl_constants *consts, gl_api api)
267 consts->GLSLVersion >= 130 &&
268 (consts->MaxSamples >= 4 || consts->FakeSWMSAA) &&
287 consts->GLSLVersion >= 140 &&
294 consts->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits >= 16);
296 consts->GLSLVersion >= 150 &&
306 consts->GLSLVersion >= 330 &&
319 consts->GLSLVersion >= 400 &&
332 consts->GLSLVersion >= 410 &&
338 consts->GLSLVersion >= 420 &&
349 consts->GLSLVersion >= 430 &&
350 consts->Program[MESA_SHADER_VERTEX].MaxUniformBlocks >= 14 &&
367 consts->GLSLVersion >= 440 &&
368 consts->MaxVertexAttribStride >= 2048 &&
377 consts->GLSLVersion >= 450 &&
386 consts->GLSLVersion >= 460 &&
496 const struct gl_constants *consts)
531 consts->MaxComputeWorkGroupInvocations >= 128;
533 consts->MaxVertexAttribStride >= 2048 &&
581 struct gl_constants *consts, gl_api api)
587 if (!consts->AllowHigherCompatVersion) {
588 consts->GLSLVersion = consts->GLSLVersionCompat;
592 return compute_version(extensions, consts, api);
596 return compute_version_es2(extensions, consts);