Christophe Riccio 12 years ago
parent
commit
36de7ea9e9
1 changed files with 1 additions and 20 deletions
  1. 1 20
      test/core/core_type_vec4.cpp

+ 1 - 20
test/core/core_type_vec4.cpp

@@ -357,34 +357,15 @@ int test_vec4_perf_SoA(std::size_t Size)
 
 
 	std::clock_t EndTime = std::clock();
 	std::clock_t EndTime = std::clock();
 
 
-  std::printf("SoA: %d\n", EndTime - StartTime);
+	std::printf("SoA: %d\n", EndTime - StartTime);
 
 
 	return Error;
 	return Error;
 }
 }
 
 
-/*
-struct simd_vec4
-{
-	union
-	{
-		__m128 data;
-		union { float x, r, s; };
-		union { float y, g, t; };
-		union { float z, b, p; };
-		union { float w, a, q; };
-	};
-};
-*/
-
 int main()
 int main()
 {
 {
-	//__m128 DataA = swizzle<X, Y, Z, W>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
-	//__m128 DataB = swizzle<W, Z, Y, X>(glm::vec4(1.0f, 2.0f, 3.0f, 4.0f));
-
 	int Error(0);
 	int Error(0);
 
 
-	glm::vec4 v(1.0, 0.5, 0.0, 1.0);
-	
 	std::size_t const Size(1000000);
 	std::size_t const Size(1000000);
 
 
 	Error += test_vec4_perf_AoS(Size);
 	Error += test_vec4_perf_AoS(Size);