Searched refs:u_colorScale (Results 1 - 2 of 2) sorted by relevance
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsVertexArrayTests.cpp | 763 const float u_colorScale = getUniformByName("u_colorScale").value.f; in shadeVertices() local 796 packet.outputs[varyingLocColor] = tcu::Vec4(u_colorScale * color.x(), u_colorScale * color.y(), u_colorScale * color.z(), 1.0f); in shadeVertices() 858 "uniform highp float u_colorScale;\n" in genVertexSource() 950 "\tv_color = vec4(u_colorScale * color, 1.0);\n" in genVertexSource() 1074 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1102 m_ctx.uniform1f(m_ctx.getUniformLocation(program, "u_colorScale"), colorScale); in render()
|
H A D | glsDrawTest.cpp | 1222 const float u_colorScale = getUniformByName("u_colorScale").value.f; in shadeVertices() local 1257 packet.outputs[varyingLocColor] = tcu::Vec4(u_colorScale * color.x(), u_colorScale * color.y(), u_colorScale * color.z(), 1.0f) * 0.5f + tcu::Vec4(0.5f, 0.5f, 0.5f, 0.5f); in shadeVertices() 1292 "uniform highp float u_colorScale;\n" in genVertexSource() 1383 "\tv_color = vec4(u_colorScale * color, 1.0) * 0.5 + vec4(0.5, 0.5, 0.5, 0.5);\n" in genVertexSource() 1525 decl << sglr::pdec::Uniform("u_colorScale", glu::TYPE_FLOAT); in createProgramDeclaration() 1874 m_ctx.uniform1f(m_ctx.getUniformLocation(m_programID, "u_colorScale"), colorScale); in render()
|
Completed in 10 milliseconds