2
0
Эх сурвалжийг харах

disable varying optimization again

ncannasse 11 жил өмнө
parent
commit
e56d15ac63
1 өөрчлөгдсөн 3 нэмэгдсэн , 1 устгасан
  1. 3 1
      hxsl/AgalOut.hx

+ 3 - 1
hxsl/AgalOut.hx

@@ -78,7 +78,9 @@ class AgalOut {
 				found = i;
 				break;
 			}
-			if( found < 0 ) {
+			// disable varying packing : some results show that if stored in XY or ZW the result will differ ! (AGAL bug ?)
+			// also maybe a bad idea since it doesn't allow texture pre-fetch
+			if( found < 0 || true ) {
 				found = valloc.length;
 				valloc.push([X, Y, Z, W]);
 			}