blob: 8796c5da56a28fb9043e705b210b599191b70c8b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef SLANG_IR_UNDO_PARAM_COPY_H
#define SLANG_IR_UNDO_PARAM_COPY_H
#include "slang-ir-insts.h"
#include "slang-ir.h"
namespace Slang
{
// Replace temporary variables created for parameter passing with direct pointer access
// This is particularly important for CUDA/OptiX targets where functions like 'IgnoreHit'
// prevent the copy-back step from executing for inout parameters
void undoParameterCopy(IRModule* module);
} // namespace Slang
#endif
|