Searched refs:nr_consts (Results 1 – 5 of 5) sorted by relevance
49 vp->nr_consts = 0; in nv30_vertprog_destroy()131 if (vp->nr_consts && !vp->data) { in nv30_vertprog_validate()137 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()138 while (heap->next && heap->size < vp->nr_consts) { in nv30_vertprog_validate()143 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()173 if (vp->nr_consts) { in nv30_vertprog_validate()176 for (i = 0; i < vp->nr_consts; i++) { in nv30_vertprog_validate()
95 unsigned nr_consts; member121 unsigned nr_consts; member
89 for (i = 0; i < fp->nr_consts; i++) { in nv30_fragprog_validate()
98 for (idx = 0; idx < vp->nr_consts; idx++) { in constant()104 idx = vp->nr_consts++; in constant()105 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts); in constant()967 vp->nr_consts = 0; in _nvfx_vertprog_translate()
131 fp->consts = realloc(fp->consts, ++fp->nr_consts * in emit_src()133 fpd = &fp->consts[fp->nr_consts - 1]; in emit_src()