Lines Matching defs:index
107 * index==0 will be non-UBO (ie. glUniformXYZ()) all packed together padded
112 * index>0 will be UBO's.. well, I'll worry about that later
116 uint index, bool take_ownership,
122 util_copy_constant_buffer(&so->cb[index], cb, take_ownership);
128 so->enabled_mask &= ~(1 << index);
132 so->enabled_mask |= 1 << index;
137 if (index > 0) {
637 const uint32_t index = i + start + 1; /* UBOs start at index 1 */
640 util_copy_constant_buffer(&so->cb[index], NULL, false);
641 so->enabled_mask &= ~(1 << index);
646 util_copy_constant_buffer(&so->cb[index], &cb, false);
647 so->enabled_mask |= (1 << index);