Lines Matching refs:Const
951 v->value_int = ctx->Const.MaxVarying * 4;
1148 v->value_int = ctx->Const.Program[MESA_SHADER_VERTEX].MaxUniformComponents / 4;
1152 v->value_int = ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxUniformComponents / 4;
1301 assert(ctx->Const.NumProgramBinaryFormats <= 1);
1302 v->value_int_n.n = MIN2(ctx->Const.NumProgramBinaryFormats, 1);
1303 if (ctx->Const.NumProgramBinaryFormats > 0) {
1353 v->value_int_n.n = ctx->Const.NumSupportedMultisampleModes * 3;
1354 memcpy(v->value_int_n.ints, ctx->Const.SupportedMultisampleModes,
1462 if (d->pname - GL_DRAW_BUFFER0_ARB >= ctx->Const.MaxDrawBuffers) {
1469 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) {
1476 if (d->pname - GL_CLIP_DISTANCE0 >= ctx->Const.MaxClipPlanes) {
1484 if (ctx->Const.GLSLVersion >= 130)
2509 if (index >= ctx->Const.MaxDrawBuffers)
2519 if (index >= ctx->Const.MaxDrawBuffers)
2526 if (index >= ctx->Const.MaxDrawBuffers)
2535 if (index >= ctx->Const.MaxDrawBuffers)
2542 if (index >= ctx->Const.MaxDrawBuffers)
2549 if (index >= ctx->Const.MaxDrawBuffers)
2556 if (index >= ctx->Const.MaxDrawBuffers)
2564 if (index >= ctx->Const.MaxDrawBuffers)
2575 if (index >= ctx->Const.MaxViewports)
2586 if (index >= ctx->Const.MaxWindowRectangles)
2595 if (index >= ctx->Const.MaxViewports)
2604 if (index >= ctx->Const.MaxViewports)
2611 if (index >= ctx->Const.MaxTransformFeedbackBuffers)
2619 if (index >= ctx->Const.MaxTransformFeedbackBuffers)
2628 if (index >= ctx->Const.MaxTransformFeedbackBuffers)
2636 if (index >= ctx->Const.MaxUniformBufferBindings)
2645 if (index >= ctx->Const.MaxUniformBufferBindings)
2654 if (index >= ctx->Const.MaxUniformBufferBindings)
2666 if (index >= ctx->Const.MaxShaderStorageBufferBindings)
2675 if (index >= ctx->Const.MaxShaderStorageBufferBindings)
2684 if (index >= ctx->Const.MaxShaderStorageBufferBindings)
2702 if (index >= ctx->Const.MaxAtomicBufferBindings)
2711 if (index >= ctx->Const.MaxAtomicBufferBindings)
2720 if (index >= ctx->Const.MaxAtomicBufferBindings)
2730 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs)
2738 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs)
2746 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs)
2754 if (index >= ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs)
2766 if (index >= ctx->Const.MaxImageUnits)
2777 if (index >= ctx->Const.MaxImageUnits)
2786 if (index >= ctx->Const.MaxImageUnits)
2795 if (index >= ctx->Const.MaxImageUnits)
2804 if (index >= ctx->Const.MaxImageUnits)
2813 if (index >= ctx->Const.MaxImageUnits)
2861 v->value_uint = ctx->Const.MaxComputeWorkGroupCount[index];
2869 v->value_int = ctx->Const.MaxComputeWorkGroupSize[index];
2878 v->value_int = ctx->Const.MaxComputeVariableGroupSize[index];
2927 if (index >= ctx->Const.MaxTextureCoordUnits)
2949 if (index >= ctx->Const.MaxViewports)
2956 if (index >= ctx->Const.MaxViewports)
2963 if (index >= ctx->Const.MaxViewports)
2970 if (index >= ctx->Const.MaxViewports)