HomeSort by: relevance | last modified time | path
    Searched defs:vdecl (Results 1 - 18 of 18) sorted by relevancy

  /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/
svga_swtnl_private.h 72 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; member in struct:svga_vbuf_render
svga_draw_private.h 144 SVGA3dVertexDecl vdecl[SVGA3D_INPUTREG_MAX]; member in struct:draw_cmd
svga_swtnl_backend.c 218 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; local
223 /* if the vdecl or vbuf hasn't changed do nothing */
230 memcpy(vdecl, svga_render->vdecl, sizeof(vdecl));
240 vdecl[i].array.offset += svga_render->vdecl_offset;
245 vdecl,
255 vb.stride = vdecl[0].array.stride;
svga_swtnl_state.c 190 const SVGA3dVertexDecl *vdecl, unsigned num_decls)
201 elements[i].alignedByteOffset = vdecl[i].array.offset;
202 elements[i].format = translate_vertex_format(vdecl[i].identity.type);
223 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; local
234 memset(vdecl, 0, sizeof(vdecl));
242 vdecl[0].array.offset = offset;
243 vdecl[0].identity.method = SVGA3D_DECLMETHOD_DEFAULT;
244 vdecl[0].identity.type = SVGA3D_DECLTYPE_FLOAT4;
245 vdecl[0].identity.usage = SVGA3D_DECLUSAGE_POSITIONT
    [all...]
svga_draw.c 125 memcpy(hwtnl->cmd.vdecl, decls, count * sizeof(*decls));
199 SVGA3dVertexDecl *vdecl; local
278 &vdecl,
284 memcpy(vdecl,
285 hwtnl->cmd.vdecl,
286 hwtnl->cmd.vdecl_count * sizeof hwtnl->cmd.vdecl[0]);
290 assert(vdecl[i].array.offset % 4 == 0);
291 assert(vdecl[i].array.stride % 4 == 0);
298 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0];
299 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/
svga_swtnl_private.h 72 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; member in struct:svga_vbuf_render
svga_draw_private.h 135 SVGA3dVertexDecl vdecl[SVGA3D_INPUTREG_MAX]; member in struct:draw_cmd
svga_swtnl_backend.c 216 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; local
221 /* if the vdecl or vbuf hasn't changed do nothing */
228 memcpy(vdecl, svga_render->vdecl, sizeof(vdecl));
241 vdecl[i].array.offset += svga_render->vdecl_offset;
246 vdecl,
256 vb.stride = vdecl[0].array.stride;
svga_swtnl_state.c 190 const SVGA3dVertexDecl *vdecl, unsigned num_decls)
202 elements[i].alignedByteOffset = vdecl[i].array.offset;
203 elements[i].format = translate_vertex_format(vdecl[i].identity.type);
229 SVGA3dVertexDecl vdecl[PIPE_MAX_ATTRIBS]; local
240 memset(vdecl, 0, sizeof(vdecl));
248 vdecl[0].array.offset = offset;
249 vdecl[0].identity.method = SVGA3D_DECLMETHOD_DEFAULT;
250 vdecl[0].identity.type = SVGA3D_DECLTYPE_FLOAT4;
251 vdecl[0].identity.usage = SVGA3D_DECLUSAGE_POSITIONT
    [all...]
svga_draw.c 125 memcpy(hwtnl->cmd.vdecl, decls, count * sizeof(*decls));
199 SVGA3dVertexDecl *vdecl; local
278 &vdecl,
284 memcpy(vdecl,
285 hwtnl->cmd.vdecl,
286 hwtnl->cmd.vdecl_count * sizeof hwtnl->cmd.vdecl[0]);
290 assert(vdecl[i].array.offset % 4 == 0);
291 assert(vdecl[i].array.stride % 4 == 0);
298 vdecl[i].rangeHint.first = hwtnl->cmd.min_index[0];
299 vdecl[i].rangeHint.last = hwtnl->cmd.max_index[0] + 1
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/nine/
nine_shader.h 183 struct NineVertexDeclaration9 *vdecl; member in struct:nine_shader_variant_so
190 struct NineVertexDeclaration9 *vdecl,
193 while (list->vdecl != vdecl && list->next)
195 if (list->vdecl == vdecl) {
204 struct NineVertexDeclaration9 *vdecl,
207 if (list->vdecl == NULL) { /* first shader */
209 nine_bind(&list->vdecl, vdecl);
    [all...]
device9.c 3041 user_assert(This->state.vdecl, D3DERR_INVALIDCALL);
3215 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pVertexDecl); local
3225 bool programmable_vs = This->state.vs && !(This->state.vdecl && This->state.vdecl->position_t);
3246 user_assert(vdecl || (vs->byte_code.version < 0x30 && dst->desc.FVF),
3248 if (!vdecl) {
3250 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3251 if (!vdecl) {
3252 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3255 vdecl->fvf = FVF
3348 struct NineVertexDeclaration9 *vdecl; local
3367 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pDecl); local
3403 struct NineVertexDeclaration9 *vdecl; local
    [all...]
nine_state.c 839 const struct NineVertexDeclaration9 *vdecl = device->context.vdecl; local
853 if (vdecl) {
855 DBG("looking up input %u (usage %u) from vdecl(%p)\n",
856 n, vs->input_map[n].ndecl, vdecl);
858 for (i = 0; i < vdecl->nelems; i++) {
859 if (vdecl->usage_map[i] == vs->input_map[n].ndecl) {
861 used_streams |= BITFIELD_BIT(vdecl->elems[i].vertex_buffer_index);
887 ve.velems[n] = vdecl->elems[index];
1645 ARG_BIND_REF(struct NineVertexDeclaration9, vdecl))
3039 const struct NineVertexDeclaration9 *vdecl = device->state.vdecl; local
    [all...]
nine_state.h 205 struct NineVertexDeclaration9 *vdecl; member in struct:nine_state
274 struct NineVertexDeclaration9 *vdecl; member in struct:nine_context
279 uint32_t stream_usage_mask; /* derived from VS and vdecl */
407 struct NineVertexDeclaration9 *vdecl);
  /xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/nine/
nine_shader.h 176 struct NineVertexDeclaration9 *vdecl; member in struct:nine_shader_variant_so
183 struct NineVertexDeclaration9 *vdecl,
186 while (list->vdecl != vdecl && list->next)
188 if (list->vdecl == vdecl) {
197 struct NineVertexDeclaration9 *vdecl,
200 if (list->vdecl == NULL) { /* first shader */
202 nine_bind(&list->vdecl, vdecl);
    [all...]
device9.c 2828 user_assert(This->state.vdecl, D3DERR_INVALIDCALL);
2983 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pVertexDecl); local
2992 bool programmable_vs = This->state.vs && !(This->state.vdecl && This->state.vdecl->position_t);
3011 user_assert(vdecl || (vs->byte_code.version < 0x30 && dst->desc.FVF),
3013 if (!vdecl) {
3015 vdecl = util_hash_table_get(This->ff.ht_fvf, &FVF);
3016 if (!vdecl) {
3017 hr = NineVertexDeclaration9_new_from_fvf(This, FVF, &vdecl);
3020 vdecl->fvf = FVF
3115 struct NineVertexDeclaration9 *vdecl; local
3132 struct NineVertexDeclaration9 *vdecl = NineVertexDeclaration9(pDecl); local
3168 struct NineVertexDeclaration9 *vdecl; local
    [all...]
nine_state.c 808 const struct NineVertexDeclaration9 *vdecl = device->context.vdecl; local
823 if (vdecl) {
825 DBG("looking up input %u (usage %u) from vdecl(%p)\n",
826 n, vs->input_map[n].ndecl, vdecl);
828 for (i = 0; i < vdecl->nelems; i++) {
829 if (vdecl->usage_map[i] == vs->input_map[n].ndecl) {
831 used_streams[vdecl->elems[i].vertex_buffer_index] = 1;
859 ve[n] = vdecl->elems[index];
1588 ARG_BIND_REF(struct NineVertexDeclaration9, vdecl))
2970 const struct NineVertexDeclaration9 *vdecl = device->state.vdecl; local
    [all...]
nine_state.h 203 struct NineVertexDeclaration9 *vdecl; member in struct:nine_state
272 struct NineVertexDeclaration9 *vdecl; member in struct:nine_context
277 uint32_t stream_usage_mask; /* derived from VS and vdecl */
387 struct NineVertexDeclaration9 *vdecl);

Completed in 93 milliseconds