https://github.com/shader-slang/slang
Raw File
Tip revision: 1b40fe56725eeefe9c601461278376b697d4d35a authored by Yong He on 24 November 2022, 01:50:02 UTC
Make differentiable data-flow pass recognize interface methods. (#2530)
Tip revision: 1b40fe5
slang-ir-single-return.h
// slang-ir-single-return.h
#pragma once

namespace Slang
{
    struct IRModule;
    struct IRGlobalValueWithCode;

    // Convert the CFG of `func` to have only a single `return` at the end.
    void convertFuncToSingleReturnForm(IRModule* module, IRGlobalValueWithCode* func);

}
back to top