Home | History | Annotate | Download | only in functional

Lines Matching defs:out

88 		"layout(location = 0) out mediump vec4 o_fragColor;\n"
120 void sliceSourceString (const std::string& in, ShaderSources& out, const int numSlices, const size_t paddingLength = 0)
130 out.strings.push_back(in.substr(ndx * sliceSize, sliceSize) + padding);
133 out.lengths.push_back((int)sliceSize);
141 out.strings.push_back(lastString + padding);
144 out.lengths.push_back(lastStringLength);
247 std::ostringstream out;
249 out << "#version 300 es\n";
252 out << "layout(location = 0) out mediump vec4 o_fragColor;\n";
254 out << "void main (void)\n";
255 out << "{\n";
256 out << " " << outputName << " = vec4(" << valueString << ");\n";
257 out << "}\n";
259 return out.str();
597 std::ostringstream out;
599 out << "#version 300 es\n";
600 out << "precision mediump float;\n";
603 out << "layout(location = 0) out mediump vec4 o_fragColor;\n";
605 out << "void main()\n";
606 out << "{\n";
607 out << " float variable = 1.0f;\n";
609 if (m_shaderType == glu::SHADERTYPE_VERTEX) out << " gl_Position = vec4(variable);\n";
610 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) out << " o_fragColor = vec4(variable);\n";
612 out << "}\n";
614 return out.str();
704 std::ostringstream out;
706 out << "#version 300 es\n";
707 out << "precision mediump float;\n";
710 out << "layout(location = 0) out mediump vec4 o_fragColor;\n";
712 out << "void main()\n";
713 out << "{\n";
714 out << " float variable = 1.0f;\n";
716 if (m_shaderType == glu::SHADERTYPE_VERTEX) out << " gl_Position = vec4(variable);\n";
717 else if (m_shaderType == glu::SHADERTYPE_FRAGMENT) out << " o_fragColor = vec4(variable);\n";
719 out << "}\n";
721 return out.str();
1105 void getBinaryFormats (std::vector<GLenum>& out);
1108 void getProgramBinary (ProgramBinary& out, GLuint program);
1132 void ProgramBinaryCase::getBinaryFormats (std::vector<GLenum>& out)
1137 out.clear();
1141 out.resize(numFormats, 0);
1143 glGetIntegerv(GL_PROGRAM_BINARY_FORMATS, (GLint*)&out[0]);
1152 void ProgramBinaryCase::getProgramBinary (ProgramBinary& out, GLuint program)
1162 out.data.clear();
1163 out.data.resize(binaryLength, 0);
1165 GLU_CHECK_CALL(glGetProgramBinary(program, (GLsizei)out.data.size(), &actualLength, &format, &(out.data[0])));
1169 out.format = format;
1282 "layout(location = 0) out mediump vec4 o_fragColor;\n\n"