yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
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 : 15SLANG_COM_OBJECT_IUNKNOWN_ALL ; 16 17public : 18ICommandQueue * getInterface (const Slang ::Guid & guid ); 19virtual SLANG_NO_THROW const Desc & SLANG_MCALL getDesc ()override ; 20virtual SLANG_NO_THROW void SLANG_MCALL executeCommandBuffers ( 21GfxCount count, 22ICommandBuffer * const * commandBuffers, 23IFence * fence, 24uint64_t valueToSignal) override; 25virtual SLANG_NO_THROW void SLANG_MCALL waitOnHost () override; 26virtual SLANG_NO_THROW Result SLANG_MCALL 27waitForFenceValuesOnDevice ( GfxCount fenceCount, IFence ** fences, uint64_t * waitValues) override; 28virtual SLANG_NO_THROW Result SLANG_MCALL getNativeHandle ( InteropHandle * outHandle) override; 29}; 30 31} // namespace debug 32} // namespace gfx