Lines Matching refs:num_buffers
101 unsigned *num_buffers, int *offset, in process_atomic_variable() argument
115 var, buffers, num_buffers, offset, in process_atomic_variable()
127 (*num_buffers)++; in process_atomic_variable()
150 unsigned *num_buffers) in find_active_atomic_counters() argument
155 *num_buffers = 0; in find_active_atomic_counters()
169 var, buffers, num_buffers, &offset, i); in find_active_atomic_counters()
205 unsigned num_buffers; in link_assign_atomic_counter_resources() local
208 find_active_atomic_counters(ctx, prog, &num_buffers); in link_assign_atomic_counter_resources()
211 num_buffers); in link_assign_atomic_counter_resources()
212 prog->data->NumAtomicBuffers = num_buffers; in link_assign_atomic_counter_resources()
277 for (unsigned i = 0; i < num_buffers; i++) { in link_assign_atomic_counter_resources()
297 assert(i == num_buffers); in link_assign_atomic_counter_resources()
304 unsigned num_buffers; in link_check_atomic_counter_resources() local
306 find_active_atomic_counters(ctx, prog, &num_buffers); in link_check_atomic_counter_resources()