Home
last modified time | relevance | path

Searched refs:atomic_buffers (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlink_atomics.cpp310 unsigned atomic_buffers[MESA_SHADER_STAGES] = {}; in link_check_atomic_counter_resources() local
329 atomic_buffers[j]++; in link_check_atomic_counter_resources()
341 if (atomic_buffers[i] > ctx->Const.Program[i].MaxAtomicBuffers) in link_check_atomic_counter_resources()
Dgl_nir_link_atomics.c311 unsigned atomic_buffers[MESA_SHADER_STAGES] = {0}; in gl_nir_link_check_atomic_counter_resources() local
349 atomic_buffers[j]++; in gl_nir_link_check_atomic_counter_resources()
361 if (atomic_buffers[i] > ctx->Const.Program[i].MaxAtomicBuffers) in gl_nir_link_check_atomic_counter_resources()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.h75 struct pipe_shader_buffer atomic_buffers[PIPE_MAX_HW_ATOMIC_BUFFERS]; member
Dvirgl_context.c114 if (vctx->atomic_buffers[i].buffer == res) { in virgl_rebind_resource()
115 const struct pipe_shader_buffer *abo = &vctx->atomic_buffers[i]; in virgl_rebind_resource()
311 res = virgl_resource(vctx->atomic_buffers[i].buffer); in virgl_attach_res_atomic_buffers()
1185 pipe_resource_reference(&vctx->atomic_buffers[idx].buffer, in virgl_set_hw_atomic_buffers()
1187 vctx->atomic_buffers[idx] = buffers[i]; in virgl_set_hw_atomic_buffers()
1190 pipe_resource_reference(&vctx->atomic_buffers[idx].buffer, NULL); in virgl_set_hw_atomic_buffers()
1393 pipe_resource_reference(&vctx->atomic_buffers[i].buffer, NULL); in virgl_context_destroy()