Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_swtnl_state.c153 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; in svga_swtnl_update_vdecl() local
162 memset(vdecl, 0, sizeof(vdecl)); in svga_swtnl_update_vdecl()
168 vdecl[0].array.offset = offset; in svga_swtnl_update_vdecl()
169 vdecl[0].identity.type = SVGA3D_DECLTYPE_FLOAT4; in svga_swtnl_update_vdecl()
170 vdecl[0].identity.usage = SVGA3D_DECLUSAGE_POSITIONT; in svga_swtnl_update_vdecl()
171 vdecl[0].identity.usageIndex = 0; in svga_swtnl_update_vdecl()
181 vdecl[nr_decls].array.offset = offset; in svga_swtnl_update_vdecl()
182 vdecl[nr_decls].identity.usageIndex = sem_index; in svga_swtnl_update_vdecl()
187 vdecl[nr_decls].identity.usage = SVGA3D_DECLUSAGE_COLOR; in svga_swtnl_update_vdecl()
188 vdecl[nr_decls].identity.type = SVGA3D_DECLTYPE_FLOAT4; in svga_swtnl_update_vdecl()
[all …]
Dsvga_draw.c125 hwtnl->cmd.vdecl[i] = *decl; in svga_hwtnl_vdecl()
176 SVGA3dVertexDecl *vdecl; in svga_hwtnl_flush() local
226 &vdecl, in svga_hwtnl_flush()
234 memcpy( vdecl, in svga_hwtnl_flush()
235 hwtnl->cmd.vdecl, in svga_hwtnl_flush()
236 hwtnl->cmd.vdecl_count * sizeof hwtnl->cmd.vdecl[0]); in svga_hwtnl_flush()
244 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0]; in svga_hwtnl_flush()
245 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1; in svga_hwtnl_flush()
248 vdecl[i].rangeHint.first = 0; in svga_hwtnl_flush()
249 vdecl[i].rangeHint.last = 0; in svga_hwtnl_flush()
[all …]
Dsvga_swtnl_backend.c176 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; in svga_vbuf_submit_state() local
184 memcpy(vdecl, svga_render->vdecl, sizeof(vdecl)); in svga_vbuf_submit_state()
199 vdecl[i].array.offset += svga_render->vdecl_offset; in svga_vbuf_submit_state()
203 &vdecl[i], in svga_vbuf_submit_state()
Dsvga_swtnl_private.h68 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; member
Dsvga_draw_private.h103 SVGA3dVertexDecl vdecl[SVGA3D_INPUTREG_MAX]; member