blob: c1558a2f7c365a8e7a5980dd51fb4e0ace51709d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// slang-ir-liveness.h
#ifndef SLANG_IR_GLSL_LIVENESS_H
#define SLANG_IR_GLSL_LIVENESS_H
namespace Slang
{
struct IRModule;
/// Converts liveness marker instructions in a module into SPIR-V lifetime ops.
///
/// It does this by using the GL_EXT_spirv_intrinsics extension.
///
/// The transformation takes place at the IR level, inserting new functions as needed for
/// the types referenced via liveness markers.
void applyGLSLLiveness(IRModule* module);
} // namespace Slang
#endif // SLANG_IR_LIVENESS_H
|