[Rawstudio-commit] r964 - trunk/src

Anders Brander anders at brander.dk
Sun Dec 24 11:30:58 CET 2006


Author: abrander
Date: 2006-12-24 11:30:58 +0100 (Sun, 24 Dec 2006)
New Revision: 964

Modified:
   trunk/src/rs-render.c
Log:
Now 3dnow\!-renders ignores the 4th channel.

Modified: trunk/src/rs-render.c
===================================================================
--- trunk/src/rs-render.c	2006-12-23 05:04:03 UTC (rev 963)
+++ trunk/src/rs-render.c	2006-12-24 10:30:58 UTC (rev 964)
@@ -274,17 +274,17 @@
 	gfloat mat[12] align(8);
 	gfloat top[2] align(8);
 	mat[0] = photo->mat.coeff[0][0];
-	mat[1] = photo->mat.coeff[0][1]*0.5;
+	mat[1] = photo->mat.coeff[0][1];
 	mat[2] = photo->mat.coeff[0][2];
-	mat[3] = photo->mat.coeff[0][1]*0.5;
+	mat[3] = 0.0;
 	mat[4] = photo->mat.coeff[1][0];
-	mat[5] = photo->mat.coeff[1][1]*0.5;
+	mat[5] = photo->mat.coeff[1][1];
 	mat[6] = photo->mat.coeff[1][2];
-	mat[7] = photo->mat.coeff[1][1]*0.5;
+	mat[7] = 0.0;
 	mat[8] = photo->mat.coeff[2][0];
-	mat[9] = photo->mat.coeff[2][1]*0.5;
+	mat[9] = photo->mat.coeff[2][1];
 	mat[10] = photo->mat.coeff[2][2];
-	mat[11] = photo->mat.coeff[2][1]*0.5;
+	mat[11] = 0.0;
 	top[0] = 65535.0;
 	top[1] = 65535.0;
 	asm volatile (
@@ -551,17 +551,17 @@
 	gfloat mat[12] align(8);
 	gfloat top[2] align(8);
 	mat[0] = photo->mat.coeff[0][0];
-	mat[1] = photo->mat.coeff[0][1]*0.5;
+	mat[1] = photo->mat.coeff[0][1];
 	mat[2] = photo->mat.coeff[0][2];
-	mat[3] = photo->mat.coeff[0][1]*0.5;
+	mat[3] = 0.0;
 	mat[4] = photo->mat.coeff[1][0];
-	mat[5] = photo->mat.coeff[1][1]*0.5;
+	mat[5] = photo->mat.coeff[1][1];
 	mat[6] = photo->mat.coeff[1][2];
-	mat[7] = photo->mat.coeff[1][1]*0.5;
+	mat[7] = 0.0;
 	mat[8] = photo->mat.coeff[2][0];
-	mat[9] = photo->mat.coeff[2][1]*0.5;
+	mat[9] = photo->mat.coeff[2][1];
 	mat[10] = photo->mat.coeff[2][2];
-	mat[11] = photo->mat.coeff[2][1]*0.5;
+	mat[11] = 0.0;
 	top[0] = 65535.0;
 	top[1] = 65535.0;
 	asm volatile (




More information about the Rawstudio-commit mailing list