Lines Matching refs:layerNdx
3927 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in init() local
3929 m_layers[layerNdx].zOffset = ((float)layerNdx / (float)m_numLayers) * 2.0f - 1.0f; in init()
3930 m_layers[layerNdx].zScale = (2.0f / (float)m_numLayers); in init()
3931 …m_layers[layerNdx].color1 = (layerNdx == 0) ? (tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(0.0… in init()
3932 …m_layers[layerNdx].color2 = (layerNdx == 0) ? (tcu::Vec4(1.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(1.0… in init()
3992 for (int layerNdx = 0; layerNdx < m_numLayers; ++layerNdx) in iterate() local
3994 gl.uniform1f(depthBiasLocation, m_layers[layerNdx].zOffset); in iterate()
3995 gl.uniform1f(depthScaleLocation, m_layers[layerNdx].zScale); in iterate()
3996 gl.uniform4fv(color1Location, 1, m_layers[layerNdx].color1.getPtr()); in iterate()
3997 gl.uniform4fv(color2Location, 1, m_layers[layerNdx].color2.getPtr()); in iterate()
4004 boundingBoxFunc(-1.0f, -1.0f, m_layers[layerNdx].zOffset - negPadding, 1.0f, in iterate()
4005 1.0f, 1.0f, (m_layers[layerNdx].zOffset + m_layers[layerNdx].zScale + posPadding), 1.0f); in iterate()