Lines Matching refs:numCoords

688 string genCoord(string c, int numCoords, VkSampleCountFlagBits samples, int dim)  in genCoord()  argument
690 if (numCoords == 1) in genCoord()
694 numCoords--; in genCoord()
696 string coord = "ivec" + to_string(numCoords) + "("; in genCoord()
698 for (int i = 0; i < numCoords; ++i) in genCoord()
704 if (i < numCoords - 1) in genCoord()
713 if (dim == numCoords) in genCoord()
722 string genCoordNorm(const CaseDef &caseDef, string c, int numCoords, int numNormalizedCoords, int d… in genCoordNorm() argument
724 if (numCoords == 1) in genCoordNorm()
727 string coord = "vec" + to_string(numCoords) + "("; in genCoordNorm()
729 for (int i = 0; i < numCoords; ++i) in genCoordNorm()
737 if (i < numCoords - 1) in genCoordNorm()
851 int numCoords, numNormalizedCoords; in initPrograms() local
856 case VK_IMAGE_VIEW_TYPE_1D: imageDim = "1D"; numCoords = 1; numNormalizedCoords = 1; break; in initPrograms()
857 …case VK_IMAGE_VIEW_TYPE_1D_ARRAY: imageDim = "1DArray"; numCoords = 2; numNormalizedCoords = 1; la… in initPrograms()
858 case VK_IMAGE_VIEW_TYPE_2D: imageDim = "2D"; numCoords = 2; numNormalizedCoords = 2; break; in initPrograms()
859 …case VK_IMAGE_VIEW_TYPE_2D_ARRAY: imageDim = "2DArray"; numCoords = 3; numNormalizedCoords = 2; la… in initPrograms()
860 case VK_IMAGE_VIEW_TYPE_3D: imageDim = "3D"; numCoords = 3; numNormalizedCoords = 3; break; in initPrograms()
861 case VK_IMAGE_VIEW_TYPE_CUBE: imageDim = "Cube"; numCoords = 3; numNormalizedCoords = 3; break; in initPrograms()
862 …case VK_IMAGE_VIEW_TYPE_CUBE_ARRAY: imageDim = "CubeArray"; numCoords = 4; numNormalizedCoords = 3… in initPrograms()
872 numCoords++; in initPrograms()
880 numCoords = 3; in initPrograms()
1097 for (int i = 0; i < numCoords; ++i) in initPrograms()
1104 string coord = genCoord("c", numCoords, m_data.samples, i); in initPrograms()
1107 …(m_data.samples > VK_SAMPLE_COUNT_1_BIT && i == numCoords - 1) ? to_string(m_data.samples) : "inbo… in initPrograms()
1118 for (int i = 0; i < numCoords; ++i) in initPrograms()
1135 string coord = genCoord("c", numCoords, m_data.samples, i); in initPrograms()
1168 if (m_data.samples > VK_SAMPLE_COUNT_1_BIT && i == numCoords - 1) in initPrograms()
1259 string coord0 = genCoord("0", numCoords, m_data.samples, i); in initPrograms()
1268 string coordNorm = genCoordNorm(m_data, "(c+0.25)", numCoords, numNormalizedCoords, i); in initPrograms()
1283 (layered && i == numCoords-1)) in initPrograms()