yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Ellie Hermaszewskaformatf65d756bf

master
924 B32 linesraw
1// debug-command-queue.h
2#pragma once
3#include "debug-base.h"
4
5namespace gfx
6{
7using namespace Slang;
8
9namespace debug
10{
11
12class DebugCommandQueue : public DebugObject<ICommandQueue>
13{
14public:
15    SLANG_COM_OBJECT_IUNKNOWN_ALL;
16
17public:
18    ICommandQueue* getInterface(const Slang::Guid& guid);
19    virtual SLANG_NO_THROW const Desc& SLANG_MCALL getDesc() override;
20    virtual SLANG_NO_THROW void SLANG_MCALL executeCommandBuffers(
21        GfxCount count,
22        ICommandBuffer* const* commandBuffers,
23        IFence* fence,
24        uint64_t valueToSignal) override;
25    virtual SLANG_NO_THROW void SLANG_MCALL waitOnHost() override;
26    virtual SLANG_NO_THROW Result SLANG_MCALL
27    waitForFenceValuesOnDevice(GfxCount fenceCount, IFence** fences, uint64_t* waitValues) override;
28    virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle(InteropHandle* outHandle) override;
29};
30
31} // namespace debug
32} // namespace gfx