[Bf-blender-cvs] [8c14992db23] master: Fix syntax errors in Cycles float8 test

Brecht Van Lommel noreply at git.blender.org
Wed Dec 14 19:05:42 CET 2022


Commit: 8c14992db235964b04074fcdb94518d19debf124
Author: Brecht Van Lommel
Date:   Wed Dec 14 19:01:42 2022 +0100
Branches: master
https://developer.blender.org/rB8c14992db235964b04074fcdb94518d19debf124

Fix syntax errors in Cycles float8 test

===================================================================

M	intern/cycles/test/util_float8_test.h

===================================================================

diff --git a/intern/cycles/test/util_float8_test.h b/intern/cycles/test/util_float8_test.h
index bcceeada12c..4da96dfb7b0 100644
--- a/intern/cycles/test/util_float8_test.h
+++ b/intern/cycles/test/util_float8_test.h
@@ -26,7 +26,7 @@ static bool validate_cpu_capabilities()
  * constructor until we know the instructions are supported. */
 static vfloat8 float8_a()
 {
-  return make_vfloat8(0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f)
+  return make_vfloat8(0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f);
 }
 
 static vfloat8 float8_b()
@@ -80,7 +80,7 @@ TEST(TEST_CATEGORY_NAME, float8_add_vv){
     basic_test_vf(float8_a(), float_b, *)} TEST(TEST_CATEGORY_NAME, float8_div_vf){
     basic_test_vf(float8_a(), float_b, /)}
 
-TEST(TEST_CATEGORY_NAME, float8_c() tor)
+TEST(TEST_CATEGORY_NAME, float8_ctor)
 {
   INIT_FLOAT8_TEST
   compare_vector_scalar(make_vfloat8(0.0f, 1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f),



More information about the Bf-blender-cvs mailing list