Home
last modified time | relevance | path

Searched refs:vertex_data (Results 1 – 14 of 14) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderInvariance.cpp1442 const glw::GLfloat* vertex_data = data_float + 3 /* components */ * n_vertex; in verifyResultDataForIteration() local
1459 if (vertex_data[0] == 0.0f && vertex_data[1] != 0.0f) in verifyResultDataForIteration()
1461 expected_vertex.u = vertex_data[0]; in verifyResultDataForIteration()
1462 expected_vertex.v = 1.0f - vertex_data[1]; in verifyResultDataForIteration()
1465 else if (vertex_data[0] == 1.0f && vertex_data[1] != 0.0f) in verifyResultDataForIteration()
1467 expected_vertex.u = vertex_data[0]; in verifyResultDataForIteration()
1468 expected_vertex.v = 1.0f - vertex_data[1]; in verifyResultDataForIteration()
1481 if (vertex_data[0] != 0.0f && vertex_data[1] == 0.0f) in verifyResultDataForIteration()
1483 expected_vertex.u = 1.0f - vertex_data[0]; in verifyResultDataForIteration()
1484 expected_vertex.v = vertex_data[1]; in verifyResultDataForIteration()
[all …]
DesextcTessellationShaderUtils.cpp1381 …ellationShaderUtils::isTriangleDefined(const float* triangle_vertex_data, const float* vertex_data) in isTriangleDefined() argument
1389 if ((de::abs(triangle_vertex_data[0] - vertex_data[0]) < epsilon && in isTriangleDefined()
1390 de::abs(triangle_vertex_data[1] - vertex_data[1]) < epsilon && in isTriangleDefined()
1391 de::abs(triangle_vertex_data[2] - vertex_data[2]) < epsilon) || in isTriangleDefined()
1392 (de::abs(triangle_vertex_data[3] - vertex_data[0]) < epsilon && in isTriangleDefined()
1393 de::abs(triangle_vertex_data[4] - vertex_data[1]) < epsilon && in isTriangleDefined()
1394 de::abs(triangle_vertex_data[5] - vertex_data[2]) < epsilon) || in isTriangleDefined()
1395 (de::abs(triangle_vertex_data[6] - vertex_data[0]) < epsilon && in isTriangleDefined()
1396 de::abs(triangle_vertex_data[7] - vertex_data[1]) < epsilon && in isTriangleDefined()
1397 de::abs(triangle_vertex_data[8] - vertex_data[2]) < epsilon)) in isTriangleDefined()
[all …]
DesextcTessellationShaderInvariance.hpp335 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
402 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
548 bool isTriangleDefinedInVertexDataSet(const float* base_triangle_data, const float* vertex_data,
551 …bool isVertexDefined(const float* vertex_data, unsigned int n_vertices, const float* vertex_data_s…
DesextcTessellationShaderQuads.cpp367 const float* vertex_data = raw_data + n_vertex * 3 /* components */; in getUniqueTessCoordinatesFromVertexDataSet() local
368 _vec2 vertex(vertex_data[0], vertex_data[1]); in getUniqueTessCoordinatesFromVertexDataSet()
DesextcTessellationShaderUtils.hpp309 static bool isTriangleDefined(const float* triangle_vertex_data, const float* vertex_data);
DesextcTessellationShaderVertexSpacing.cpp235 const float* vertex_data = (const float*)(&run.data[0]) + 3 /* components */ * n_vertex; in getEdgesForQuadsTessellation() local
237 new_coordinate.x = vertex_data[0]; in getEdgesForQuadsTessellation()
238 new_coordinate.y = vertex_data[1]; in getEdgesForQuadsTessellation()
DesextcTessellationShaderTessellation.cpp2083 …const float* vertex_data = (const float*)gl.mapBufferRange(GL_TRANSFORM_FEEDBACK_BUFFER, 0, /* off… in iterate() local
2095 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
2117 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
2139 const float* vertex_uvw = vertex_data + 3 /* components */ * n_vertex; in iterate()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c139 const float (*vertex_data)[4] = (const float (*)[4])vert_info->verts->data; in draw_pt_emit() local
173 vertex_data, in draw_pt_emit()
211 const float (*vertex_data)[4] = (const float (*)[4])vert_info->verts->data; in draw_pt_emit_linear() local
242 vertex_data, stride, count - 1); in draw_pt_emit_linear()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_decompress.c317 const struct vertex_attrs vertex_data[3] = { in emit_depth_decomp() local
338 radv_cmd_buffer_upload_data(cmd_buffer, sizeof(vertex_data), 16, vertex_data, &offset); in emit_depth_decomp()
341 .size = sizeof(vertex_data), in emit_depth_decomp()
Dradv_meta_fast_clear.c354 const struct vertex_attrs vertex_data[3] = { in emit_fast_clear_flush() local
377 radv_cmd_buffer_upload_data(cmd_buffer, sizeof(vertex_data), 16, vertex_data, &offset); in emit_fast_clear_flush()
380 .size = sizeof(vertex_data), in emit_fast_clear_flush()
Dradv_meta_resolve.c317 const struct vertex_attrs vertex_data[3] = { in emit_resolve() local
339 radv_cmd_buffer_upload_data(cmd_buffer, sizeof(vertex_data), 16, vertex_data, &offset); in emit_resolve()
342 .size = sizeof(vertex_data), in emit_resolve()
Dradv_meta_clear.c408 const struct color_clear_vattrs vertex_data[3] = { in emit_color_clear() local
442 radv_cmd_buffer_upload_data(cmd_buffer, sizeof(vertex_data), 16, vertex_data, &offset); in emit_color_clear()
445 .size = sizeof(vertex_data), in emit_color_clear()
683 const struct depthstencil_clear_vattrs vertex_data[3] = { in emit_depthstencil_clear() local
707 radv_cmd_buffer_upload_data(cmd_buffer, sizeof(vertex_data), 16, vertex_data, &offset); in emit_depthstencil_clear()
710 .size = sizeof(vertex_data), in emit_depthstencil_clear()
/external/deqp/external/openglcts/modules/gl/
Dgl4cPipelineStatisticsQueryTests.cpp2991 const float vertex_data[] = { -0.1f, 0.2f, 0.3f, 0.1f, 0.2f, -0.7f, 0.5f, -0.5f, in executeTest() local
3004 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3552 …const float vertex_data[] = { -0.1f, 0.2f, 0.3f, 0.1f, 0.2f, -0.7f, 0.5f, -0.5f, 0.0f, 0.0f, … in executeTest() local
3565 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3728 const float vertex_data[] = { in executeTest() local
3739 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
3872 const float vertex_data[] = { in executeTest() local
3883 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
4107 const float vertex_data[] = { 0.0f, 0.75f, -0.75f, -0.75f, 0.75f, -0.75f, 0.3f, 0.7f, in executeTest() local
4119 …initVBO(vertex_data, sizeof(vertex_data), index_data, sizeof(index_data), m_indirect_draw_call_cou… in executeTest()
Dgl4cShadingLanguage420PackTests.cpp1795 Utils::shaderSource vertex_data; in testDrawArray() local
1801 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
1806 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()
2123 Utils::shaderSource vertex_data; in testDrawArray() local
2129 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
2134 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()
2162 …const Utils::shaderSource* data[] = { &vertex_data, &tess_ctrl_data, &tess_eval_data, &geometry_da… in testDrawArray()
2281 Utils::shaderSource vertex_data; in testDrawArray() local
2287 initShaderSource(Utils::VERTEX_SHADER, use_version_400, vertex_data); in testDrawArray()
2292 …(0 /* compute shader */, fragment_data, geometry_data, tess_ctrl_data, tess_eval_data, vertex_data, in testDrawArray()