• Home
  • Raw
  • Download

Lines Matching refs:vecLen

654 	int			vecLen		= getDataTypeScalarSize(varType);  in createVectorSubscriptCase()  local
655 const char* vecLenName = getIntUniformName(vecLen); in createVectorSubscriptCase()
674 if (vecLen >= 2) op << ", ui_one"; in createVectorSubscriptCase()
675 if (vecLen >= 3) op << ", ui_two"; in createVectorSubscriptCase()
676 if (vecLen >= 4) op << ", ui_three"; in createVectorSubscriptCase()
704 if (vecLen >= 2) op << " tmp.y = coords.y * 0.5;\n"; in createVectorSubscriptCase()
705 if (vecLen >= 3) op << " tmp.z = coords.z * 0.25;\n"; in createVectorSubscriptCase()
706 if (vecLen >= 4) op << " tmp.w = coords.w * 0.125;\n"; in createVectorSubscriptCase()
711 if (vecLen >= 2) op << " tmp[1] = coords.y * 0.5;\n"; in createVectorSubscriptCase()
712 if (vecLen >= 3) op << " tmp[2] = coords.z * 0.25;\n"; in createVectorSubscriptCase()
713 if (vecLen >= 4) op << " tmp[3] = coords.w * 0.125;\n"; in createVectorSubscriptCase()
718 if (vecLen >= 2) op << " tmp[ui_one] = coords.y * 0.5;\n"; in createVectorSubscriptCase()
719 if (vecLen >= 3) op << " tmp[ui_two] = coords.z * 0.25;\n"; in createVectorSubscriptCase()
720 if (vecLen >= 4) op << " tmp[ui_three] = coords.w * 0.125;\n"; in createVectorSubscriptCase()
724 op << " for (int i = 0; i < " << vecLen << "; i++)\n"; in createVectorSubscriptCase()
747 if (vecLen >= 2) op << " res += tmp.y;\n"; in createVectorSubscriptCase()
748 if (vecLen >= 3) op << " res += tmp.z;\n"; in createVectorSubscriptCase()
749 if (vecLen >= 4) op << " res += tmp.w;\n"; in createVectorSubscriptCase()
754 if (vecLen >= 2) op << " res += tmp[1];\n"; in createVectorSubscriptCase()
755 if (vecLen >= 3) op << " res += tmp[2];\n"; in createVectorSubscriptCase()
756 if (vecLen >= 4) op << " res += tmp[3];\n"; in createVectorSubscriptCase()
761 if (vecLen >= 2) op << " res += tmp[ui_one];\n"; in createVectorSubscriptCase()
762 if (vecLen >= 3) op << " res += tmp[ui_two];\n"; in createVectorSubscriptCase()
763 if (vecLen >= 4) op << " res += tmp[ui_three];\n"; in createVectorSubscriptCase()
767 op << " for (int i = 0; i < " << vecLen << "; i++)\n"; in createVectorSubscriptCase()
798 params.insert(pair<string, string>("SWIZZLE", s_swizzles[vecLen])); in createVectorSubscriptCase()
799 params.insert(pair<string, string>("ROT_SWIZZLE", s_rotSwizzles[vecLen])); in createVectorSubscriptCase()