diff options
author | Aras Pranckevicius <aras@nesnausk.org> | 2022-06-14 12:17:14 +0300 |
---|---|---|
committer | Aras Pranckevicius <aras@nesnausk.org> | 2022-06-14 12:53:41 +0300 |
commit | 06e07761753a19fe192cce889e5040f0bc4e61a7 (patch) | |
tree | 6010beaa2f525b32f9d72d28db9ae57662abb036 /source/blender | |
parent | e903403b4129c5916005d296c7aaa1b337472c79 (diff) |
obj: disable vertex color tests until it produces identical results across platforms
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/io/wavefront_obj/tests/obj_exporter_tests.cc | 5 | ||||
-rw-r--r-- | source/blender/io/wavefront_obj/tests/obj_importer_tests.cc | 5 |
2 files changed, 7 insertions, 3 deletions
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) { |