소스 검색

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);