Home
last modified time | relevance | path

Searched refs:atomic_buffer (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/compiler/glsl/
Dlink_atomics.cpp280 struct gl_active_atomic_buffer *atomic_buffer = in link_assign_atomic_counter_resources() local
282 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()
Dgl_nir_link_atomics.c279 struct gl_active_atomic_buffer *atomic_buffer = in gl_nir_link_assign_atomic_counter_resources() local
281 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()
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.cpp6040 Utils::buffer atomic_buffer(m_context); in testAtomic() local
6057 atomic_buffer.generate(); in testAtomic()
6058atomic_buffer.update(GL_ATOMIC_COUNTER_BUFFER, sizeof(atomic_buffer_data), (GLvoid*)atomic_buffer_… in testAtomic()
6060atomic_buffer.bindRange(GL_ATOMIC_COUNTER_BUFFER, 0 /* index */, 0 /* offset */, sizeof(atomic_buf… in testAtomic()