Home | History | Annotate | Download | only in functional

Lines Matching refs:m_isVertexCase

124 	if (m_isVertexCase)
135 src << "\tbool isOk = " << m_varName << " == (" << refValue << " + int(floor(" << (m_isVertexCase ? "a_coords" : "v_coords") << ".x * " << de::floatToString(builtinConstScale, 1) << ") + 0.05));\n";
136 src << "\t" << (m_isVertexCase ? "v_color" : "gl_FragColor") << " = isOk ? vec4(0.0, 1.0, 0.0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0);\n";
138 if (m_isVertexCase)
143 m_vertShaderSource = m_isVertexCase ? src.str() : defaultVertSrc;
144 m_fragShaderSource = m_isVertexCase ? defaultFragSrc : src.str();
219 if (m_isVertexCase)
224 src << "\t" << (m_isVertexCase ? "v_color" : "gl_FragColor") << " = vec4(gl_DepthRange.near, gl_DepthRange.far, gl_DepthRange.diff*0.5 + 0.5, 1.0);\n";
226 if (m_isVertexCase)
231 m_vertShaderSource = m_isVertexCase ? src.str() : defaultVertSrc;
232 m_fragShaderSource = m_isVertexCase ? defaultFragSrc : src.str();