Home
last modified time | relevance | path

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

12

/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 if (!i915->vertex_buffers[i].buffer.resource) in i915_draw_vbo()
81 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()
/external/deqp-deps/amber/src/amberscript/
Dparser_bind_test.cc683 const auto& vertex_buffers = pipeline->GetVertexBuffers(); in TEST_F() local
684 ASSERT_EQ(2u, vertex_buffers.size()); in TEST_F()
686 const auto& info1 = vertex_buffers[0]; in TEST_F()
691 const auto& info2 = vertex_buffers[1]; in TEST_F()
746 const auto& vertex_buffers = pipeline->GetVertexBuffers(); in TEST_F() local
747 ASSERT_EQ(2u, vertex_buffers.size()); in TEST_F()
749 const auto& info1 = vertex_buffers[0]; in TEST_F()
754 const auto& info2 = vertex_buffers[1]; in TEST_F()
891 const auto& vertex_buffers = pipeline->GetVertexBuffers(); in TEST_F() local
892 ASSERT_EQ(2u, vertex_buffers.size()); in TEST_F()
[all …]
/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_draw.h151 const struct pipe_vertex_buffer *vertex_buffers,
Du_blitter.h546 struct pipe_vertex_buffer *vertex_buffers) in util_blitter_save_vertex_buffer_slot() argument
549 &vertex_buffers[blitter->vb_slot]); in util_blitter_save_vertex_buffer_slot()
/external/mesa3d/src/amd/vulkan/
Dradv_shader_args.h39 struct ac_arg vertex_buffers; member
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_blit.c40 util_blitter_save_vertex_buffer_slot(blitter, ctx->vertex_buffers); in panfrost_blitter_save()
Dpan_context.h153 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/external/deqp-deps/amber/src/dawn/
Dpipeline_info.h61 std::vector<::dawn::Buffer> vertex_buffers; member
Dengine_dawn.cc1244 if (render_pipeline->vertex_buffers.size() > 1) in DoDrawRect()
1392 for (uint32_t i = 0; i < render_pipeline->vertex_buffers.size(); i++) { in DoDrawArrays()
1394 render_pipeline->vertex_buffers[i], /* buffer */ in DoDrawArrays()
1590 render_pipeline->vertex_buffers.emplace_back(CreateBufferFromData( in AttachBuffersAndTextures()
/external/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_draw.c375 if (dstate->vertex_buffers[i].buffer.resource) { in dd_dump_draw_vbo()
376 DUMP_I(vertex_buffer, &dstate->vertex_buffers[i], i); in dd_dump_draw_vbo()
377 if (!dstate->vertex_buffers[i].is_user_buffer) in dd_dump_draw_vbo()
378 DUMP_M(resource, &dstate->vertex_buffers[i], buffer.resource); in dd_dump_draw_vbo()
774 memset(state->base.vertex_buffers, 0, in dd_init_copy_of_draw_state()
775 sizeof(state->base.vertex_buffers)); in dd_init_copy_of_draw_state()
811 for (i = 0; i < ARRAY_SIZE(dst->vertex_buffers); i++) in dd_unreference_copy_of_draw_state()
812 pipe_vertex_buffer_unreference(&dst->vertex_buffers[i]); in dd_unreference_copy_of_draw_state()
846 for (i = 0; i < ARRAY_SIZE(src->vertex_buffers); i++) { in dd_copy_draw_state()
847 pipe_vertex_buffer_reference(&dst->vertex_buffers[i], in dd_copy_draw_state()
[all …]
Ddd_pipe.h228 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; member
/external/mesa3d/src/gallium/drivers/lima/
Dlima_state.c190 struct lima_context_vertex_buffer *so = &ctx->vertex_buffers; in lima_set_vertex_buffers()
433 struct lima_context_vertex_buffer *so = &ctx->vertex_buffers; in lima_state_fini()
Dlima_context.h194 struct lima_context_vertex_buffer vertex_buffers; member
Dlima_resource.c717 ctx->vertex_buffers.vb); in lima_util_blitter_save_states()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py235 self._state.vertex_buffers = []
437 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
501 vbuf = self._state.vertex_buffers[velem.vertex_buffer_index]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_internal.h87 struct ac_arg vertex_buffers; member
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_cmd_buffer.c386 cmd->u.vertex_buffers.first = firstBinding; in lvp_CmdBindVertexBuffers()
387 cmd->u.vertex_buffers.binding_count = bindingCount; in lvp_CmdBindVertexBuffers()
395 cmd->u.vertex_buffers.buffers = buffers; in lvp_CmdBindVertexBuffers()
396 cmd->u.vertex_buffers.offsets = offsets; in lvp_CmdBindVertexBuffers()
Dlvp_private.h924 struct lvp_cmd_bind_vertex_buffers vertex_buffers; member
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c598 struct pipe_vertex_buffer vertex_buffers[PIPE_MAX_ATTRIBS]; in virgl_hw_set_vertex_buffers() local
600 vertex_buffers[i] = vctx->vertex_buffer[ve->binding_map[i]]; in virgl_hw_set_vertex_buffers()
602 virgl_encoder_set_vertex_buffers(vctx, ve->num_bindings, vertex_buffers); in virgl_hw_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/iris/
Diris_state.c1119 struct iris_vertex_buffer_state vertex_buffers[33]; member
3426 &genx->vertex_buffers[start_slot + i]; in iris_set_vertex_buffers()
5158 struct pipe_resource *res = genx->vertex_buffers[i].resource; in iris_restore_render_saved_bos()
6197 &(ice->state.genx->vertex_buffers[count]); in iris_upload_dirty_render_state()
6218 &(ice->state.genx->vertex_buffers[count]); in iris_upload_dirty_render_state()
6245 iris_use_optional_res(batch, genx->vertex_buffers[i].resource, in iris_upload_dirty_render_state()
6266 (void *) genx->vertex_buffers[i].resource; in iris_upload_dirty_render_state()
6298 memcpy(map, genx->vertex_buffers[i].state, in iris_upload_dirty_render_state()
6903 for (unsigned i = 0; i < ARRAY_SIZE(genx->vertex_buffers); i++) { in iris_destroy_state()
6904 pipe_resource_reference(&genx->vertex_buffers[i].resource, NULL); in iris_destroy_state()
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.h435 struct pipe_vertex_buffer *vertex_buffers,
/external/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c1578 cmd->state.vertex_buffers.iova = tu_cs_draw_state(&cmd->sub_cs, &cs, 4 * MAX_VBS).iova; in tu_CmdBindVertexBuffers2EXT()
2100 if (cmd->state.vertex_buffers.size != pipeline->num_vbs * 4) { in tu_CmdBindPipeline()
2101 cmd->state.vertex_buffers.size = pipeline->num_vbs * 4; in tu_CmdBindPipeline()
3341 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_VB, cmd->state.vertex_buffers); in tu6_draw_common()
3386 tu_cs_emit_draw_state(cs, TU_DRAW_STATE_VB, cmd->state.vertex_buffers); in tu6_draw_common()

12