Lines Matching refs:vtx_fmt_0
39 static int r200_get_vtx_size_0(uint32_t vtx_fmt_0) in r200_get_vtx_size_0() argument
44 if (vtx_fmt_0 & R200_VTX_Z0) in r200_get_vtx_size_0()
46 if (vtx_fmt_0 & R200_VTX_W0) in r200_get_vtx_size_0()
49 if (vtx_fmt_0 & (0x7 << R200_VTX_WEIGHT_COUNT_SHIFT)) in r200_get_vtx_size_0()
50 vtx_size += (vtx_fmt_0 >> R200_VTX_WEIGHT_COUNT_SHIFT) & 0x7; in r200_get_vtx_size_0()
51 if (vtx_fmt_0 & R200_VTX_PV_MATRIX_SEL) in r200_get_vtx_size_0()
53 if (vtx_fmt_0 & R200_VTX_N0) in r200_get_vtx_size_0()
55 if (vtx_fmt_0 & R200_VTX_POINT_SIZE) in r200_get_vtx_size_0()
57 if (vtx_fmt_0 & R200_VTX_DISCRETE_FOG) in r200_get_vtx_size_0()
59 if (vtx_fmt_0 & R200_VTX_SHININESS_0) in r200_get_vtx_size_0()
61 if (vtx_fmt_0 & R200_VTX_SHININESS_1) in r200_get_vtx_size_0()
64 int color_size = (vtx_fmt_0 >> (11 + 2*i)) & 0x3; in r200_get_vtx_size_0()
72 if (vtx_fmt_0 & R200_VTX_XY1) in r200_get_vtx_size_0()
74 if (vtx_fmt_0 & R200_VTX_Z1) in r200_get_vtx_size_0()
76 if (vtx_fmt_0 & R200_VTX_W1) in r200_get_vtx_size_0()
78 if (vtx_fmt_0 & R200_VTX_N1) in r200_get_vtx_size_0()