Lines Matching refs:unit
694 * "Setting a sampler's value to i selects texture image unit number
715 /* check that the sampler (tex unit index) is legal */
718 "glUniform1i(invalid sampler/tex unit index for "
1058 const unsigned unit = storage->storage[j].i;
1061 * unit must be an exact match. Page 74 (page 89 of the PDF) of the
1065 * types pointing to the same texture image unit within a program
1068 if (unit_types[unit] == NULL) {
1069 unit_types[unit] = t;
1070 } else if (unit_types[unit] != t) {
1072 "Texture unit %d is accessed both as %s and %s",
1073 unit, unit_types[unit]->name, t->name);