summaryrefslogtreecommitdiff
path: root/source/slang/emit.h
blob: da1ac9f08eb27537b9f1ddf9da2c6d0f4a75ce90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Emit.h
#ifndef SLANG_EMIT_H_INCLUDED
#define SLANG_EMIT_H_INCLUDED

#include "../core/basic.h"

#include "compiler.h"

namespace Slang
{
    class EntryPointRequest;
    class ProgramLayout;
    class TranslationUnitRequest;

    // Emit code for a single entry point, based on
    // the input translation unit.
    String emitEntryPoint(
        EntryPointRequest*  entryPoint,
        ProgramLayout*      programLayout,
        CodeGenTarget       target);
}
#endif