Browse Source

ordering of outputs matters for shader unique id

ncannasse 8 years ago
parent
commit
5e92ca4056
1 changed files with 0 additions and 1 deletions
  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);