Lines Matching refs:shaderBody
1055 std::string genVertexShader (const std::string& shaderDecl, const std::string& shaderBody);
1056 std::string genFragmentShader (const std::string& shaderDecl, const std::string& shaderBody);
1057 std::string genComputeShader (const std::string& shaderDecl, const std::string& shaderBody);
1089 …::string ShadersOOB::genVertexShader (const std::string& shaderDecl, const std::string& shaderBody) in genVertexShader() argument
1112 << shaderBody << "\n" in genVertexShader()
1129 …string ShadersOOB::genFragmentShader (const std::string& shaderDecl, const std::string& shaderBody) in genFragmentShader() argument
1154 << shaderBody << "\n" in genFragmentShader()
1170 << shaderBody << "\n" in genFragmentShader()
1183 …:string ShadersOOB::genComputeShader (const std::string& shaderDecl, const std::string& shaderBody) in genComputeShader() argument
1197 << shaderBody in genComputeShader()
1206 std::ostringstream shaderBody; in genNonComputeSource() local
1216 shaderBody << " highp float color_out[4] = float[4](0.25f, 0.5f, 0.75f, 1.0f);\n" in genNonComputeSource()
1232 shaderBody << readWriteStatement; in genNonComputeSource()
1235 …return glu::ProgramSources() << glu::VertexSource(genVertexShader(shaderDecl.str(), shaderBody.str… in genNonComputeSource()
1236 << glu::FragmentSource(genFragmentShader(shaderDecl.str(), shaderBody.str())); in genNonComputeSource()
1242 std::ostringstream shaderBody; in genComputeSource() local
1246 shaderBody << " uvec3 size = gl_NumWorkGroups * gl_WorkGroupSize;\n" in genComputeSource()
1255 shaderBody << " highp vec4 values = vec4(1.0f, 0.0f, 3.0f, 2.0f) * float(groupNdx);\n" in genComputeSource()
1271 shaderBody << readWriteStatement; in genComputeSource()
1274 …return glu::ProgramSources() << glu::ComputeSource(genComputeShader(shaderDecl.str(), shaderBody.s… in genComputeSource()