Lines Matching defs:source

255 Utils::shaderCompilationException::shaderCompilationException(const glw::GLchar* source, const glw::GLchar* message)
256 : m_shader_source(source), m_error_message(message)
305 * @param compute_shader_code Compute shader source code
306 * @param fragment_shader_code Fragment shader source code
307 * @param geometry_shader_code Geometry shader source code
308 * @param tesselation_control_shader_code Tesselation control shader source code
309 * @param tesselation_evaluation_shader_code Tesselation evaluation shader source code
310 * @param vertex_shader_code Vertex shader source code
394 void Utils::program::compile(GLuint shader_id, const GLchar* source) const
402 /* Set source code */
403 gl.shaderSource(shader_id, 1 /* count */, &source, 0 /* lengths */);
431 throw shaderCompilationException(source, &message[0]);
664 void Utils::program::printShaderSource(const GLchar* source, tcu::MessageBuilder& log)
668 log << "Shader source.";
672 while (0 != source)
675 const GLchar* next_line = strchr(source, '\n');
680 line.assign(source, next_line - source);
684 line = source;
687 if (0 != *source)
692 source = next_line;
2870 static const GLchar* source = "${VERSION}\n"
2878 std::string result = source;
3317 /** Get string with fragment shader source code
3319 * @return Fragment shader source
3323 static const GLchar* source = "${VERSION}\n"
3334 std::string result = source;
3339 /** Get string with geometry shader source code
3341 * @return Geometry shader source
3345 static const GLchar* source = "${VERSION}\n"
3376 std::string result = source;
3392 /** Get string with fragment shader source code
3394 * @return Fragment shader source
3398 static const GLchar* source = "${VERSION}\n"
3409 std::string result = source;
3414 /** Get string with geometry shader source code
3416 * @return Geometry shader source
3420 static const GLchar* source = "${VERSION}\n"
3453 std::string result = source;
3538 /** Get string with fragment shader source code
3540 * @return Fragment shader source
3544 static const GLchar* source = "${VERSION}\n"
3555 std::string result = source;
3560 /** Get string with geometry shader source code
3562 * @return Geometry shader source
3566 static const GLchar* source = "${VERSION}\n"
3606 std::string result = source;
3639 /** Get string with fragment shader source code
3641 * @return Fragment shader source
3645 static const GLchar* source = "${VERSION}\n"
3656 std::string result = source;
3661 /** Get string with geometry shader source code
3663 * @return Geometry shader source
3667 static const GLchar* source = "${VERSION}\n"
3710 std::string result = source;
3872 /** Get string with fragment shader source code
3874 * @return Fragment shader source
3878 static const GLchar* source = "${VERSION}\n"
3889 std::string result = source;
3894 /** Get string with geometry shader source code
3896 * @return Geometry shader source
3900 static const GLchar* source = "${VERSION}\n"
3935 std::string result = source;
4255 /** Get string with fragment shader source code
4257 * @return Fragment shader source
4261 static const GLchar* source = "${VERSION}\n"
4274 std::string result = source;
4279 /** Get string with geometry shader source code
4281 * @return Geometry shader source
4285 static const GLchar* source = "${VERSION}\n"
4330 std::string result = source;
4432 /** Get string with fragment shader source code
4434 * @return Fragment shader source
4438 static const GLchar* source = "${VERSION}\n"
4451 std::string result = source;
4456 /** Get string with geometry shader source code
4458 * @return Geometry shader source
4462 static const GLchar* source = "${VERSION}\n"
4506 std::string result = source;
4682 /** Get string with fragment shader source code
4684 * @return Fragment shader source
4688 static const GLchar* source = "${VERSION}\n"
4699 std::string result = source;
4704 /** Get string with geometry shader source code
4706 * @return Geometry shader source
4710 static const GLchar* source = "${VERSION}\n"
4760 std::string result = source;