Home
last modified time | relevance | path

Searched refs:vertex_info (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h67 struct vertex_info struct
83 draw_vinfo_size( const struct vertex_info *a ) in draw_vinfo_size() argument
85 return offsetof(const struct vertex_info, attrib[a->num_attribs]); in draw_vinfo_size()
89 draw_vinfo_compare( const struct vertex_info *a, in draw_vinfo_compare()
90 const struct vertex_info *b ) in draw_vinfo_compare()
97 draw_vinfo_copy( struct vertex_info *dst, in draw_vinfo_copy()
98 const struct vertex_info *src ) in draw_vinfo_copy()
113 draw_emit_vertex_attr(struct vertex_info *vinfo, in draw_emit_vertex_attr()
133 extern void draw_compute_vertex_size(struct vertex_info *vinfo);
135 void draw_dump_emitted_vertex(const struct vertex_info *vinfo,
Ddraw_vbuf.h46 struct vertex_info;
78 const struct vertex_info *(*get_vertex_info)(struct vbuf_render *);
Ddraw_vertex.c46 draw_compute_vertex_size(struct vertex_info *vinfo) in draw_compute_vertex_size()
61 draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data) in draw_dump_emitted_vertex()
Ddraw_pt_emit.c46 const struct vertex_info *vinfo;
59 const struct vertex_info *vinfo; in draw_pt_emit_prepare()
Ddraw_pt_fetch_shade_emit.c63 const struct vertex_info *vinfo;
77 const struct vertex_info *vinfo; in fse_prepare()
Ddraw_pipe_vbuf.c56 const struct vertex_info *vinfo;
191 const struct vertex_info *vinfo; in vbuf_start_prim()
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_draw.c46 struct vertex_info vertex_info; member
61 static const struct vertex_info *
64 return &nv30_render(render)->vertex_info; in nv30_render_get_vertex_info()
130 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_elements()
131 for (i = 0; i < r->vertex_info.num_attribs; i++) { in nv30_render_draw_elements()
175 BEGIN_NV04(push, NV30_3D(VTXBUF(0)), r->vertex_info.num_attribs); in nv30_render_draw_arrays()
176 for (i = 0; i < r->vertex_info.num_attribs; i++) { in nv30_render_draw_arrays()
228 struct vertex_info *vinfo = &r->vertex_info; in vroute_add()
286 struct vertex_info *vinfo = &r->vertex_info; in nv30_render_validate()
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state_immediate.c73 unsigned vertex_size = i915->current.vertex_info.size; in upload_S0S1()
96 LIS2 = i915->current.vertex_info.hwfmt[1]; in upload_S2S4()
97 LIS4 = i915->current.vertex_info.hwfmt[0]; in upload_S2S4()
Di915_prim_emit.c66 const struct vertex_info *vinfo = &i915->current.vertex_info; in emit_hw_vertex()
132 vertex_size = i915->current.vertex_info.size * 4; /* in bytes */ in emit_prim()
Di915_state_derived.c48 struct vertex_info vinfo; in calculate_vertex_layout()
152 if (memcmp(&i915->current.vertex_info, &vinfo, sizeof(vinfo))) { in calculate_vertex_layout()
159 memcpy(&i915->current.vertex_info, &vinfo, sizeof(vinfo)); in calculate_vertex_layout()
Di915_context.h158 struct vertex_info vertex_info; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_private.h42 struct vertex_info vertex_info; member
Dsvga_swtnl_state.c222 struct vertex_info *vinfo = &svga_render->vertex_info; in svga_swtnl_update_vdecl()
Dsvga_swtnl_backend.c47 static const struct vertex_info *
55 return &svga_render->vertex_info; in svga_vbuf_render_get_vertex_info()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c68 struct vertex_info *vinfo = &softpipe->vertex_info; in softpipe_compute_vertex_info()
237 struct vertex_info *
241 return &softpipe->vertex_info; in softpipe_get_vbuf_vertex_info()
Dsp_state.h62 struct vertex_info;
197 struct vertex_info *
Dsp_context.h116 struct vertex_info vertex_info; member
Dsp_prim_vbuf.c80 static const struct vertex_info *
164 const unsigned stride = softpipe->vertex_info.size * sizeof(float); in sp_vbuf_draw_elements()
361 const unsigned stride = softpipe->vertex_info.size * sizeof(float); in sp_vbuf_draw_arrays()
/third_party/mesa3d/src/vulkan/runtime/
Dvk_cmd_enqueue.c54 cmd->u.draw_multi_ext.vertex_info = in vk_cmd_enqueue_CmdDrawMultiEXT()
56 sizeof(*cmd->u.draw_multi_ext.vertex_info) * drawCount, 8, in vk_cmd_enqueue_CmdDrawMultiEXT()
60 memcpy(&cmd->u.draw_multi_ext.vertex_info[i], draw, in vk_cmd_enqueue_CmdDrawMultiEXT()
61 sizeof(*cmd->u.draw_multi_ext.vertex_info)); in vk_cmd_enqueue_CmdDrawMultiEXT()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup.h34 struct vertex_info;
143 struct vertex_info *info);
Dlp_context.h120 struct vertex_info vertex_info; member
Dlp_setup_context.h78 struct vertex_info *vertex_info; member
Dlp_state_derived.c52 struct vertex_info *vinfo = &llvmpipe->vertex_info; in compute_vertex_info()
Dlp_setup_vbuf.c67 static const struct vertex_info *
77 return setup->vertex_info; in lp_setup_get_vertex_info()
168 const unsigned stride = setup->vertex_info->size * sizeof(float); in lp_setup_draw_elements()
383 const unsigned stride = setup->vertex_info->size * sizeof(float); in lp_setup_draw_arrays()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_state_derived.c64 draw_emit_vertex_attr(&r300->vertex_info, emit, output); in r300_draw_emit_attrib()
129 struct vertex_info *vinfo = &r300->vertex_info; in r300_swtcl_vertex_psc()
1116 memset(&r300->vertex_info, 0, sizeof(struct vertex_info)); in r300_update_derived_state()
1118 draw_compute_vertex_size(&r300->vertex_info); in r300_update_derived_state()

12