Lines Matching defs:uni
2719 const struct gl_uniform_storage *uni;
2751 uni = res->Data;
2752 values[0] = uni->num_compatible_subroutines;
2759 uni = res->Data;
2764 if (fn->types[j] == uni->type) {
2776 uni = res->Data;
2777 values[0] = uni->array_elements ? uni->array_elements : 1;
2888 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
2889 if (uni == NULL) {
2895 _mesa_flush_vertices_for_uniforms(ctx, uni);
2899 int uni_count = uni->array_elements ? uni->array_elements : 1;
2919 if (subfn->types[k] == uni->type)
3090 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
3094 if (!uni) {
3099 uni_count = uni->array_elements ? uni->array_elements : 1;
3102 memcpy(&uni->storage[j], &val, sizeof(int));
3105 _mesa_propagate_uniforms_to_driver_storage(uni, 0, uni_count);
3133 struct gl_uniform_storage *uni = p->sh.SubroutineUniformRemapTable[i];
3135 if (!uni)
3138 binding->IndexPtr[i] = find_compat_subroutine(p, uni->type);