/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderInvariance.cpp | 549 _tessellation_primitive_mode primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in iterate() local 552 …ationProperties(n_iteration, inner_tess_levels, outer_tess_levels, &is_point_mode, &primitive_mode, in iterate() 592 …glw::GLenum tf_mode = TessellationShaderUtils::getTFModeForPrimitiveMode(primitive_mode, is_point_… in iterate() 622 else if (primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_ISOLINES) in iterate() 844 _tessellation_primitive_mode primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in getTECode() local 847 …terationProperties(n_iteration, inner_tess_levels, outer_tess_levels, &point_mode, &primitive_mode, in getTECode() 850 …TessellationShaderUtils::getGenericTECode(TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, primitive_mode, in getTECode() 1123 _tessellation_primitive_mode primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in getTECode() local 1126 …terationProperties(n_iteration, inner_tess_levels, outer_tess_levels, &point_mode, &primitive_mode, in getTECode() 1129 …TessellationShaderUtils::getGenericTECode(TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, primitive_mode, in getTECode() [all …]
|
D | esextcTessellationShaderTessellation.hpp | 107 _tessellation_primitive_mode primitive_mode; member 114 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _run() 126 std::string getTECode(_tessellation_primitive_mode primitive_mode); 129 void initRun(_run& test, _tessellation_primitive_mode primitive_mode); 202 _tessellation_primitive_mode primitive_mode; member 217 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _run() 229 std::string getTECode(_tessellation_primitive_mode primitive_mode); 233 …void initRun(_run& run, _tessellation_primitive_mode primitive_mode, glw::GLint n_patch_vertices, … 300 _tessellation_primitive_mode primitive_mode; member 318 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_descriptor() [all …]
|
D | esextcTessellationShaderUtils.hpp | 273 …gned int getAmountOfVerticesGeneratedByTessellator(_tessellation_primitive_mode primitive_mode, 280 _tessellation_primitive_mode primitive_mode, 285 static std::string getESTokenForPrimitiveMode(_tessellation_primitive_mode primitive_mode); 292 _tessellation_primitive_mode primitive_mode, 295 static glw::GLint getPatchVerticesForPrimitiveMode(_tessellation_primitive_mode primitive_mode); 301 …ion_levels_set getTessellationLevelSetForPrimitiveMode(_tessellation_primitive_mode primitive_mode, 305 …static glw::GLenum getTFModeForPrimitiveMode(_tessellation_primitive_mode primitive_mode, bool is_… 307 …static bool isOuterEdgeVertex(_tessellation_primitive_mode primitive_mode, const float* tessellate… 321 _tessellation_primitive_mode primitive_mode; member 342 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _tessellation_vertex_counter_program() [all …]
|
D | esextcTessellationShaderUtils.cpp | 116 if (program.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_QUADS || in captureTessellationData() 117 program.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_TRIANGLES) in captureTessellationData() 144 …TessellationShaderUtils::getTFModeForPrimitiveMode(program.primitive_mode, program.is_point_mode_e… in captureTessellationData() 437 _tessellation_primitive_mode primitive_mode, in getGenericTECode() argument 458 …ring primitive_mode_string = TessellationShaderUtils::getESTokenForPrimitiveMode(primitive_mode); in getGenericTECode() 608 _tessellation_primitive_mode primitive_mode, const float* inner_tessellation_level, in getAmountOfVerticesGeneratedByTessellator() argument 614 switch (primitive_mode) in getAmountOfVerticesGeneratedByTessellator() 629 vertex_spacing, primitive_mode, is_point_mode_enabled, test_program); in getAmountOfVerticesGeneratedByTessellator() 658 const float* inner, bool point_mode, _tessellation_primitive_mode primitive_mode, in getDataGeneratedByTessellator() argument 664 glw::GLint test_n_patch_vertices = getPatchVerticesForPrimitiveMode(primitive_mode); in getDataGeneratedByTessellator() [all …]
|
D | esextcTessellationShaderVertexOrdering.cpp | 277 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local 280 primitive_mode, gl_max_tess_gen_level_value, in initTest() 298 _test_iteration test_iteration = initTestIteration(levels.inner, levels.outer, primitive_mode, in initTest() 341 …at* inner_tess_levels, const float* outer_tess_levels, _tessellation_primitive_mode primitive_mode, in initTestIteration() argument 349 TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, primitive_mode, vertex_ordering, is_point_mode_enabled); in initTestIteration() 401 test_iteration.primitive_mode = primitive_mode; in initTestIteration() 404 primitive_mode, inner_tess_levels, outer_tess_levels, TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, in initTestIteration() 420 …glw::GLenum tf_mode = TessellationShaderUtils::getTFModeForPrimitiveMode(primitive_mode, is_point_… in initTestIteration() 491 if (test_iterator->primitive_mode != TESSELLATION_SHADER_PRIMITIVE_MODE_ISOLINES) in iterate() 528 paired_test_iterator->primitive_mode == test_iterator->primitive_mode && in iterate() [all …]
|
D | esextcTessellationShaderInvariance.hpp | 228 _tessellation_primitive_mode primitive_mode; member 238 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration() 311 _tessellation_primitive_mode primitive_mode; member 321 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration() 378 _tessellation_primitive_mode primitive_mode; member 388 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration() 445 _tessellation_primitive_mode primitive_mode; member 455 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration() 513 _tessellation_primitive_mode primitive_mode; member 525 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration()
|
D | esextcTessellationShaderPoints.cpp | 694 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local 697 primitive_mode, gl_max_tess_gen_level_value, in initTest() 710 if ((primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_QUADS || in initTest() 711 primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_TRIANGLES) && in initTest() 724 run.primitive_mode = primitive_mode; in initTest() 763 run.primitive_mode, TESSELLATION_SHADER_VERTEX_ORDERING_CCW, in iterate() 766 …run_n_vertices = m_utils->getAmountOfVerticesGeneratedByTessellator(run.primitive_mode, run.inner,… in iterate() 821 if (run.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_ISOLINES) in verifyCorrectAmountOfVertices() 842 if (run.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_QUADS) in verifyCorrectAmountOfVertices() 877 if (run.primitive_mode != TESSELLATION_SHADER_PRIMITIVE_MODE_ISOLINES) in verifyCorrectAmountOfVertices() [all …]
|
D | esextcTessellationShaderTessellation.cpp | 410 …ellationShaderTessellationInputPatchDiscard::getTECode(_tessellation_primitive_mode primitive_mode) in getTECode() argument 430 …ring primitive_mode_string = TessellationShaderUtils::getESTokenForPrimitiveMode(primitive_mode); in getTECode() 507 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local 510 initRun(run, primitive_mode); in initTest() 533 …haderTessellationInputPatchDiscard::initRun(_run& run, _tessellation_primitive_mode primitive_mode) in initRun() argument 535 run.primitive_mode = primitive_mode; in initRun() 557 std::string te_body = getTECode(primitive_mode); in initRun() 647 ((run.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_ISOLINES) ? in iterate() 649 (run.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_QUADS) ? 6 : 3); in iterate() 663 …TessellationShaderUtils::getTFModeForPrimitiveMode(run.primitive_mode, false); /* is_point_mode_en… in iterate() [all …]
|
D | esextcTessellationShaderTCTE.hpp | 133 _tessellation_primitive_mode primitive_mode; member 151 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _run() 164 …void executeTestRun(_run& run, _tessellation_primitive_mode primitive_mode, bool should_use_geomet… 236 _tessellation_primitive_mode primitive_mode; member 258 , primitive_mode(TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN) in _run() 279 _tessellation_primitive_mode primitive_mode,
|
D | esextcTessellationShaderVertexOrdering.hpp | 86 _tessellation_primitive_mode primitive_mode; member 97 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _test_iteration() 109 _tessellation_primitive_mode primitive_mode,
|
D | esextcTessellationShaderVertexSpacing.cpp | 458 TessellationShaderUtils::getESTokenForPrimitiveMode(run.primitive_mode); in getEdgesForQuadsTessellation() 933 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local 939 primitive_mode, m_gl_max_tess_gen_level_value, in initTest() 955 if (primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_QUADS && in initTest() 966 run.primitive_mode = primitive_mode; in initTest() 971 … run.primitive_mode, run.inner, run.outer, run.vertex_spacing, true); /* is_point_mode_enabled */ in initTest() 976 TessellationShaderUtils::getESTokenForPrimitiveMode(primitive_mode); in initTest() 997 run.primitive_mode, TESSELLATION_SHADER_VERTEX_ORDERING_CCW, run.vertex_spacing, run.outer); in initTest() 1001 if (run.primitive_mode == TESSELLATION_SHADER_PRIMITIVE_MODE_TRIANGLES) in initTest() 1052 switch (run.primitive_mode) in iterate() [all …]
|
D | esextcTessellationShaderPoints.hpp | 196 _tessellation_primitive_mode primitive_mode; member 204 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _run()
|
D | esextcTessellationShaderVertexSpacing.hpp | 92 _tessellation_primitive_mode primitive_mode; member 106 primitive_mode = TESSELLATION_SHADER_PRIMITIVE_MODE_UNKNOWN; in _run()
|
D | esextcTessellationShaderTCTE.cpp | 228 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local 264 … executeTestRun(run, primitive_mode, use_gs_stage, use_gs_pointsize_data, use_ts_pointsize_data); in initTest() 293 …onShaderTCTEDataPassThrough::executeTestRun(_run& run, _tessellation_primitive_mode primitive_mode, in executeTestRun() argument 298 run.primitive_mode = primitive_mode; in executeTestRun() 555 …g primitive_mode_replacement = TessellationShaderUtils::getESTokenForPrimitiveMode(primitive_mode); in executeTestRun() 796 run.primitive_mode, tess_levels, tess_levels, TESSELLATION_SHADER_VERTEX_SPACING_EQUAL, in executeTestRun() 816 …TessellationShaderUtils::getTFModeForPrimitiveMode(run.primitive_mode, true); /* is_point_mode_ena… in executeTestRun() 2061 bool should_pass_pointsize_data, _tessellation_primitive_mode primitive_mode, in getTessellationEvaluationShaderCode() argument 2138 …ring primitive_mode_string = TessellationShaderUtils::getESTokenForPrimitiveMode(primitive_mode); in getTessellationEvaluationShaderCode() 2312 _tessellation_primitive_mode primitive_mode = primitive_modes[n_primitive_mode]; in initTest() local [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl3cCullDistanceTests.cpp | 1112 bool dynamic_index_writes, _primitive_mode primitive_mode, in buildPO() argument 1400 switch (primitive_mode) in buildPO() 1449 switch (primitive_mode) in buildPO() 1487 switch (primitive_mode) in buildPO() 1721 glw::GLuint culldistances_array_size, _primitive_mode primitive_mode) in configureVAO() argument 1816 …((primitive_mode == PRIMITIVE_MODE_LINES) ? 8 : (primitive_mode == PRIMITIVE_MODE_POINTS) ? 3 : 8); in configureVAO() 1820 …((primitive_mode == PRIMITIVE_MODE_LINES) ? 2 : (primitive_mode == PRIMITIVE_MODE_POINTS) ? 1 : 3); in configureVAO() 1864 const glw::GLfloat offsets_pixel_center_x = (primitive_mode == PRIMITIVE_MODE_POINTS) ? 0.5f : 0; in configureVAO() 1865 const glw::GLfloat offsets_pixel_center_y = (primitive_mode == PRIMITIVE_MODE_POINTS) ? 0.5f : 0; in configureVAO() 2015 switch (primitive_mode) in configureVAO() [all …]
|
D | gl3cCullDistanceTests.hpp | 174 _primitive_mode primitive_mode, bool redeclare_clipdistances, bool redeclare_culldistances, 178 _primitive_mode primitive_mode); 183 _primitive_mode primitive_mode, bool use_tesselation, bool fetch_culldistance_from_fs);
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_elements_base_vertex/ |
D | esextcDrawElementsBaseVertexTests.cpp | 681 gl.drawElementsBaseVertex(test_case.primitive_mode, 3, /* count */ in executeTestCases() 689 gl.drawElementsInstancedBaseVertex(test_case.primitive_mode, 3, /* count */ in executeTestCases() 698 …gl.drawRangeElementsBaseVertex(test_case.primitive_mode, test_case.range_start, test_case.range_en… in executeTestCases() 710 test_case.primitive_mode, test_case.multi_draw_call_count_array, test_case.index_type, in executeTestCases() 776 gl.drawElements(test_case.primitive_mode, 3, /* count */ in executeTestCases() 785 gl.drawElementsInstanced(test_case.primitive_mode, 3, /* count */ in executeTestCases() 801 gl.drawElements(test_case.primitive_mode, test_case.multi_draw_call_count_array[n_draw_call], in executeTestCases() 1727 new_test_case.primitive_mode = GL_TRIANGLES; in setUpTestCases() 1856 new_test_case.primitive_mode = GL_TRIANGLES; in setUpTestCases() 1983 new_test_case.primitive_mode = GL_TRIANGLES; in setUpTestCases() [all …]
|
D | esextcDrawElementsBaseVertexTests.hpp | 100 glw::GLenum primitive_mode; /* Tells the primitive type that should be used for both member 140 , primitive_mode((glw::GLenum)-1) in _test_case()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_compiler.h | 120 unsigned primitive_mode:2; member
|
D | d3d12_compiler.cpp | 748 if (expect->hs.primitive_mode != have->hs.primitive_mode || in d3d12_compare_shader_keys() 981 key->hs.primitive_mode = next->current->nir->info.tess._primitive_mode; in d3d12_fill_shader_key() 986 key->hs.primitive_mode = TESS_PRIMITIVE_QUADS; in d3d12_fill_shader_key() 1157 new_nir_variant->info.tess._primitive_mode = (tess_primitive_mode)key.hs.primitive_mode; in select_shader_variant()
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_draw.c | 486 array.primitive_mode = info->mode; in vc4_draw_vbo()
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_shader.h | 735 enum tess_primitive_mode primitive_mode; member
|
D | ir3_shader.c | 345 v->tess.primitive_mode = info->tess._primitive_mode; in alloc_variant()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_pipeline.c | 1230 else if (tess->tess.primitive_mode == TESS_PRIMITIVE_ISOLINES) in tu6_emit_vpc() 2464 enum tess_primitive_mode primitive_mode = shader->ir3_shader->nir->info.tess._primitive_mode; in tu6_get_tessmode() local 2465 switch (primitive_mode) { in tu6_get_tessmode()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_program.c | 764 else if (ds->tess.primitive_mode == TESS_PRIMITIVE_ISOLINES) in setup_stateobj()
|