Lines Matching defs:shader

314 	bool CompileShader(GLuint shader)
316 glCompileShader(shader);
319 glGetShaderiv(shader, GL_COMPILE_STATUS, &status);
324 glGetShaderInfoLog(shader, sizeof(log), &length, log);
6775 * Program should consist of vertex and fragment shader. Vertex shader should
6776 * pass vertex position through. Fragment shader should do imageLoad() and
7257 * Program should consist of vertex and fragment shader. Vertex shader should
7258 * pass vertex position through. Fragment shader should do imageLoad() and
7259 * imageStore() operations at coordinates gl_FragCoord. Fragment shader should
7920 * Program should consist of vertex and fragment shader. Vertex shader should
7921 * pass vertex position through. Fragment shader should do imageLoad() and
8539 * Repeat steps to test all shader stages that support at least 2 image
8542 * Program has to contain all necessary shader stages. Use boilerplate shaders
8543 * for shader stages that are not important for the test.
8545 * Tested shader stage should:
8581 * where gl_Max*ImageUniforms is the constant corresponding to tested shader
8896 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Problems with fragment shader stage!"
8904 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Problems with geometry shader stage!"
8913 << "Problems with tesselation control shader stage!"
8922 << "Problems with tesselation evaluation shader stage!"
8930 m_context.getTestContext().getLog() << tcu::TestLog::Message << "Problems with vertex shader stage!"
9173 /** Build program to test specified shader stage
9229 /* Get source code for tested shader stage */
9262 TCU_FAIL("Invalid shader stage");
9280 /** Create texture to test given shader stage
9376 /** Get maximum number of image uniforms allowed for given shader stage
9410 TCU_FAIL("Invalid shader stage");
9419 /** Prepare source for tested shader stage
9488 TCU_FAIL("Invalid shader stage");
9539 /** Test given shader stage
9543 * @return m_test_not_supported if shader stage does not support at least m_min_required_image_uniforms image uniforms;
9600 TCU_FAIL("Invalid shader stage");
9687 * @param positive_value Value stored by shader as read
9688 * @param negated_value Value stored by shader after negation
9740 * @param positive_value Value stored by shader as read
9741 * @param negated_value Value stored by shader after negation
9781 * @param positive_value Value stored by shader as read
9782 * @param negated_value Value stored by shader after negation
9820 * @param positive_value Value stored by shader as read
9821 * @param negated_value Value stored by shader after negation
9843 * @param positive_value Value stored by shader as read
9844 * @param negated_value Value stored by shader after negation
9880 * shader stage:
10305 * @param fragment_shader_code Source of fragment shader
10306 * @param geometry_shader_code Source of geometry shader
10307 * @param vertex_shader_code Source of vertex shader
10987 * fragment shader stage,
10989 * vertex shader stage,
10991 * tessellation control shader stage,
10993 * tessellation evaluation shader stage,
10995 * geometry shader stage,
10997 * shader stages combined, any single stage should not exceed its limits, this
11005 * corresponding to tested shader stage.
11008 * - u_image name should be appended with the name of shader stage, like
11011 * gl_Max*ImageUniforms is constant corresponding to tested shader stage,
11013 * gl_Max*ImageUniforms corresponding to shader stages is equal (or less) to
11016 * All defined image uniforms have to be active. Each shader stage that declare
11089 /** Test fragment shader stage
11145 /** Test geometry shader stage
11212 /** Test tesselation control shader stage
11290 /** Test teselation evaluation shader stage
11356 /** Test vertex shader stage
11407 /** Test combined shader stages
11606 << " File: " << __FILE__ << " Line: " << __LINE__ << " Vertex shader code:\n"
11607 << vertex_shader_code << "\nTesselation control shader code:\n"
11608 << tesselation_control_shader_code << "\nTesselation evaluation shader code:\n"
11609 << tesselation_evaluation_shader_code << "\nGeometry shader code:\n"
11610 << geometry_shader_code << "\nFragment shader code:\n"
11622 << " File: " << __FILE__ << " Line: " << __LINE__ << " Vertex shader code:\n"
11623 << vertex_shader_code << "\nTesselation control shader code:\n"
11624 << tesselation_control_shader_code << "\nTesselation evaluation shader code:\n"
11625 << tesselation_evaluation_shader_code << "\nGeometry shader code:\n"
11626 << geometry_shader_code << "\nFragment shader code:\n"
11634 * @param fragment_shader_code Source code for fragment shader stage
11635 * @param geometry_shader_code Source code for geometry shader stage
11636 * @param tesselation_control_shader_code Source code for tesselation control shader stage
11637 * @param tesselation_evaluation_shader_code Source code for tesselation evaluation shader stage
11638 * @param vertex_shader_code Source code for vertex shader stage