summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-shader-program.h
blob: 0f154f2a3191760f623b8f7549d10e95f4d8f8db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// 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);
    virtual SLANG_NO_THROW slang::TypeReflection* SLANG_MCALL findTypeByName(const char* name) override;
public:
    Slang::ComPtr<slang::IComponentType> m_slangProgram;
};

} // namespace debug
} // namespace gfx