Home
last modified time | relevance | path

Searched refs:buffer_idx (Results 1 – 8 of 8) 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/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c255 sink->buffer_idx = 0; in gst_openal_sink_init()
910 sink->buffer_idx = 0; in gst_openal_sink_prepare()
953 sink->buffer_idx = 0; in gst_openal_sink_unprepare()
1018 alBufferData (sink->buffers[sink->buffer_idx], sink->format, in gst_openal_sink_write()
1021 &sink->buffers[sink->buffer_idx]); in gst_openal_sink_write()
1022 sink->buffer_idx = (sink->buffer_idx + 1) % sink->buffer_count; in gst_openal_sink_write()
Dgstopenalsink.h87 ALuint buffer_idx; member
/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()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamcvideodec.c115 gint buffer_idx; /* idx of the AMC buffer we should render */ member
920 sync, sync->buffer_idx, sync->gl_frame_no, render ? "TRUE" : "FALSE"); in _gl_sync_release_buffer()
931 sync->buffer_idx, render, &error)) { in _gl_sync_release_buffer()
934 sync->buffer_idx, sync->gl_frame_no); in _gl_sync_release_buffer()
1448 sync->buffer_idx = idx; in gst_amc_video_dec_loop()