https://github.com/shader-slang/slang
Raw File
Tip revision: 5902acdabc4445a65741a7a6a3a95f223e301059 authored by Yong He on 23 January 2024, 07:19:40 UTC
[LSP] Fetch configs directly from didConfigurationChanged message. (#3478)
Tip revision: 5902acd
slang-ir-specialize-target-switch.h
#ifndef SLANG_IR_SPECIALIZE_TARGET_SWITCH_H
#define SLANG_IR_SPECIALIZE_TARGET_SWITCH_H

namespace Slang
{
    struct IRModule;
    class TargetRequest;

    // Repalce all target_switch insts with the case that matches current target.
    //
    void specializeTargetSwitch(TargetRequest* target, IRModule* module);

}

#endif
back to top