Home | History | Annotate | Download | only in main

Lines Matching refs:consts

149 _mesa_override_gl_version_contextless(struct gl_constants *consts,
167 consts->ContextFlags |= GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT;
212 _mesa_override_glsl_version(struct gl_constants *consts)
223 n = sscanf(version, "%u", &consts->GLSLVersion);
235 const struct gl_constants *consts, gl_api api)
272 consts->GLSLVersion >= 130 &&
273 (consts->MaxSamples >= 4 || consts->FakeSWMSAA) &&
292 consts->GLSLVersion >= 140 &&
299 consts->Program[MESA_SHADER_VERTEX].MaxTextureImageUnits >= 16);
301 consts->GLSLVersion >= 150 &&
311 consts->GLSLVersion >= 330 &&
324 consts->GLSLVersion >= 400 &&
338 consts->GLSLVersion >= 410 &&
344 consts->GLSLVersion >= 420 &&
355 consts->GLSLVersion >= 430 &&
372 consts->GLSLVersion >= 440 &&
381 consts->GLSLVersion >= 450 &&
484 const struct gl_constants *consts)
516 consts->MaxComputeWorkGroupInvocations >= 128;
563 struct gl_constants *consts, gl_api api)
569 if (consts->GLSLVersion > 130) {
570 consts->GLSLVersion = 130;
574 return compute_version(extensions, consts, api);
578 return compute_version_es2(extensions, consts);