Searched refs:nr_consts (Results 1 – 5 of 5) sorted by relevance
47 vp->nr_consts = 0; in nv30_vertprog_destroy()129 if (vp->nr_consts && !vp->data) { in nv30_vertprog_validate()135 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()136 while (heap->next && heap->size < vp->nr_consts) { in nv30_vertprog_validate()141 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()171 if (vp->nr_consts) { in nv30_vertprog_validate()174 for (i = 0; i < vp->nr_consts; i++) { in nv30_vertprog_validate()
93 unsigned nr_consts; member119 unsigned nr_consts; member
84 for (i = 0; i < fp->nr_consts; i++) { in nv30_fragprog_validate()
95 for (idx = 0; idx < vp->nr_consts; idx++) { in constant()101 idx = vp->nr_consts++; in constant()102 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts); in constant()982 vp->nr_consts = 0; in _nvfx_vertprog_translate()
128 fp->consts = realloc(fp->consts, ++fp->nr_consts * in emit_src()130 fpd = &fp->consts[fp->nr_consts - 1]; in emit_src()