Searched refs:atomic_buffer (Results 1 – 3 of 3) sorted by relevance
280 struct gl_active_atomic_buffer *atomic_buffer = in link_assign_atomic_counter_resources() local282 if (atomic_buffer->StageReferences[j]) { in link_assign_atomic_counter_resources()283 gl_prog->sh.AtomicBuffers[intra_stage_idx] = atomic_buffer; in link_assign_atomic_counter_resources()285 for (unsigned u = 0; u < atomic_buffer->NumUniforms; u++) { in link_assign_atomic_counter_resources()286 prog->data->UniformStorage[atomic_buffer->Uniforms[u]].opaque[j].index = in link_assign_atomic_counter_resources()288 prog->data->UniformStorage[atomic_buffer->Uniforms[u]].opaque[j].active = in link_assign_atomic_counter_resources()
279 struct gl_active_atomic_buffer *atomic_buffer = in gl_nir_link_assign_atomic_counter_resources() local281 if (!atomic_buffer->StageReferences[stage]) in gl_nir_link_assign_atomic_counter_resources()284 gl_prog->sh.AtomicBuffers[intra_stage_idx] = atomic_buffer; in gl_nir_link_assign_atomic_counter_resources()286 for (unsigned u = 0; u < atomic_buffer->NumUniforms; u++) { in gl_nir_link_assign_atomic_counter_resources()287 GLuint uniform_loc = atomic_buffer->Uniforms[u]; in gl_nir_link_assign_atomic_counter_resources()
6040 Utils::buffer atomic_buffer(m_context); in testAtomic() local6057 atomic_buffer.generate(); in testAtomic()6058 …atomic_buffer.update(GL_ATOMIC_COUNTER_BUFFER, sizeof(atomic_buffer_data), (GLvoid*)atomic_buffer_… in testAtomic()6060 …atomic_buffer.bindRange(GL_ATOMIC_COUNTER_BUFFER, 0 /* index */, 0 /* offset */, sizeof(atomic_buf… in testAtomic()