Revision 7292edbd3eba3da7e8490ad19169a7d18283057a authored by Sai Praveen Bangaru on 24 March 2023, 23:50:51 UTC, committed by GitHub on 24 March 2023, 23:50:51 UTC
* Added higher-order differentiability decorators for built-ins + preliminary tests * Update diff.meta.slang
1 parent e794de0
vk-fence.h
// vk-fence.h
#pragma once
#include "vk-base.h"
namespace gfx
{
using namespace Slang;
namespace vk
{
class FenceImpl : public FenceBase
{
public:
VkSemaphore m_semaphore = VK_NULL_HANDLE;
RefPtr<DeviceImpl> m_device;
FenceImpl(DeviceImpl* device);
~FenceImpl();
Result init(const IFence::Desc& desc);
virtual SLANG_NO_THROW Result SLANG_MCALL getCurrentValue(uint64_t* outValue) override;
virtual SLANG_NO_THROW Result SLANG_MCALL setCurrentValue(uint64_t value) override;
virtual SLANG_NO_THROW Result SLANG_MCALL getSharedHandle(InteropHandle* outHandle) override;
virtual SLANG_NO_THROW Result SLANG_MCALL
getNativeHandle(InteropHandle* outNativeHandle) override;
};
} // namespace vk
} // namespace gfx
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...