This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/gpu/vulkan/vk_uniform_buffer.cc
Clément Foucault a9a5f7ce17 GPU: UniformBuf: Add GPU_uniformbuf_clear_to_zero
This allows clearing the entire buffer directly on GPU.
2022-11-15 20:16:25 +01:00

32 lines
462 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2022 Blender Foundation. All rights reserved. */
/** \file
* \ingroup gpu
*/
#include "vk_uniform_buffer.hh"
namespace blender::gpu {
void VKUniformBuffer::update(const void * /*data*/)
{
}
void VKUniformBuffer::clear_to_zero()
{
}
void VKUniformBuffer::bind(int /*slot*/)
{
}
void VKUniformBuffer::bind_as_ssbo(int /*slot*/)
{
}
void VKUniformBuffer::unbind()
{
}
} // namespace blender::gpu