Lines Matching refs:m_layers
3723 std::vector<LayerInfo> m_layers;
3815 m_layers.resize(m_numLayers);
3818 m_layers[layerNdx].zOffset = ((float)layerNdx / (float)m_numLayers) * 2.0f - 1.0f;
3819 m_layers[layerNdx].zScale = (2.0f / (float)m_numLayers);
3820 m_layers[layerNdx].color1 = (layerNdx == 0) ? (tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f));
3821 m_layers[layerNdx].color2 = (layerNdx == 0) ? (tcu::Vec4(1.0f, 1.0f, 0.0f, 1.0f)) : (tcu::Vec4(1.0f, 0.0f, 1.0f, 1.0f));
3823 rnd.shuffle(m_layers.begin(), m_layers.end());
3875 gl.uniform1f(depthBiasLocation, m_layers[layerNdx].zOffset);
3876 gl.uniform1f(depthScaleLocation, m_layers[layerNdx].zScale);
3877 gl.uniform4fv(color1Location, 1, m_layers[layerNdx].color1.getPtr());
3878 gl.uniform4fv(color2Location, 1, m_layers[layerNdx].color2.getPtr());
3885 gl.primitiveBoundingBox(-1.0f, -1.0f, m_layers[layerNdx].zOffset - negPadding, 1.0f,
3886 1.0f, 1.0f, (m_layers[layerNdx].zOffset + m_layers[layerNdx].zScale + posPadding), 1.0f);