summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-shader-program.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer/debug-shader-program.h')
-rw-r--r--tools/gfx/debug-layer/debug-shader-program.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer/debug-shader-program.h b/tools/gfx/debug-layer/debug-shader-program.h
new file mode 100644
index 000000000..050ee8e3c
--- /dev/null
+++ b/tools/gfx/debug-layer/debug-shader-program.h
@@ -0,0 +1,27 @@
+// debug-shader-program.h
+#pragma once
+#include "debug-base.h"
+
+namespace gfx
+{
+using namespace Slang;
+
+namespace debug
+{
+
+class DebugShaderProgram : public DebugObject<IShaderProgram>
+{
+public:
+ SLANG_COM_OBJECT_IUNKNOWN_ALL;
+
+public:
+ IShaderProgram* getInterface(const Slang::Guid& guid);
+
+ DebugShaderProgram(const IShaderProgram::Desc& desc);
+
+public:
+ Slang::ComPtr<slang::IComponentType> m_slangProgram;
+};
+
+} // namespace debug
+} // namespace gfx