https://github.com/shader-slang/slang
Raw File
Tip revision: cedd93690c63188cf98e452c9d104cf51aad6c4e authored by skallweitNV on 09 November 2022, 19:56:55 UTC
Fix supported shader model check in D3D12 device (#2503)
Tip revision: cedd936
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