Searched refs:unit_types (Results 1 – 1 of 1) sorted by relevance
1043 const glsl_type *unit_types[MAX_COMBINED_TEXTURE_IMAGE_UNITS]; in _mesa_sampler_uniforms_are_valid() local1045 memset(unit_types, 0, sizeof(unit_types)); in _mesa_sampler_uniforms_are_valid()1068 if (unit_types[unit] == NULL) { in _mesa_sampler_uniforms_are_valid()1069 unit_types[unit] = t; in _mesa_sampler_uniforms_are_valid()1070 } else if (unit_types[unit] != t) { in _mesa_sampler_uniforms_are_valid()1073 unit, unit_types[unit]->name, t->name); in _mesa_sampler_uniforms_are_valid()