/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderIsolines.cpp | 175 for (unsigned int n_vertex = 0; n_vertex < test_result.n_vertices; ++n_vertex) in checkIrrelevantTessellationLevelsHaveNoEffect() local 177 … const float* vertex_data_1 = (&test_result.rendered_data[0]) + n_vertex * 3; /* components */ in checkIrrelevantTessellationLevelsHaveNoEffect() 178 …const float* vertex_data_2 = (&test_result_reference.rendered_data[0]) + n_vertex * 3; /* componen… in checkIrrelevantTessellationLevelsHaveNoEffect() 260 for (unsigned int n_vertex = 0; n_vertex < test_result.n_vertices; in checkSecondOuterTessellationLevelEffect() local 261 n_vertex += 2 /* vertices per line segment */) in checkSecondOuterTessellationLevelEffect() 264 const float* vertex1 = (&test_result.rendered_data[0]) + n_vertex * 3; /* components */ in checkSecondOuterTessellationLevelEffect() 266 const float* vertex2 = (&test_result.rendered_data[0]) + (n_vertex + 1) * 3; /* components */ in checkSecondOuterTessellationLevelEffect() 332 for (unsigned int n_vertex = 0; n_vertex < test_result.n_vertices; ++n_vertex) in checkNoLineSegmentIsDefinedAtHeightOne() local 334 const float* vertex = (&test_result.rendered_data[0]) + n_vertex * 3; /* components */ in checkNoLineSegmentIsDefinedAtHeightOne() 415 for (unsigned int n_vertex = 0; n_vertex < test_result.n_vertices; ++n_vertex) in countIsolines() local [all …]
|
D | esextcTessellationShaderBarrier.cpp | 490 for (unsigned int n_vertex = 0; n_vertex < m_n_result_vertices; ++n_vertex) in verifyXFBBuffer() local 492 int retrieved_x = data_int[n_vertex * 4]; in verifyXFBBuffer() 493 int retrieved_y = data_int[n_vertex * 4 + 1]; in verifyXFBBuffer() 494 int retrieved_z = data_int[n_vertex * 4 + 2]; in verifyXFBBuffer() 495 int retrieved_w = data_int[n_vertex * 4 + 3]; in verifyXFBBuffer() 693 for (unsigned int n_vertex = 0; n_vertex < m_n_result_vertices; ++n_vertex) in verifyXFBBuffer() local 695 if (de::abs(data_float[n_vertex] - 1.0f /* valid result value */) > epsilon) in verifyXFBBuffer()
|
D | esextcTessellationShaderInvariance.cpp | 945 for (unsigned int n_vertex = 0; n_vertex < n_vertices; ++n_vertex) in verifyResultData() local 947 logMessage << data1_ptr[n_vertex]; in verifyResultData() 949 if (n_vertex != (n_vertices - 1)) in verifyResultData() 961 for (unsigned int n_vertex = 0; n_vertex < n_vertices; ++n_vertex) in verifyResultData() local 963 logMessage << data2_ptr[n_vertex]; in verifyResultData() 965 if (n_vertex != (n_vertices - 1)) in verifyResultData() 1158 …for (unsigned int n_vertex = 0; n_vertex < m_n_tessellated_vertices[n_primitive_type * 2]; ++n_ver… in verifyResultData() local 1163 const float* vertex_ptr = data1_ptr + n_vertex * 3; /* components */ in verifyResultData() 1204 …for (unsigned int n_vertex = 0; n_vertex < m_n_tessellated_vertices[n_primitive_type * 2 + 1]; ++n… in verifyResultData() local 1206 const float* vertex_ptr = data2_ptr + n_vertex * 3; /* components */ in verifyResultData() [all …]
|
D | esextcTessellationShaderTCTE.cpp | 923 unsigned int n_vertex = 0; in iterate() local 926 data_iterator != run.result_tc_pointSize_data.end(); data_iterator++, n_vertex++) in iterate() 929 unsigned int vertex_id = n_vertex / run.n_result_vertices_per_patch; in iterate() 932 if (run.gs_id != 0 && (n_vertex % 2) != 0) in iterate() 940 …tCtx.getLog() << tcu::TestLog::Message << "Invalid tc_pointSize value found at index [" << n_vertex in iterate() 952 n_vertex -= n_vertex; in iterate() 955 data_iterator != run.result_tc_position_data.end(); data_iterator++, n_vertex++) in iterate() 958 float expected_value = (float)(n_vertex / run.n_result_vertices_per_patch); in iterate() 960 if (run.gs_id != 0 && (n_vertex % 2) != 0) in iterate() 969 …stCtx.getLog() << tcu::TestLog::Message << "Invalid tc_position value found at index [" << n_vertex in iterate() [all …]
|
D | esextcTessellationShaderVertexOrdering.cpp | 601 for (unsigned int n_vertex = 0; n_vertex < 3; ++n_vertex) in verifyVertexOrderingCorrectness() local 604 barycentric_vertex_data + n_vertex * 3, cartesian_vertex_data + n_vertex * 2); in verifyVertexOrderingCorrectness() 611 for (unsigned int n_vertex = 0; n_vertex < n_vertices_per_primitive; ++n_vertex) in verifyVertexOrderingCorrectness() local 613 int i_op_1 = (n_vertex + 1) % n_vertices_per_primitive; in verifyVertexOrderingCorrectness() 615 determinant += (cartesian_vertex_data[n_vertex * 2 /* components */ + 0] * in verifyVertexOrderingCorrectness() 618 cartesian_vertex_data[n_vertex * 2 /* components */ + 1]); in verifyVertexOrderingCorrectness()
|
D | esextcTessellationShaderVertexSpacing.cpp | 162 for (unsigned int n_vertex = 0; n_vertex < run.n_vertices; ++n_vertex) in getEdgesForIsolinesTessellation() local 165 const float* coordinate = (const float*)(&run.data[0]) + 3 /* components */ * n_vertex; in getEdgesForIsolinesTessellation() 232 for (unsigned int n_vertex = 0; n_vertex < run.n_vertices; ++n_vertex) in getEdgesForQuadsTessellation() local 235 const float* vertex_data = (const float*)(&run.data[0]) + 3 /* components */ * n_vertex; in getEdgesForQuadsTessellation() 534 for (unsigned int n_vertex = 0; n_vertex < run.n_vertices; ++n_vertex) in getEdgesForTrianglesTessellation() local 536 …const float* vertex_data_cartesian = (const float*)run.data_cartesian + n_vertex * 2; /* component… in getEdgesForTrianglesTessellation() 1005 for (unsigned int n_vertex = 0; n_vertex < run.n_vertices; ++n_vertex) in initTest() local 1008 (const float*)(&run.data[0]) + n_vertex * 3; /* components */ in initTest() 1009 float* cartesian_vertex_data = (float*)run.data_cartesian + n_vertex * 2; /* components */ in initTest()
|
D | esextcTessellationShaderTessellation.cpp | 2093 for (unsigned int n_vertex = 0; n_vertex < n_result_vertices; ++n_vertex) in iterate() local 2095 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate() 2115 for (unsigned int n_vertex = 0; n_vertex < n_result_vertices; ++n_vertex) in iterate() local 2117 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate() 2125 << "vertex at index: " << n_vertex << "is defined by the following triple:" in iterate() 2137 for (unsigned int n_vertex = 0; n_vertex < n_result_vertices; ++n_vertex) in iterate() local 2139 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
|
D | esextcTessellationShaderQuads.cpp | 365 for (unsigned int n_vertex = 0; n_vertex < n_raw_data_vertices; n_vertex += 2) in getUniqueTessCoordinatesFromVertexDataSet() local 367 const float* vertex_data = raw_data + n_vertex * 3 /* components */; in getUniqueTessCoordinatesFromVertexDataSet()
|
D | esextcTessellationShaderTriangles.cpp | 458 for (unsigned int n_vertex = 0; n_vertex < 3 /* vertices */; ++n_vertex) in iterate() local 460 const float* triangle_ptr = triangle_vertex_data + 3 * n_vertex; in iterate()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cSparseBufferTests.cpp | 3862 for (unsigned int n_vertex = 0; n_vertex < 6; ++n_vertex) in createTestData() local 6330 for (unsigned int n_vertex = 0; n_vertex < m_n_ubo_uints && result_local; in execute() local 6331 …++n_vertex, ubo_data_offset = static_cast<unsigned int>(ubo_data_offset + 4 * sizeof(unsigned int)… in execute() 6338 const unsigned int retrieved_value = result_data_ptr[n_vertex]; in execute() 6358 << n_vertex << ")" in execute() 6492 …for (unsigned int n_vertex = 0; n_vertex < m_sparse_bo_data_size / (4 * sizeof(unsigned int)); ++n… in initTestCaseGlobal() local 6494 *ubo_data_traveller_ptr = n_vertex; in initTestCaseGlobal()
|
D | gl4cShaderSubroutineTests.cpp | 9770 for (unsigned int n_vertex = 0; n_vertex < m_n_points_to_draw; ++n_vertex) in verifyXFBData() local 9776 float value = float((3 * n_vertex + 1) * 2); in verifyXFBData() 9780 value /= float(n_vertex + 2); in verifyXFBData() 9790 tcu::Vec4 value((float)n_vertex, (float)n_vertex + 1, (float)n_vertex + 2, (float)n_vertex + 3); in verifyXFBData() 9792 switch (n_vertex % 2) in verifyXFBData() 9796 for (unsigned int iteration = 0; iteration < n_vertex && bool_operator2_result; ++iteration) in verifyXFBData() 9806 for (unsigned int iteration = 0; iteration < n_vertex * 2; ++iteration) in verifyXFBData() 9820 …tx.getLog() << tcu::TestLog::Message << "XFBed data was found to be invalid at index [" << n_vertex in verifyXFBData()
|
D | gl4cPipelineStatisticsQueryTests.cpp | 235 for (unsigned int n_vertex = 0; n_vertex < n_output_primitive_vertices; ++n_vertex) in buildGeometryShaderBody() local
|
D | gl4cTextureViewTests.cpp | 4610 for (unsigned int n_vertex = 0; n_vertex < 6 /* as per comment */ && result; ++n_vertex) in executeTest() local 4612 const int* vertex_data_ptr = bo_storage_ptr + n_vertex * 4 /* as per comment */; in executeTest()
|