Lines Matching defs:source

315  * @param compute_shader                Compute shader source code
316 * @param fragment_shader Fragment shader source code
317 * @param geometry_shader Geometry shader source code
318 * @param tesselation_control_shader Tesselation control shader source code
319 * @param tesselation_evaluation_shader Tesselation evaluation shader source code
320 * @param vertex_shader Vertex shader source code
485 * @param source Source code
487 void Shader::Init(glw::GLenum stage, const std::string& source)
489 if (true == source.empty())
491 /* No source == no shader */
499 Source(m_gl, m_id, source);
573 /** Set shader's source code
577 * @param source Shader source code
579 void Shader::Source(const glw::Functions& gl, glw::GLuint id, const std::string& source)
581 const GLchar* code = source.c_str();
1202 const char* source = "${VERSION}\n"
1208 return tcu::StringTemplate(source).specialize(m_specializationMap);
1217 const char* source = "${VERSION}\n"
1224 return tcu::StringTemplate(source).specialize(m_specializationMap);
1537 /** Prepares source code for fragment shader
1545 const GLchar* source = "${VERSION}\n"
1589 return tcu::StringTemplate(source).specialize(m_specializationMap);
1598 static const GLchar* source = "${VERSION}\n"
1623 return tcu::StringTemplate(source).specialize(m_specializationMap);
1632 static const GLchar* source = "${VERSION}\n"
1638 return tcu::StringTemplate(source).specialize(m_specializationMap);
1675 * @param is_source Selects if texutre will be used as source or destination
1799 static const GLchar* source =
1829 std::string cs = tcu::StringTemplate(source).specialize(m_specializationMap);
2023 static const GLchar* source =
2058 std::string cs = tcu::StringTemplate(source).specialize(m_specializationMap);
2268 static const GLchar* source =
2304 std::string cs = tcu::StringTemplate(source).specialize(m_specializationMap);
2450 /* Test invalid source cases */
2547 static const GLchar* source =
2633 return tcu::StringTemplate(source).specialize(m_specializationMap);
2639 * @param id_source Id of texture used as source
3292 static const GLchar* source = "${VERSION}\n"
3298 "} source;\n"
3309 " destination.data[index_destination] = source.data[index_source];\n"
3323 return tcu::StringTemplate(source).specialize(m_specializationMap);
3362 name = "invalid source indices";
3368 * the source buffer.
3408 * against each possible source value).
3478 /* The source buffer is packed std140 so we need vec4s */
3563 static const GLchar* source = "${VERSION}\n"
3569 "} source;\n"
3580 " destination.data[index_destination] = source.data[index_source];\n"
3592 return tcu::StringTemplate(source).specialize(m_specializationMap);
3618 name = "invalid source indices";
3633 * the source buffer.