Lines Matching defs:data
96 * @param data <data> parameter
99 void Utils::buffer::update(glw::GLenum target, glw::GLsizeiptr size, glw::GLvoid* data, glw::GLenum usage)
106 gl.bufferData(target, size, data, usage);
398 * @param binary_format Format of <binary> data
415 * @param binary Buffer for binary data
416 * @param binary_format Format of binary data
731 * @param format Format of data
732 * @param type Type of data
733 * @param data Buffer with image
736 glw::GLvoid* data)
742 gl.texSubImage2D(GL_TEXTURE_2D, 0 /* level */, 0 /* x */, 0 /* y */, width, height, format, type, data);
2239 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, total_xfb_bo_size, DE_NULL /* data */, GL_STATIC_DRAW);
2258 /* Update XFB binding so that we do not overwrite data XFBed in previous iterations */
2519 /* Generate buffer object to hold result XFB data */
2618 /** Verifies data that has been XFBed out by the vertex shader.
2620 * @param xfb_data Buffer holding the data.
2622 * that generated the data at @param xfb_data.
2624 * @return true if the data was found to be valid, false if it
2816 "// Input data\n"
2856 /* Test data */
2942 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
3675 * @param expected_results Test data. [0] is used as input data. All are used as expected_results
3879 "// Input data\n"
3920 /* Test data */
3973 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
4044 * @param input_data Input data
4125 * @param input_data Input data
4143 /* Prepare subroutine uniform data */
4155 /* Set up input data uniforms */
4270 "// Input data\n"
4284 /* Test data */
4312 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
4328 /* Set up input data uniforms */
4418 "// Input data\n"
4485 /* Test data */
4558 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
4847 /* Set up input data uniforms */
4857 /* Prepare subroutine uniform data */
5032 /* Set up a buffer object we will use to hold XFB data */
5044 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, xfb_bo_size, DE_NULL, /* data */
5106 /** Verifies the data XFBed out by the vertex shader. Should the data
5109 * @param data_ptr XFB data.
5133 m_testCtx.getLog() << tcu::TestLog::Message << "XFBed data is invalid. Expected:"
5256 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
5325 /* Prepare subroutine uniform data */
5738 /* Prepare texture data */
5921 /* Prepare texture data */
6023 /* Test data */
6216 /* Test data */
6436 /* Test data */
6734 " vec4 data;\n"
6741 " vec4 data = in_gs.data;\n"
6742 " function(data);\n"
6744 " result = data;\n"
6788 " vec4 data;\n"
6794 " vec4 data;\n"
6802 " vec4 data = in_te[0].data;\n"
6804 " function(data);\n"
6807 " out_gs.data = data;\n"
6811 " out_gs.data = data;\n"
6815 " out_gs.data = data;\n"
6819 " out_gs.data = data;\n"
6865 " vec4 data;\n"
6871 " vec4 data;\n"
6886 " out_tc[gl_InvocationID].data = in_vs[0].data;\n"
6888 " function(out_tc[gl_InvocationID].data);\n"
6931 " vec4 data;\n"
6937 " vec4 data;\n"
6946 " out_te.data = in_tc[0].data;\n"
6948 " function(out_te.data);\n"
6991 " vec4 data;\n"
6999 " out_vs.data = vec4(0);\n"
7001 " function(out_vs.data);\n"
7115 /* Allocate enough space to hold color attachment data */
7332 /** Verifies the data that have been rendered using a pipeline object.
7333 * Contents of the data depends on indices of the shaders, as well as
7485 "struct data\n"
7493 "subroutine void routine_type_1(in data iparam, out data oparam);\n"
7494 "subroutine void routine_type_2(inout data arg);\n"
7496 "subroutine (routine_type_1) void invert(in data iparam, out data oparam)\n"
7504 "subroutine (routine_type_1) void increment(in data iparam, out data oparam)\n"
7512 "subroutine (routine_type_2) void div_by_2(inout data arg)\n"
7520 "subroutine (routine_type_2) void decrement(inout data arg)\n"
7539 " data routine_1_input;\n"
7540 " data routine_1_output;\n"
7541 " data routine_2_arg;\n"
7581 /* Test data */
7645 transform_feedback_buffer.update(GL_TRANSFORM_FEEDBACK_BUFFER, transform_feedback_buffer_size, 0 /* data */,
7735 * @param uni_input Input data
7748 /* Set up input data uniforms */
7816 * @param uni_input Input data
7831 /* Set up input data uniforms */
7835 /* Prepare subroutine uniform data */
8114 "subroutine vec4 subroutineType2(in vec4 data);\n"
8129 "subroutine(subroutineType2) vec4 function3(in vec4 data)\n"
8131 " return data * data;\n"
8133 "subroutine(subroutineType2) vec4 function4(in vec4 data)\n"
8135 " return data + data;\n"
8828 "expected data:["
8833 "found data:["
8851 "expected data:["
8856 "found data:["
8876 "expected data:!["
8881 "found data:["
9278 /* Make sure glReadPixels() does not return misaligned data */
9282 /* Initialize a buffer that will be used to store rendered data */
9309 /* Read back the data that was rendered */
9315 /* Verify the data */
9331 /** Verifies the data that have been rendered by the test program.
9333 * It is assumed the rendered data have already been copied to
9336 * If the rendered data is found to be invalid, m_has_test_passed
9636 gl.bufferData(GL_TRANSFORM_FEEDBACK_BUFFER, bo_size, DE_NULL /* data */, GL_STATIC_COPY);
9712 * @param data Input value.
9716 tcu::Vec4 FunctionalTest18_19::vec4operator_div2(tcu::Vec4 data)
9718 return data * 0.5f;
9724 * @param data Input value.
9728 tcu::Vec4 FunctionalTest18_19::vec4operator_mul4(tcu::Vec4 data)
9730 return data * 4.0f;
9733 /** Verifies data XFBed out by the vertex shader. It is assumed the subroutines were configured
9736 * If the result data is found to be invalid, m_has_test_passed is set to false.
9738 * @param data XFBed data.
9748 void FunctionalTest18_19::verifyXFBData(const glw::GLvoid* data, glw::GLuint bool_operator1_subroutine_location,
9758 const glw::GLfloat* traveller_ptr = (const glw::GLfloat*)data;
9819 m_testCtx.getLog() << tcu::TestLog::Message << "XFBed data was found to be invalid at index [" << n_vertex
9830 " expected data:"
12128 "subroutine vec4 routine_type(in vec4 data, in uint control);\n"
12130 "subroutine (routine_type) vec4 power_routine(in vec4 data, in uint control)\n"
12134 " return data * power_routine(data, control - 1);\n"
12142 "subroutine (routine_type) vec4 select_routine(in vec4 data, in uint control)\n"
12146 " return data.rrrr;\n"
12150 " return data.gggg;\n"
12154 " return data.bbbb;\n"
12158 " return data.aaaa;\n"
12182 "subroutine vec4 routine_type(in vec4 data);\n"
12186 "subroutine (routine_type) vec4 div_by_2(in vec4 data)\n"
12188 " return data / 2;\n"
12191 "subroutine (routine_type) vec4 div_routine_result_by_2(in vec4 data)\n"
12193 " return routine(data) / 2;\n"
12213 "subroutine vec4 routine_type(in vec4 data);\n"
12217 "vec4 function(in vec4 data)\n"
12219 " return routine(data) + vec4(0.5, 0.5, 0.5, 0.5);\n"
12222 "subroutine (routine_type) vec4 routine_a(in vec4 data)\n"
12224 " return function(data) / 2;\n"
12227 "subroutine (routine_type) vec4 routine_b(in vec4 data)\n"
12229 " return routine_a(data) * 2;\n"