diff options
Diffstat (limited to 'src/gpu/headless_gpu.cc')
| -rw-r--r-- | src/gpu/headless_gpu.cc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/gpu/headless_gpu.cc b/src/gpu/headless_gpu.cc index c4de577..e6995b2 100644 --- a/src/gpu/headless_gpu.cc +++ b/src/gpu/headless_gpu.cc @@ -78,6 +78,57 @@ WGPUSurface gpu_get_surface() { return nullptr; } +TextureWithView gpu_create_texture_2d(WGPUDevice device, uint32_t width, + uint32_t height, WGPUTextureFormat format, + WGPUTextureUsage usage, + uint32_t mip_levels) { + (void)device; + (void)width; + (void)height; + (void)format; + (void)usage; + (void)mip_levels; + return {nullptr, nullptr}; +} + +TextureWithView gpu_create_storage_texture_2d(WGPUDevice device, uint32_t width, + uint32_t height, + WGPUTextureFormat format) { + (void)device; + (void)width; + (void)height; + (void)format; + return {nullptr, nullptr}; +} + +TextureWithView gpu_create_post_process_texture(WGPUDevice device, + uint32_t width, uint32_t height, + WGPUTextureFormat format) { + (void)device; + (void)width; + (void)height; + (void)format; + return {nullptr, nullptr}; +} + +WGPUTextureView gpu_create_mip_view(WGPUTexture texture, + WGPUTextureFormat format, + uint32_t mip_level) { + (void)texture; + (void)format; + (void)mip_level; + return nullptr; +} + +WGPUTextureView gpu_create_texture_view_2d(WGPUTexture texture, + WGPUTextureFormat format, + uint32_t mip_levels) { + (void)texture; + (void)format; + (void)mip_levels; + return nullptr; +} + #if !defined(STRIP_ALL) void gpu_simulate_until(float time, float bpm) { (void)time; |
