Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_clip.c62 unsigned pos_attr; member
143 const unsigned pos_attr = clip->pos_attr; in interp() local
174 dst->data[pos_attr][0] = pos[0] * oow * scale[0] + trans[0]; in interp()
175 dst->data[pos_attr][1] = pos[1] * oow * scale[1] + trans[1]; in interp()
176 dst->data[pos_attr][2] = pos[2] * oow * scale[2] + trans[2]; in interp()
177 dst->data[pos_attr][3] = oow; in interp()
225 const unsigned pos_attr = clip->pos_attr; in is_tri_null() local
226 float x1 = header->v[1]->data[pos_attr][0] - header->v[0]->data[pos_attr][0]; in is_tri_null()
227 float y1 = header->v[1]->data[pos_attr][1] - header->v[0]->data[pos_attr][1]; in is_tri_null()
228 float z1 = header->v[1]->data[pos_attr][2] - header->v[0]->data[pos_attr][2]; in is_tri_null()
[all …]