Home
last modified time | relevance | path

Searched refs:num_atomic_buffers (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dgl_nir_link_atomics.c197 unsigned num_atomic_buffers[MESA_SHADER_STAGES] = {0}; in gl_nir_link_assign_atomic_counter_resources() local
251 num_atomic_buffers[stage]++; in gl_nir_link_assign_atomic_counter_resources()
265 num_atomic_buffers[stage] <= 0) in gl_nir_link_assign_atomic_counter_resources()
269 gl_prog->info.num_abos = num_atomic_buffers[stage]; in gl_nir_link_assign_atomic_counter_resources()
273 num_atomic_buffers[stage]); in gl_nir_link_assign_atomic_counter_resources()
275 gl_prog->nir->info.num_abos = num_atomic_buffers[stage]; in gl_nir_link_assign_atomic_counter_resources()
Dlink_atomics.cpp208 unsigned num_atomic_buffers[MESA_SHADER_STAGES] = {}; in link_assign_atomic_counter_resources() local
258 num_atomic_buffers[j]++; in link_assign_atomic_counter_resources()
271 if (prog->_LinkedShaders[j] && num_atomic_buffers[j] > 0) { in link_assign_atomic_counter_resources()
273 gl_prog->info.num_abos = num_atomic_buffers[j]; in link_assign_atomic_counter_resources()
276 num_atomic_buffers[j]); in link_assign_atomic_counter_resources()