Lines Matching refs:fragSlot
602 uint fragSlot; in setup_tri_coefficients() local
621 for (fragSlot = 0; fragSlot < fsInfo->num_inputs; fragSlot++) { in setup_tri_coefficients()
622 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in setup_tri_coefficients()
625 switch (sinfo->attrib[fragSlot].interp) { in setup_tri_coefficients()
628 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j); in setup_tri_coefficients()
636 fsInfo->input_cylindrical_wrap[fragSlot] & (1 << j), in setup_tri_coefficients()
638 tri_linear_coeff(setup, &setup->coef[fragSlot], j, v); in setup_tri_coefficients()
646 fsInfo->input_cylindrical_wrap[fragSlot] & (1 << j), in setup_tri_coefficients()
648 tri_persp_coeff(setup, &setup->coef[fragSlot], j, v); in setup_tri_coefficients()
652 setup_fragcoord_coeff(setup, fragSlot); in setup_tri_coefficients()
658 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in setup_tri_coefficients()
660 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f; in setup_tri_coefficients()
661 setup->coef[fragSlot].dadx[0] = 0.0; in setup_tri_coefficients()
662 setup->coef[fragSlot].dady[0] = 0.0; in setup_tri_coefficients()
668 fragSlot, "xyzw"[j], in setup_tri_coefficients()
669 setup->coef[fragSlot].a0[j], in setup_tri_coefficients()
670 setup->coef[fragSlot].dadx[j], in setup_tri_coefficients()
671 setup->coef[fragSlot].dady[j]); in setup_tri_coefficients()
972 uint fragSlot; in setup_line_coefficients() local
1007 for (fragSlot = 0; fragSlot < fsInfo->num_inputs; fragSlot++) { in setup_line_coefficients()
1008 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in setup_line_coefficients()
1011 switch (sinfo->attrib[fragSlot].interp) { in setup_line_coefficients()
1014 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j); in setup_line_coefficients()
1020 fsInfo->input_cylindrical_wrap[fragSlot] & (1 << j), in setup_line_coefficients()
1022 line_linear_coeff(setup, &setup->coef[fragSlot], j, v); in setup_line_coefficients()
1029 fsInfo->input_cylindrical_wrap[fragSlot] & (1 << j), in setup_line_coefficients()
1031 line_persp_coeff(setup, &setup->coef[fragSlot], j, v); in setup_line_coefficients()
1035 setup_fragcoord_coeff(setup, fragSlot); in setup_line_coefficients()
1041 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in setup_line_coefficients()
1043 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f; in setup_line_coefficients()
1044 setup->coef[fragSlot].dadx[0] = 0.0; in setup_line_coefficients()
1045 setup->coef[fragSlot].dady[0] = 0.0; in setup_line_coefficients()
1244 uint fragSlot; in sp_setup_point() local
1293 for (fragSlot = 0; fragSlot < fsInfo->num_inputs; fragSlot++) { in sp_setup_point()
1294 const uint vertSlot = sinfo->attrib[fragSlot].src_index; in sp_setup_point()
1297 switch (sinfo->attrib[fragSlot].interp) { in sp_setup_point()
1302 const_coeff(setup, &setup->coef[fragSlot], vertSlot, j); in sp_setup_point()
1307 &setup->coef[fragSlot], vertSlot, j); in sp_setup_point()
1310 setup_fragcoord_coeff(setup, fragSlot); in sp_setup_point()
1316 if (fsInfo->input_semantic_name[fragSlot] == TGSI_SEMANTIC_FACE) { in sp_setup_point()
1318 setup->coef[fragSlot].a0[0] = setup->facing * -2.0f + 1.0f; in sp_setup_point()
1319 setup->coef[fragSlot].dadx[0] = 0.0; in sp_setup_point()
1320 setup->coef[fragSlot].dady[0] = 0.0; in sp_setup_point()