summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-ir-init-local-var.h
blob: a73dd657bcbba2c7a14b5bfb0ad49470085654fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// slang-ir-init-local-var.h
#pragma once

namespace Slang
{
struct IRModule;
struct IRGlobalValueWithCode;

// Init local variables with default values if the variable isn't being initialized locally in
// the same basic block.
void initializeLocalVariables(IRModule* module, IRGlobalValueWithCode* func);

} // namespace Slang