Lines Matching defs:stream
902 std::ostringstream stream;
905 stream << "${GLSL_VERSION_DECL}\n";
909 stream << "${GLSL_EXTENSION}"
913 stream << "in highp vec2 v_color;\n";
920 stream << "layout(location=" << drawBufferNdx << ") out highp ";
927 stream << "vec4";
931 stream << "uvec4";
935 stream << "ivec4";
942 stream << " o_drawBuffer" << drawBufferNdx << ";\n";
945 stream << "void main (void)\n"
960 stream << "\to_drawBuffer" << drawBufferNdx;
967 stream << " = vec4(" << values[(drawBufferNdx + 0) % 4]
974 stream << " = uvec4(uint(" << values[(drawBufferNdx + 0) % 4]
981 stream << " = ivec4(int(" << values[(drawBufferNdx + 0) % 4]
992 stream << "}";
998 return glu::FragmentSource(tcu::StringTemplate(stream.str()).specialize(args));