blob: 5f9393a9b2f32df4501c2f66c7e9b0bfbf005a77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// slang-ir-collect-global-uniforms.h
#pragma once
#include "slang-compiler.h"
namespace Slang
{
struct IRModule;
struct IRVarLayout;
/// Collect global-scope shader parameters that use uniform/ordinary
/// storage into a single `struct` (possibly wrapped in a constant buffer).
///
void collectGlobalUniformParameters(
IRModule* module,
IRVarLayout* globalScopeVarLayout,
CodeGenTarget target = CodeGenTarget::Unknown);
} // namespace Slang
|