Lines Matching refs:layerNdx
113 void computeQuadTexCoord2DArray (std::vector<float>& dst, int layerNdx, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight)
117 dst[0] = bottomLeft.x(); dst[ 1] = bottomLeft.y(); dst[ 2] = (float)layerNdx;
118 dst[3] = bottomLeft.x(); dst[ 4] = topRight.y(); dst[ 5] = (float)layerNdx;
119 dst[6] = topRight.x(); dst[ 7] = bottomLeft.y(); dst[ 8] = (float)layerNdx;
120 dst[9] = topRight.x(); dst[10] = topRight.y(); dst[11] = (float)layerNdx;
2038 int layerNdx;
2053 for (int layerNdx = -1; layerNdx < textureSize.z()+1; layerNdx++)
2056 if (layerNdx == 0)
2062 iterations.back().layerNdx = layerNdx;
2070 if (isDepthFormat(textureFormat) || basicIterations[basicNdx].componentNdx == (layerNdx + 2) % 4)
2074 iterations.back().layerNdx = layerNdx;
2130 TextureTestUtil::computeQuadTexCoord2DArray(res, m_iterations[iterationNdx].layerNdx, bottomLeft, topRight);
2156 for (int layerNdx = 0; layerNdx < m_textureSize.z(); layerNdx++)
2157 log << TestLog::Image("InputTextureLevel" + de::toString(layerNdx) + "Layer" + de::toString(layerNdx),
2158 "Layer " + de::toString(layerNdx),
2159 tcu::getSubregion(level, 0, 0, layerNdx, level.getWidth(), level.getHeight(), 1));