Lines Matching defs:max_constantsF
1018 unsigned max_constantsF;
1040 max_constantsF = gl_info->limits.glsl_ps_float_constants;
1056 max_constantsF = gl_info->limits.glsl_vs_float_constants - 3;
1059 max_constantsF -= gl_info->limits.clipplanes;
1061 max_constantsF -= count_bits(reg_maps->integer_constants);
1066 max_constantsF -= count_bits(reg_maps->boolean_constants);
1068 max_constantsF -= gl_info->reserved_glsl_constants;
1070 if (max_constantsF < shader->limits.constant_float)
1083 max_constantsF = gl_info->limits.glsl_vs_float_constants;
1086 max_constantsF = min(shader->limits.constant_float, max_constantsF);
1087 shader_addline(buffer, "uniform vec4 %s_c[%u];\n", prefix, max_constantsF);