Lines Matching defs:uni
2913 const struct gl_uniform_storage *uni;
2945 uni = res->Data;
2946 values[0] = uni->num_compatible_subroutines;
2953 uni = res->Data;
2958 if (fn->types[j] == uni->type) {
2970 uni = res->Data;
2971 values[0] = uni->array_elements ? uni->array_elements : 1;
3082 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
3083 if (uni == NULL) {
3089 _mesa_flush_vertices_for_uniforms(ctx, uni);
3093 int uni_count = uni->array_elements ? uni->array_elements : 1;
3113 if (subfn->types[k] == uni->type)
3811 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
3815 if (!uni) {
3820 uni_count = uni->array_elements ? uni->array_elements : 1;
3823 memcpy(&uni->storage[j], &val, sizeof(int));
3826 _mesa_propagate_uniforms_to_driver_storage(uni, 0, uni_count);
3854 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
3856 if (!uni)
3859 binding->IndexPtr[i] = find_compat_subroutine(p, uni->type);