Lines Matching refs:vtx
75 std::ostringstream vtx; in createExpressionCase() local
77 std::ostringstream& op = isVertexCase ? vtx : frag; in createExpressionCase()
79 vtx << "attribute highp vec4 a_position;\n"; in createExpressionCase()
80 vtx << "attribute highp vec4 a_unitCoords;\n"; in createExpressionCase()
84 vtx << "varying mediump vec3 v_color;\n"; in createExpressionCase()
89 vtx << "varying mediump vec4 v_coords;\n"; in createExpressionCase()
95 vtx << "\n"; in createExpressionCase()
96 vtx << "void main()\n"; in createExpressionCase()
97 vtx << "{\n"; in createExpressionCase()
98 vtx << " gl_Position = a_position;\n"; in createExpressionCase()
115 vtx << " v_color = res;\n"; in createExpressionCase()
120 vtx << " v_coords = a_unitCoords;\n"; in createExpressionCase()
124 vtx << "}\n"; in createExpressionCase()
131 StringTemplate vertTemplate(vtx.str().c_str()); in createExpressionCase()