Lines Matching refs:matSize
885 int matSize = getDataTypeMatrixNumRows(varType); in createMatrixSubscriptCase() local
886 const char* matSizeName = getIntUniformName(matSize); in createMatrixSubscriptCase()
887 DataType vecType = getDataTypeFloatVec(matSize); in createMatrixSubscriptCase()
906 if (matSize >= 2) op << ", ui_one"; in createMatrixSubscriptCase()
907 if (matSize >= 3) op << ", ui_two"; in createMatrixSubscriptCase()
908 if (matSize >= 4) op << ", ui_three"; in createMatrixSubscriptCase()
934 if (matSize >= 2) op << " tmp[1] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
935 if (matSize >= 3) op << " tmp[2] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
936 if (matSize >= 4) op << " tmp[3] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
941 if (matSize >= 2) op << " tmp[ui_one] = ${VEC_TYPE}(coords.yzwx) * 0.5;\n"; in createMatrixSubscriptCase()
942 if (matSize >= 3) op << " tmp[ui_two] = ${VEC_TYPE}(coords.zwxy) * 0.25;\n"; in createMatrixSubscriptCase()
943 if (matSize >= 4) op << " tmp[ui_three] = ${VEC_TYPE}(coords.wxyz) * 0.125;\n"; in createMatrixSubscriptCase()
947 op << " for (int i = 0; i < " << matSize << "; i++)\n"; in createMatrixSubscriptCase()
968 if (matSize >= 2) op << " res += tmp[1];\n"; in createMatrixSubscriptCase()
969 if (matSize >= 3) op << " res += tmp[2];\n"; in createMatrixSubscriptCase()
970 if (matSize >= 4) op << " res += tmp[3];\n"; in createMatrixSubscriptCase()
975 if (matSize >= 2) op << " res += tmp[ui_one];\n"; in createMatrixSubscriptCase()
976 if (matSize >= 3) op << " res += tmp[ui_two];\n"; in createMatrixSubscriptCase()
977 if (matSize >= 4) op << " res += tmp[ui_three];\n"; in createMatrixSubscriptCase()
981 op << " for (int i = 0; i < " << matSize << "; i++)\n"; in createMatrixSubscriptCase()
1011 if (matSize == 2) in createMatrixSubscriptCase()
1013 else if (matSize == 3) in createMatrixSubscriptCase()