Searched refs:geometrySource (Results 1 – 1 of 1) sorted by relevance
604 std::ostringstream geometrySource; in genProgramDeclaration() local692 geometrySource << "#version 310 es\n" in genProgramDeclaration()698 geometrySource << "in highp vec4 v_geom_" << i << "[];\n"; in genProgramDeclaration()700 geometrySource << "out highp vec4 v_frag_" << i << ";\n"; in genProgramDeclaration()702 geometrySource << "void main (void)\n" in genProgramDeclaration()712 geometrySource << "\tinputColor = vec4(1.0, 0.0, 0.0, 1.0);\n" in genProgramDeclaration()721 geometrySource << "\tinputColor = vec4(1.0, 0.0, 0.0, 1.0);\n"; in genProgramDeclaration()725 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "];\n"; in genProgramDeclaration()729 …geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "] * 0.5 + v_geom_1[" << vertexNdx <<… in genProgramDeclaration()735 geometrySource << "\tgl_Position = gl_in[" << vertexNdx << "].gl_Position + offset;\n" in genProgramDeclaration()[all …]