소스 검색

- Fix missing vertex inputs variables for shadow rendering

ShiroSmith 7 년 전
부모
커밋
46eeea8a67
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      hxsl/Dce.hx

+ 1 - 0
hxsl/Dce.hx

@@ -93,6 +93,7 @@ class Dce {
 
 		for( v in used ) {
 			if( v.used ) continue;
+			if( v.v.kind == VarKind.Input) continue;
 			vertex.vars.remove(v.v);
 			fragment.vars.remove(v.v);
 		}