Skip to content

Commit

Permalink
Add missing pass to hctdb.py for clean generated file updates (micros…
Browse files Browse the repository at this point in the history
  • Loading branch information
tex3d authored Jun 28, 2021
1 parent daabbb3 commit 95e8674
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/HLSL/DxcOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ HRESULT SetupRegistryPassForHLSL() {
initializeDeadInstEliminationPass(Registry);
initializeDxilAllocateResourcesForLibPass(Registry);
initializeDxilCleanupAddrSpaceCastPass(Registry);
initializeDxilCleanupAnnotateHandlePass(Registry);
initializeDxilConditionalMem2RegPass(Registry);
initializeDxilConvergentClearPass(Registry);
initializeDxilConvergentMarkPass(Registry);
Expand All @@ -108,7 +109,6 @@ HRESULT SetupRegistryPassForHLSL() {
initializeDxilLoopDeletionPass(Registry);
initializeDxilLoopUnrollPass(Registry);
initializeDxilLowerCreateHandleForLibPass(Registry);
initializeDxilCleanupAnnotateHandlePass(Registry);
initializeDxilMutateResourceToHandlePass(Registry);
initializeDxilNoOptLegalizePass(Registry);
initializeDxilNoOptSimplifyInstructionsPass(Registry);
Expand Down
1 change: 1 addition & 0 deletions utils/hct/hctdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -2108,6 +2108,7 @@ def add_pass(name, type_name, doc, opts):
add_pass('hlsl-passes-pause', 'PausePasses', 'Prepare to pause passes', [])
add_pass('hlsl-passes-resume', 'ResumePasses', 'Prepare to resume passes', [])
add_pass('hlsl-dxil-lower-handle-for-lib', 'DxilLowerCreateHandleForLib', 'DXIL Lower createHandleForLib', [])
add_pass('hlsl-dxil-cleanup-annotate-handle', 'DxilCleanupAnnotateHandle', 'DXIL Cleanup extra annotate handle calls', [])
add_pass('hlsl-dxil-allocate-resources-for-lib', 'DxilAllocateResourcesForLib', 'DXIL Allocate Resources For Library', [])
add_pass('hlsl-dxil-convergent-mark', 'DxilConvergentMark', 'Mark convergent', [])
add_pass('hlsl-dxil-convergent-clear', 'DxilConvergentClear', 'Clear convergent before dxil emit', [])
Expand Down

0 comments on commit 95e8674

Please sign in to comment.