https://github.com/shader-slang/slang
Raw File
Tip revision: e743ddd49045284b706cc2cbbb615acc6fe3d882 authored by jsmall-nvidia on 09 November 2022, 14:15:15 UTC
f32tof16 and f16tof32 support for CPU targets (#2500)
Tip revision: e743ddd
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