Home
last modified time | relevance | path

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

/external/autotest/client/deps/glbench/src/
Dattributefetchtest.cc65 GLuint vertex_buffers[]) { in AttributeFetchShaderProgram() argument
89 glBindBuffer(GL_ARRAY_BUFFER, vertex_buffers[i]); in AttributeFetchShaderProgram()
120 GLuint vertex_buffers[8]; in Run() local
121 for (GLuint i = 0; i < sizeof(vertex_buffers) / sizeof(vertex_buffers[0]); in Run()
123 vertex_buffers[i] = vertex_buffer; in Run()
125 GLuint program = AttributeFetchShaderProgram(1, vertex_buffers); in Run()
129 program = AttributeFetchShaderProgram(2, vertex_buffers); in Run()
134 program = AttributeFetchShaderProgram(4, vertex_buffers); in Run()
139 program = AttributeFetchShaderProgram(8, vertex_buffers); in Run()
/external/mesa3d/src/gallium/drivers/i915/
Di915_context.c76 const void *buf = i915->vertex_buffers[i].is_user_buffer ? in i915_draw_vbo()
77 i915->vertex_buffers[i].buffer.user : NULL; in i915_draw_vbo()
79 buf = i915_buffer(i915->vertex_buffers[i].buffer.resource)->data; in i915_draw_vbo()
Di915_context.h240 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
Di915_surface.c65 i915->vertex_buffers); in i915_util_blitter_save_states()
Di915_state.c1015 util_set_vertex_buffers_count(i915->vertex_buffers, in i915_set_vertex_buffers()
/external/mesa3d/src/gallium/auxiliary/util/
Du_draw.c47 const struct pipe_vertex_buffer *vertex_buffers, in util_draw_max_index() argument
60 &vertex_buffers[element->vertex_buffer_index]; in util_draw_max_index()
Du_blitter.h520 struct pipe_vertex_buffer *vertex_buffers) in util_blitter_save_vertex_buffer_slot() argument
523 &vertex_buffers[blitter->vb_slot]); in util_blitter_save_vertex_buffer_slot()
Du_draw.h144 const struct pipe_vertex_buffer *vertex_buffers,
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_draw.c303 if (dstate->vertex_buffers[i].buffer.resource) { in dd_dump_draw_vbo()
304 DUMP_I(vertex_buffer, &dstate->vertex_buffers[i], i); in dd_dump_draw_vbo()
305 if (!dstate->vertex_buffers[i].is_user_buffer) in dd_dump_draw_vbo()
306 DUMP_M(resource, &dstate->vertex_buffers[i], buffer.resource); in dd_dump_draw_vbo()
692 memset(state->base.vertex_buffers, 0, in dd_init_copy_of_draw_state()
693 sizeof(state->base.vertex_buffers)); in dd_init_copy_of_draw_state()
729 for (i = 0; i < ARRAY_SIZE(dst->vertex_buffers); i++) in dd_unreference_copy_of_draw_state()
730 pipe_vertex_buffer_unreference(&dst->vertex_buffers[i]); in dd_unreference_copy_of_draw_state()
764 for (i = 0; i < ARRAY_SIZE(src->vertex_buffers); i++) { in dd_copy_draw_state()
765 pipe_vertex_buffer_reference(&dst->vertex_buffers[i], in dd_copy_draw_state()
[all …]
Ddd_pipe.h221 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
Ddd_context.c546 safe_memcpy(&dctx->draw_state.vertex_buffers[start], buffers, in dd_context_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c519 cik_prefetch_TC_L2_async(sctx, &sctx->vertex_buffers.buffer->b.b, in cik_prefetch_VBO_descriptors()
520 sctx->vertex_buffers.gpu_address - in cik_prefetch_VBO_descriptors()
521 sctx->vertex_buffers.buffer->gpu_address, in cik_prefetch_VBO_descriptors()
Dsi_descriptors.c988 struct si_descriptors *desc = &sctx->vertex_buffers; in si_vertex_buffers_begin_new_cs()
1015 struct si_descriptors *desc = &sctx->vertex_buffers; in si_upload_vertex_buffer_descriptors()
1922 sctx->vertex_buffer_pointer_dirty = sctx->vertex_buffers.buffer != NULL; in si_mark_shader_pointers_dirty()
1930 sctx->vertex_buffer_pointer_dirty = sctx->vertex_buffers.buffer != NULL; in si_shader_pointers_begin_new_cs()
2093 si_emit_shader_pointer(sctx, &sctx->vertex_buffers, in si_emit_graphics_shader_pointers()
2606 si_init_descriptors(&sctx->vertex_buffers, SI_SGPR_VERTEX_BUFFERS, in si_init_all_descriptors()
2608 FREE(sctx->vertex_buffers.list); /* not used */ in si_init_all_descriptors()
2609 sctx->vertex_buffers.list = NULL; in si_init_all_descriptors()
2712 sctx->vertex_buffers.list = NULL; /* points into a mapped buffer */ in si_release_all_descriptors()
2713 si_release_descriptors(&sctx->vertex_buffers); in si_release_all_descriptors()
Dsi_hw_context.c219 if (ctx->vertex_buffers.buffer && ctx->vertex_elements) in si_begin_new_cs()
Dsi_pipe.h498 struct si_descriptors vertex_buffers; member
Dsi_debug.c746 si_dump_descriptor_list(sctx->screen, &sctx->vertex_buffers, name, in si_dump_descriptors()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py234 self._state.vertex_buffers = []
436 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
500 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h271 struct pipe_vertex_buffer *vertex_buffers,
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c101 LLVMValueRef vertex_buffers; member
690 &ctx->vertex_buffers); in declare_vs_specific_input_sgprs()
5342 LLVMValueRef t_list_ptr = ctx->vertex_buffers; in handle_vs_input_decl()