Lines Matching defs:index
54 _mesa_GetActiveUniform_impl(GLuint program, GLuint index,
74 GL_UNIFORM, index);
78 "glGetActiveUniform(index)");
83 _mesa_get_program_resource_name(shProg, GL_UNIFORM, index, maxLength,
88 res, index, GL_TYPE, (GLint*) type,
92 res, index, GL_ARRAY_SIZE, (GLint*) size,
97 _mesa_GetActiveUniform(GLuint program, GLuint index,
101 _mesa_GetActiveUniform_impl(program, index, maxLength, length, size,
168 _mesa_error(ctx, GL_INVALID_VALUE, "glGetActiveUniformsiv(index)");
282 /* The array index specified by the uniform location is just the uniform
1034 unsigned unit = storage->opaque[shader_type].index + j;
1226 /* check that the sampler (tex unit index) is legal */
1229 "glUniform1i(invalid sampler/tex unit index for "
1247 "glUniform1i(invalid image unit index for uniform %d)",
1273 unsigned index = u_bit_scan(&mask);
1275 assert(index < MESA_SHADER_STAGES);
1276 new_driver_state |= ctx->DriverFlags.NewShaderConstants[index];
1458 /* The array index specified by the uniform location is just the
1477 * element that exceeds the highest array element index used, as
1543 unsigned unit = uni->opaque[i].index + offset + j;
1599 unsigned unit = uni->opaque[i].index + offset + j;
1923 * element that exceeds the highest array element index used, as
2025 /* The array index specified by the uniform location is just the
2068 * element that exceeds the highest array element index used, as
2124 unsigned unit = uni->opaque[i].index + offset + j;
2147 unsigned unit = uni->opaque[i].index + offset + j;