Home
last modified time | relevance | path

Searched refs:vert_attr (Results 1 – 3 of 3) sorted by relevance

/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_line.c82 unsigned vert_attr, in linear_coef() argument
85 float a1 = info->v1[vert_attr][i]; in linear_coef()
86 float a2 = info->v2[vert_attr][i]; in linear_coef()
112 unsigned vert_attr, in perspective_coef() argument
117 float a1 = info->v1[vert_attr][i] * info->v1[0][3]; in perspective_coef()
118 float a2 = info->v2[vert_attr][i] * info->v2[0][3]; in perspective_coef()
176 unsigned vert_attr = key->inputs[slot].src_index; in setup_line_coefficients() local
185 constant_coef(setup, info, slot+1, info->v1[vert_attr][i], i); in setup_line_coefficients()
190 constant_coef(setup, info, slot+1, info->v2[vert_attr][i], i); in setup_line_coefficients()
197 linear_coef(setup, info, slot+1, vert_attr, i); in setup_line_coefficients()
[all …]
Dlp_setup_point.c221 unsigned vert_attr = key->inputs[slot].src_index; in setup_point_coefficients() local
281 constant_coef(setup, info, slot+1, info->v0[vert_attr][i], i); in setup_point_coefficients()
Dlp_state_setup.c359 unsigned vert_attr, in load_attribute() argument
363 LLVMValueRef idx = lp_build_const_int32(gallivm, vert_attr); in load_attribute()
375 if (vert_attr == key->color_slot && key->bcolor_slot >= 0) in load_attribute()
377 else if (vert_attr == key->spec_slot && key->bspec_slot >= 0) in load_attribute()