summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-explicit-global-context.h
blob: 0d2a0765e962c3b5ecc4be1239a3629bd0d96d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// slang-ir-explicit-global-context.h
#pragma once

#include "slang-compiler.h"

namespace Slang
{
struct IRModule;

/// Collect global-scope variables/paramters to form an explicit context that gets threaded through
void introduceExplicitGlobalContext(IRModule* module, CodeGenTarget target);

} // namespace Slang