https://github.com/shader-slang/slang
Raw File
Tip revision: 768e62f6c7541439e2edc18dad5fb3846d2e05f9 authored by Yong He on 10 October 2022, 22:59:45 UTC
Support multi-level break + single-return conversion + general inline. (#2436)
Tip revision: 768e62f
slang-ir-lower-result-type.h
// slang-ir-lower-result-type.h
#pragma once

#include "slang-ir.h"

namespace Slang
{
    struct IRModule;
    class DiagnosticSink;

    /// Lower `IRResultType<T,E>` types to ordinary `struct`s.
    void lowerResultType(
        IRModule* module,
        DiagnosticSink* sink);

}
back to top