diff options
Diffstat (limited to 'tools/gfx/debug-layer/debug-shader-program.cpp')
| -rw-r--r-- | tools/gfx/debug-layer/debug-shader-program.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-shader-program.cpp b/tools/gfx/debug-layer/debug-shader-program.cpp new file mode 100644 index 000000000..264087abd --- /dev/null +++ b/tools/gfx/debug-layer/debug-shader-program.cpp @@ -0,0 +1,17 @@ +// debug-shader-program.cpp +#include "debug-shader-program.h" + +namespace gfx +{ +using namespace Slang; + +namespace debug +{ + +DebugShaderProgram::DebugShaderProgram(const IShaderProgram::Desc& desc) +{ + m_slangProgram = desc.slangGlobalScope; +} + +} // namespace debug +} // namespace gfx |
