Lines Matching full:vec4
43 using tcu::Vec4;
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.
207 vtx << "varying mediump vec4 v_color;\n";
208 frag << "varying mediump vec4 v_color;\n";
212 vtx << "varying mediump vec4 v_value0;\n";
213 vtx << "varying mediump vec4 v_value1;\n";
214 frag << "varying mediump vec4 v_value0;\n";
215 frag << "varying mediump vec4 v_value1;\n";
233 op << " mediump vec4 res;\n";
295 m_attributes.push_back(AttribSpec("a_compareValue", Vec4(value, 0.0f, 0.0f, 0.0f),
296 Vec4(value, 0.0f, 0.0f, 0.0f),
297 Vec4(value, 0.0f, 0.0f, 0.0f),
298 Vec4(value, 0.0f, 0.0f, 0.0f)));
326 m_attributes.push_back(AttribSpec("a_compareValue", Vec4(minValue, 0.0f, 0.0f, 0.0f),
327 Vec4(maxValue, 0.0f, 0.0f, 0.0f),
328 Vec4(minValue, 0.0f, 0.0f, 0.0f),
329 Vec4(maxValue, 0.0f, 0.0f, 0.0f)));
333 m_attributes.push_back(AttribSpec("a_value0", Vec4(0.0f, 0.1f, 0.2f, 0.3f),
334 Vec4(0.4f, 0.5f, 0.6f, 0.7f),
335 Vec4(0.8f, 0.9f, 1.0f, 1.1f),
336 Vec4(1.2f, 1.3f, 1.4f, 1.5f)));
338 m_attributes.push_back(AttribSpec("a_value1", Vec4(0.0f, 0.1f, 0.2f, 0.3f),
339 Vec4(0.4f, 0.5f, 0.6f, 0.7f),
340 Vec4(0.8f, 0.9f, 1.0f, 1.1f),
341 Vec4(1.2f, 1.3f, 1.4f, 1.5f)));
470 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
471 vtx << "attribute mediump vec4 a_value;\n"; // Input for workload calculations.
482 vtx << "varying mediump vec4 v_color;\n";
483 frag << "varying mediump vec4 v_color;\n";
487 vtx << "varying mediump vec4 v_value;\n";
488 frag << "varying mediump vec4 v_value;\n";
506 op << " mediump vec4 res = vec4(0.0);\n";
571 m_attributes.push_back(AttribSpec("a_bound", Vec4(loopBound, 0.0f, 0.0f, 0.0f),
572 Vec4(loopBound, 0.0f, 0.0f, 0.0f),
573 Vec4(loopBound, 0.0f, 0.0f, 0.0f),
574 Vec4(loopBound, 0.0f, 0.0f, 0.0f)));
602 m_attributes.push_back(AttribSpec("a_bound", Vec4(minValue, 0.0f, 0.0f, 0.0f),
603 Vec4(maxValue, 0.0f, 0.0f, 0.0f),
604 Vec4(minValue, 0.0f, 0.0f, 0.0f),
605 Vec4(maxValue, 0.0f, 0.0f, 0.0f)));
609 m_attributes.push_back(AttribSpec("a_value", Vec4(0.0f, 0.1f, 0.2f, 0.3f),
610 Vec4(0.4f, 0.5f, 0.6f, 0.7f),
611 Vec4(0.8f, 0.9f, 1.0f, 1.1f),
612 Vec4(1.2f, 1.3f, 1.4f, 1.5f)));
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";
705 frag << "varying mediump vec4 v_color;\n";
709 vtx << "varying mediump vec4 v_value;\n";
710 frag << "varying mediump vec4 v_value;\n";
722 op << "\tmediump vec4 res;\n";
743 m_attributes.push_back(AttribSpec("a_value", Vec4(0.0f, 0.1f, 0.2f, 0.3f),
744 Vec4(0.4f, 0.5f, 0.6f, 0.7f),
745 Vec4(0.8f, 0.9f, 1.0f, 1.1f),
746 Vec4(1.2f, 1.3f, 1.4f, 1.5f)));
772 dst << "\t" << resultVariableName << " = vec4(0.0);\n";