working on WebGPU support

This commit is contained in:
2025-02-23 17:12:27 +01:00
parent 3a598ab887
commit 443eb6b810
34 changed files with 859 additions and 74 deletions

30
Sources/Backends/WebGPU/WebGPUBuffer.c git.filemode.normal_file
View File

@@ -0,0 +1,30 @@
// Copyright (C) 2025 kanel
// This file is part of "Pulse"
// For conditions of distribution and use, see copyright notice in LICENSE
#include <Pulse.h>
#include "WebGPU.h"
PulseBuffer WebGPUCreateBuffer(PulseDevice device, const PulseBufferCreateInfo* create_infos)
{
}
bool WebGPUMapBuffer(PulseBuffer buffer, void** data)
{
}
void WebGPUUnmapBuffer(PulseBuffer buffer)
{
}
bool WebGPUCopyBufferToBuffer(PulseCommandList cmd, const PulseBufferRegion* src, const PulseBufferRegion* dst)
{
}
bool WebGPUCopyBufferToImage(PulseCommandList cmd, const PulseBufferRegion* src, const PulseImageRegion* dst)
{
}
void WebGPUDestroyBuffer(PulseDevice device, PulseBuffer buffer)
{
}