• Home
  • Raw
  • Download

Lines Matching refs:numCols

809 	int			numCols		= getDataTypeMatrixNumColumns(varType);  in createMatrixSubscriptCase()  local
811 const char* matSizeName = getIntUniformName(numCols); in createMatrixSubscriptCase()
835 if (numCols >= 2) op << ", ui_one"; in createMatrixSubscriptCase()
836 if (numCols >= 3) op << ", ui_two"; in createMatrixSubscriptCase()
837 if (numCols >= 4) op << ", ui_three"; in createMatrixSubscriptCase()
863 if (numCols >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
864 if (numCols >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
865 if (numCols >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
870 if (numCols >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
871 if (numCols >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
872 if (numCols >= 4) op << " tmp[ui_three] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
876 op << " for (int i = 0; i < " << numCols << "; i++)\n"; in createMatrixSubscriptCase()
897 if (numCols >= 2) op << " res += tmp[1];\n"; in createMatrixSubscriptCase()
898 if (numCols >= 3) op << " res += tmp[2];\n"; in createMatrixSubscriptCase()
899 if (numCols >= 4) op << " res += tmp[3];\n"; in createMatrixSubscriptCase()
904 if (numCols >= 2) op << " res += tmp[ui_one];\n"; in createMatrixSubscriptCase()
905 if (numCols >= 3) op << " res += tmp[ui_two];\n"; in createMatrixSubscriptCase()
906 if (numCols >= 4) op << " res += tmp[ui_three];\n"; in createMatrixSubscriptCase()
910 op << " for (int i = 0; i < " << numCols << "; i++)\n"; in createMatrixSubscriptCase()