Searched refs:bufidx (Results 1 – 2 of 2) sorted by relevance
592 unsigned bufidx; in setup_non_interleaved_attribs() local597 bufidx = num_vbuffers++; in setup_non_interleaved_attribs()616 vbuffer[bufidx].buffer.resource = stobj->buffer; in setup_non_interleaved_attribs()617 vbuffer[bufidx].is_user_buffer = false; in setup_non_interleaved_attribs()618 vbuffer[bufidx].buffer_offset = pointer_to_offset(array->Ptr); in setup_non_interleaved_attribs()630 vbuffer[bufidx].is_user_buffer = false; in setup_non_interleaved_attribs()631 vbuffer[bufidx].buffer.resource = NULL; in setup_non_interleaved_attribs()645 &vbuffer[bufidx].buffer_offset, in setup_non_interleaved_attribs()646 &vbuffer[bufidx].buffer.resource); in setup_non_interleaved_attribs()647 unref_buffers |= 1u << bufidx; in setup_non_interleaved_attribs()[all …]
100 unsigned i, bufidx; in si_set_streamout_targets() local179 bufidx = SI_VS_STREAMOUT_BUF0 + i; in si_set_streamout_targets()191 uint32_t *desc = descs->list + bufidx*4; in si_set_streamout_targets()202 pipe_resource_reference(&buffers->buffers[bufidx], in si_set_streamout_targets()211 buffers->enabled_mask |= 1u << bufidx; in si_set_streamout_targets()214 memset(descs->list + bufidx*4, 0, in si_set_streamout_targets()216 pipe_resource_reference(&buffers->buffers[bufidx], in si_set_streamout_targets()218 buffers->enabled_mask &= ~(1u << bufidx); in si_set_streamout_targets()222 bufidx = SI_VS_STREAMOUT_BUF0 + i; in si_set_streamout_targets()224 memset(descs->list + bufidx*4, 0, sizeof(uint32_t) * 4); in si_set_streamout_targets()[all …]