Home | History | Annotate | Download | only in functional

Lines Matching defs:vert

856 	std::ostringstream	vert;
858 std::ostringstream& op = isVtxCase ? vert : frag;
860 vert << "#version 300 es\n"
866 vert << "in " << coordPrecName << " " << gradTypeName << " a_in1;\n";
867 vert << "in " << coordPrecName << " " << gradTypeName << " a_in2;\n";
870 vert << "in " << coordPrecName << " float a_in1;\n";
877 vert << "out mediump vec4 v_color;\n";
882 vert << "out " << coordPrecName << " " << coordTypeName << " v_texCoord;\n";
887 vert << "out " << coordPrecName << " " << gradTypeName << " v_gradX;\n";
888 vert << "out " << coordPrecName << " " << gradTypeName << " v_gradY;\n";
895 vert << "out " << coordPrecName << " float v_lodBias;\n";
905 vert << "\nvoid main()\n{\n"
910 vert << "\tv_color = ";
976 vert << "\tv_texCoord = a_in0;\n";
980 vert << "\tv_gradX = a_in1;\n";
981 vert << "\tv_gradY = a_in2;\n";
984 vert << "\tv_lodBias = a_in1;\n";
987 vert << "}\n";
990 m_vertShaderSource = vert.str();
1330 std::ostringstream vert;
1332 vert << "#version 300 es\n"
1337 vert << "out mediump vec4 v_color;\n";
1338 vert << "uniform highp " << m_samplerTypeStr << " u_sampler;\n";
1339 vert << "uniform highp ivec" << (m_has3DSize ? 3 : 2) << " u_texSize;\n";
1340 vert << "uniform highp int u_lod;\n";
1343 vert << "void main()\n{\n";
1346 vert << " v_color = (textureSize(u_sampler, u_lod) == u_texSize ? vec4(1.0, 1.0, 1.0, 1.0) : vec4(0.0, 0.0, 0.0, 1.0));\n";
1348 vert << " gl_Position = a_position;\n"
1351 return vert.str();