[Bf-blender-cvs] [77a4ab3ccf2] master: Fix wrong syntax in Cycles float8 test fix

Brecht Van Lommel noreply at git.blender.org
Wed Dec 14 18:36:53 CET 2022


Commit: 77a4ab3ccf2df23f540ebb0a1fc5e5266990281d
Author: Brecht Van Lommel
Date:   Wed Dec 14 18:35:34 2022 +0100
Branches: master
https://developer.blender.org/rB77a4ab3ccf2df23f540ebb0a1fc5e5266990281d

Fix wrong syntax in Cycles float8 test fix

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

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 8ae95d75f47..bcceeada12c 100644
--- a/intern/cycles/test/util_float8_test.h
+++ b/intern/cycles/test/util_float8_test.h
@@ -24,17 +24,17 @@ static bool validate_cpu_capabilities()
 
 /* These are not just static variables because we don't want to run the
  * constructor until we know the instructions are supported. */
-static vfloat8 float8_a()()
+static vfloat8 float8_a()
 {
   return make_vfloat8(0.1f, 0.2f, 0.3f, 0.4f, 0.5f, 0.6f, 0.7f, 0.8f)
 }
 
-static vfloat8 float8_b()()
+static vfloat8 float8_b()
 {
   return make_vfloat8(1.0f, 2.0f, 3.0f, 4.0f, 5.0f, 6.0f, 7.0f, 8.0f);
 }
 
-static vfloat8 float8_c()()
+static vfloat8 float8_c()
 {
   return make_vfloat8(1.1f, 2.2f, 3.3f, 4.4f, 5.5f, 6.6f, 7.7f, 8.8f);
 }



More information about the Bf-blender-cvs mailing list