Home
last modified time | relevance | path

Searched refs:buffer_idx (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_atomics.c207 unsigned buffer_idx = 0; in gl_nir_link_assign_atomic_counter_resources() local
219 prog->data->AtomicBuffers + buffer_idx; in gl_nir_link_assign_atomic_counter_resources()
236 storage->atomic_buffer_index = buffer_idx; in gl_nir_link_assign_atomic_counter_resources()
259 buffer_idx++; in gl_nir_link_assign_atomic_counter_resources()
300 assert(buffer_idx == num_buffers); in gl_nir_link_assign_atomic_counter_resources()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c556 unsigned buffer_idx = elements[idx].vertex_buffer_index; in etna_vertex_elements_state_create() local
565 assert(buffer_idx < screen->specs.stream_count); in etna_vertex_elements_state_create()
572 elements[idx + 1].vertex_buffer_index != buffer_idx || in etna_vertex_elements_state_create()
587 VIVS_FE_VERTEX_ELEMENT_CONFIG_STREAM(buffer_idx) | in etna_vertex_elements_state_create()
595 VIVS_NFE_GENERIC_ATTRIB_CONFIG0_STREAM(buffer_idx) | in etna_vertex_elements_state_create()
608 if (buffer_mask & 1 << buffer_idx) in etna_vertex_elements_state_create()
609 … assert(cs->NFE_VERTEX_STREAMS_VERTEX_DIVISOR[buffer_idx] == elements[idx].instance_divisor); in etna_vertex_elements_state_create()
611 cs->NFE_VERTEX_STREAMS_VERTEX_DIVISOR[buffer_idx] = elements[idx].instance_divisor; in etna_vertex_elements_state_create()
613 buffer_mask |= 1 << buffer_idx; in etna_vertex_elements_state_create()
614 cs->num_buffers = MAX2(cs->num_buffers, buffer_idx + 1); in etna_vertex_elements_state_create()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cMapBufferAlignmentTests.cpp239 for (size_t buffer_idx = 0; buffer_idx < n_buffers; ++buffer_idx) in iterate() local
241 const BufferEnums& buffer = buffers[buffer_idx]; in iterate()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_robust_buffer_access.c30 uint32_t buffer_idx, in rewrite_offset() argument
39 size->src[0] = nir_src_for_ssa(nir_imm_int(b, buffer_idx)); in rewrite_offset()
/third_party/skia/third_party/externals/tint/src/transform/
Dvertex_pulling.cc286 for (uint32_t buffer_idx = 0; buffer_idx < cfg.vertex_state.size(); in CreateVertexPullingPreamble() local
287 ++buffer_idx) { in CreateVertexPullingPreamble()
289 cfg.vertex_state[buffer_idx]; in CreateVertexPullingPreamble()
296 std::to_string(buffer_idx) + " was " + in CreateVertexPullingPreamble()
308 "buffer_array_base_" + std::to_string(buffer_idx)); in CreateVertexPullingPreamble()
347 buffer_idx, attribute_desc.format); in CreateVertexPullingPreamble()