소스 검색

Add disabled passes also to the pipeline.

master
Palash Bansal 3 년 전
부모
커밋
28d12e9385
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/postprocessing/sortPasses.ts

+ 1
- 1
src/postprocessing/sortPasses.ts 파일 보기



const dict: Record<IPassID, {after: IPassID[], before: IPassID[], dependencies: Set<IPassID>}> = {} const dict: Record<IPassID, {after: IPassID[], before: IPassID[], dependencies: Set<IPassID>}> = {}
for (const pass of ps) { for (const pass of ps) {
if (!pass.enabled || !pass.passId) continue
if (!pass.passId) continue
dict[pass.passId] = { dict[pass.passId] = {
after: pass.after ?? [], after: pass.after ?? [],
before: pass.before ?? [], before: pass.before ?? [],

Loading…
취소
저장