Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_draw_elements.c73 struct svga_buffer *src_sbuf = NULL; in translate_indices() local
84 src_sbuf = svga_buffer(info->index.resource); in translate_indices()
89 if (src_sbuf && !screen->debug.no_cache_index_buffers) { in translate_indices()
91 if (src_sbuf->translated_indices.buffer && in translate_indices()
92 src_sbuf->translated_indices.orig_prim == info->mode && in translate_indices()
93 src_sbuf->translated_indices.new_prim == gen_prim && in translate_indices()
94 src_sbuf->translated_indices.offset == offset && in translate_indices()
95 src_sbuf->translated_indices.count == orig_nr && in translate_indices()
96 src_sbuf->translated_indices.index_size == gen_size) { in translate_indices()
97 pipe_resource_reference(out_buf, src_sbuf->translated_indices.buffer); in translate_indices()
[all …]