summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer/debug-shader-program.h
blob: a98a40dedd6bf97296287900b9a6761e22c165f2 (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
26
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);
    virtual SLANG_NO_THROW slang::TypeReflection* SLANG_MCALL
    findTypeByName(const char* name) override;

public:
    Slang::ComPtr<slang::IComponentType> m_slangProgram;
};

} // namespace debug
} // namespace gfx