Lines Matching refs:vtxSrc
2038 std::ostringstream vtxSrc;
2040 vtxSrc << glu::getGLSLVersionDeclaration(glslVersion) << "\n";
2043 vtxSrc << "out gl_PerVertex {\n"
2047 vtxSrc << "in highp vec4 a_position;\n";
2048 vtxSrc << "uniform highp vec4 u_color;\n";
2054 vtxSrc << "layout(location = 3) out vec4 o_val5;\n";
2057 vtxSrc << "flat out uvec4 val4;\n";
2060 vtxSrc << "flat out ivec2 val3;\n";
2063 vtxSrc << "out vec3 val2[2];\n";
2066 vtxSrc << "out vec4 val1;\n";
2069 vtxSrc << "out float val0;\n";
2072 vtxSrc << "void main (void)\n";
2073 vtxSrc << "{\n";
2074 vtxSrc << " gl_Position = a_position;\n";
2080 vtxSrc << " o_val5 = u_color;\n";
2083 vtxSrc << " val4 = uvec4(u_color);\n";
2086 vtxSrc << " val3 = ivec2(u_color);\n";
2089 vtxSrc << " val2[0] = vec3(u_color);\n";
2092 vtxSrc << " val1 = u_color;\n";
2095 vtxSrc << " val0 = u_color.x;\n";
2098 vtxSrc << "}\n";
2100 outVtxSrc = vtxSrc.str();
2880 std::ostringstream vtxSrc;
2881 vtxSrc << glu::getGLSLVersionDeclaration(glslVersion) << "\n";
2884 vtxSrc << "out gl_PerVertex {\n"
2888 vtxSrc << "in highp vec4 a_position;\n";
2889 vtxSrc << "uniform highp vec4 u_color;\n";
2893 vtxSrc << "precision " << precision << " float;\n";
2896 vtxSrc << "out float var;\n";
2899 vtxSrc << "out " << precision << " float var;\n";
2902 vtxSrc << "void main (void)\n";
2903 vtxSrc << "{\n";
2904 vtxSrc << " gl_Position = a_position;\n";
2905 vtxSrc << " var = u_color.r;\n";
2906 vtxSrc << "}\n";
2907 outVtxSrc = vtxSrc.str();
2952 std::ostringstream vtxSrc;
2953 vtxSrc << glu::getGLSLVersionDeclaration(glslVersion) << "\n";
2956 vtxSrc << "out gl_PerVertex {\n"
2960 vtxSrc << "in highp vec4 a_position;\n";
2961 vtxSrc << "uniform highp vec4 u_color;\n";
2965 vtxSrc << "precision " << precision << " int;\n";
2968 vtxSrc << "flat out int var;\n";
2971 vtxSrc << "flat out " << precision << " int var;\n";
2974 vtxSrc << "void main (void)\n";
2975 vtxSrc << "{\n";
2976 vtxSrc << " gl_Position = a_position;\n";
2977 vtxSrc << " var = int(u_color.r);\n";
2978 vtxSrc << "}\n";
2979 outVtxSrc = vtxSrc.str();
3024 std::ostringstream vtxSrc;
3025 vtxSrc << glu::getGLSLVersionDeclaration(glslVersion) << "\n";
3028 vtxSrc << "out gl_PerVertex {\n"
3032 vtxSrc << "in highp vec4 a_position;\n";
3033 vtxSrc << "uniform highp vec4 u_color;\n";
3037 vtxSrc << "precision " << precision << " int;\n";
3040 vtxSrc << "flat out uint var;\n";
3043 vtxSrc << "flat out " << precision << " uint var;\n";
3046 vtxSrc << "void main (void)\n";
3047 vtxSrc << "{\n";
3048 vtxSrc << " gl_Position = a_position;\n";
3049 vtxSrc << " var = uint(u_color.r);\n";
3050 vtxSrc << "}\n";
3051 outVtxSrc = vtxSrc.str();