瀏覽代碼

ordering of outputs matters for shader unique id

ncannasse 8 年之前
父節點
當前提交
5e92ca4056
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);