summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-shader-program.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer/debug-shader-program.cpp')
-rw-r--r--tools/gfx/debug-layer/debug-shader-program.cpp17
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