Searched refs:_ib (Results 1 – 4 of 4) sorted by relevance
647 const struct pipe_index_buffer *_ib) in galahad_context_set_index_buffer() argument653 if (_ib) { in galahad_context_set_index_buffer()654 if (_ib->buffer || _ib->user_buffer) { in galahad_context_set_index_buffer()655 switch (_ib->index_size) { in galahad_context_set_index_buffer()661 glhd_warn("unrecognized index size %d", _ib->index_size); in galahad_context_set_index_buffer()665 else if (_ib->offset || _ib->index_size) { in galahad_context_set_index_buffer()667 _ib->offset, _ib->index_size); in galahad_context_set_index_buffer()670 unwrapped_ib = *_ib; in galahad_context_set_index_buffer()671 unwrapped_ib.buffer = galahad_resource_unwrap(_ib->buffer); in galahad_context_set_index_buffer()
591 const struct pipe_index_buffer *_ib) in identity_set_index_buffer() argument597 if (_ib) { in identity_set_index_buffer()598 unwrapped_ib = *_ib; in identity_set_index_buffer()599 unwrapped_ib.buffer = identity_resource_unwrap(_ib->buffer); in identity_set_index_buffer()
813 const struct pipe_index_buffer *_ib) in rbug_set_index_buffer() argument819 if (_ib) { in rbug_set_index_buffer()820 unwrapped_ib = *_ib; in rbug_set_index_buffer()821 unwrapped_ib.buffer = rbug_resource_unwrap(_ib->buffer); in rbug_set_index_buffer()
1113 struct pipe_index_buffer _ib; in trace_context_set_index_buffer() local1114 _ib = *ib; in trace_context_set_index_buffer()1115 _ib.buffer = trace_resource_unwrap(tr_ctx, ib->buffer); in trace_context_set_index_buffer()1116 pipe->set_index_buffer(pipe, &_ib); in trace_context_set_index_buffer()