Home | History | Annotate | Download | only in performance

Lines Matching refs:vtx

190 	std::ostringstream	vtx;
192 std::ostringstream& op = isVertexCase ? vtx : frag;
194 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
195 vtx << "attribute mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch.
196 vtx << "attribute mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch.
200 vtx << "attribute mediump float a_compareValue;\n";
207 vtx << "varying mediump vec4 v_color;\n";
212 vtx << "varying mediump vec4 v_value0;\n";
213 vtx << "varying mediump vec4 v_value1;\n";
219 vtx << "varying mediump float v_compareValue;\n";
224 vtx << "\n";
225 vtx << "void main()\n";
226 vtx << "{\n";
227 vtx << " gl_Position = a_position;\n";
268 vtx << " v_color = res;\n";
275 vtx << " v_compareValue = a_compareValue;\n";
276 vtx << " v_value0 = a_value0;\n";
277 vtx << " v_value1 = a_value1;\n";
282 vtx << "}\n";
285 m_vertShaderSource = vtx.str();
466 std::ostringstream vtx;
468 std::ostringstream& op = isVertexCase ? vtx : frag;
470 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
471 vtx << "attribute mediump vec4 a_value;\n"; // Input for workload calculations.
475 vtx << "attribute mediump float a_bound;\n";
482 vtx << "varying mediump vec4 v_color;\n";
487 vtx << "varying mediump vec4 v_value;\n";
492 vtx << "varying mediump float v_bound;\n";
497 vtx << "\n";
498 vtx << "void main()\n";
499 vtx << "{\n";
500 vtx << " gl_Position = a_position;\n";
546 vtx << " v_color = res;\n";
553 vtx << " v_bound = a_bound;\n";
554 vtx << " v_value = a_value;\n";
559 vtx << "}\n";
562 m_vertShaderSource = vtx.str();
694 std::ostringstream vtx;
696 std::ostringstream& op = isVertexCase ? vtx : frag;
698 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
699 vtx << "attribute mediump vec4 a_value;\n"; // Value for workload calculations.
704 vtx << "varying mediump vec4 v_color;\n";
709 vtx << "varying mediump vec4 v_value;\n";
713 vtx << "\n";
714 vtx << "void main()\n";
715 vtx << "{\n";
716 vtx << " gl_Position = a_position;\n";
728 vtx << " v_color = res;\n";
733 vtx << " v_value = a_value;\n"; // Transfer input to fragment shader through varying.
737 vtx << "}\n";
740 m_vertShaderSource = vtx.str();