Searched refs:nr_consts (Results 1 – 6 of 6) sorted by relevance
50 vp->nr_consts = 0; in nv30_vertprog_destroy()132 if (vp->nr_consts && !vp->data) { in nv30_vertprog_validate()138 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()139 while (heap->next && heap->size < vp->nr_consts) { in nv30_vertprog_validate()144 if (nouveau_heap_alloc(heap, vp->nr_consts, vp, &vp->data)) { in nv30_vertprog_validate()174 if (vp->nr_consts) { in nv30_vertprog_validate()177 for (i = 0; i < vp->nr_consts; i++) { in nv30_vertprog_validate()
95 unsigned nr_consts; member121 unsigned nr_consts; member
90 for (i = 0; i < fp->nr_consts; i++) { in nv30_fragprog_validate()
99 for (idx = 0; idx < vp->nr_consts; idx++) { in constant()105 idx = vp->nr_consts++; in constant()106 vp->consts = realloc(vp->consts, sizeof(*vpd) * vp->nr_consts); in constant()968 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()
103 int nr_consts; // in floats, not float[4] in lp_fs_linear_run() local105 nr_consts = (info->base.file_max[TGSI_FILE_CONSTANT] + 1) * 4; in lp_fs_linear_run()107 nr_consts = state->jit_context.num_constants[0]; in lp_fs_linear_run()109 for (int i = 0; i < nr_consts; i++){ in lp_fs_linear_run()