summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-specialize-stage-switch.h
blob: 54d967e5d3ae1ab279adc48ec978df9b702d4db8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SLANG_IR_SPECIALIZE_STAGE_SWITCH_H
#define SLANG_IR_SPECIALIZE_STAGE_SWITCH_H

namespace Slang
{
struct IRModule;

// Repalce all stage_switch insts with the case that matches current calling entrypoint.
//
void specializeStageSwitch(IRModule* module);

} // namespace Slang

#endif