Explorar o código

ordering of outputs matters for shader unique id

ncannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
5e92ca4056
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      hxsl/Cache.hx

+ 0 - 1
hxsl/Cache.hx

@@ -31,7 +31,6 @@ class Cache {
 		if( id != null )
 			return id;
 		vars = vars.copy();
-		vars.sort(Reflect.compare);
 		id = outVarsMap.get(vars.join(","));
 		if( id != null ) {
 			outVarsMap.set(key, id);