https://github.com/shader-slang/slang
Raw File
Tip revision: 01efe34dbef2be952298075abd8d36cc67ac9f4e authored by Yong He on 04 March 2024, 21:14:21 UTC
Add `IGlobalSession::getSessionDescDigest`. (#3669)
Tip revision: 01efe34
slang-ir-glsl-liveness.h
// 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);

}

#endif // SLANG_IR_LIVENESS_H
back to top