https://github.com/shader-slang/slang
Raw File
Tip revision: 1c2c4908c64396de2d1bee197c8f000ae2fed0fc authored by Yong He on 14 December 2022, 17:37:55 UTC
Fix code generation for matrix reshape. (#2568)
Tip revision: 1c2c490
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