Commit: 06e07761753a19fe192cce889e5040f0bc4e61a7 Author: Aras Pranckevicius Date: Tue Jun 14 12:17:14 2022 +0300 Branches: master https://developer.blender.org/rB06e07761753a19fe192cce889e5040f0bc4e61a7
obj: disable vertex color tests until it produces identical results across platforms =================================================================== M source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc M source/blender/io/wavefront_obj/tests/obj_importer_tests.cc =================================================================== diff --git a/source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc b/source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc index 6aec848573f..fea74c2fd90 100644 --- a/source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc +++ b/source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc @@ -436,6 +436,8 @@ TEST_F(obj_exporter_regression_test, cubes_positioned) _export.params); } +/* Disabled until sRGB<->Linear conversion produces close enough results between + * SSE2 and non-SSE2. TEST_F(obj_exporter_regression_test, cubes_vertex_colors) { OBJExportParamsDefault _export; @@ -448,6 +450,7 @@ TEST_F(obj_exporter_regression_test, cubes_vertex_colors) "", _export.params); } +*/ TEST_F(obj_exporter_regression_test, cubes_with_textures_strip) { @@ -507,7 +510,7 @@ TEST_F(obj_exporter_regression_test, all_objects) _export.params.forward_axis = IO_AXIS_Y; _export.params.up_axis = IO_AXIS_Z; _export.params.export_smooth_groups = true; - _export.params.export_colors = true; + //_export.params.export_colors = true; compare_obj_export_to_golden("io_tests/blend_scene/all_objects.blend", "io_tests/obj/all_objects.obj", "io_tests/obj/all_objects.mtl", diff --git a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc index 7cc528d4f3d..efdd8839615 100644 --- a/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc +++ b/source/blender/io/wavefront_obj/tests/obj_importer_tests.cc @@ -453,8 +453,7 @@ TEST_F(obj_importer_test, import_all_objects) float3(13, 1, -1), float3(11, 1, 1), float3(0, 0, 1), - float2(0, 0), - float4(0.0f, 0.002125f, 1.0f, 1.0f)}, + float2(0, 0)}, {"OBUVCube", OB_MESH, 8, @@ -510,6 +509,7 @@ TEST_F(obj_importer_test, import_all_objects) import_and_check("all_objects.obj", expect, std::size(expect), 7); } +/* TEST_F(obj_importer_test, import_cubes_vertex_colors) { Expectation expect[] = { @@ -580,6 +580,7 @@ TEST_F(obj_importer_test, import_cubes_vertex_colors) }; import_and_check("cubes_vertex_colors.obj", expect, std::size(expect), 0); } + */ TEST_F(obj_importer_test, import_cubes_vertex_colors_mrgb) { _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs