Clean more legacy code (#3478)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Alex Cristici
2025-05-16 19:29:25 +03:00
committed by GitHub
parent 2538ac1f31
commit b585b0086f
108 changed files with 212 additions and 937 deletions

View File

@@ -50,31 +50,6 @@ void UploadPass::updateIndexBufferResource(gfx::IndexBufferResource& resource, c
static_cast<IndexBufferResource&>(resource).get().update(data, size, /*offset=*/0);
}
std::unique_ptr<gfx::TextureResource> UploadPass::createTextureResource(const Size,
const void*,
gfx::TexturePixelType,
gfx::TextureChannelDataType) {
assert(false);
throw std::runtime_error("UploadPass::createTextureResource not implemented on Vulkan!");
}
void UploadPass::updateTextureResource(
gfx::TextureResource&, const Size, const void*, gfx::TexturePixelType, gfx::TextureChannelDataType) {
assert(false);
throw std::runtime_error("UploadPass::updateTextureResource not implemented on Vulkan!");
}
void UploadPass::updateTextureResourceSub(gfx::TextureResource&,
const uint16_t,
const uint16_t,
const Size,
const void*,
gfx::TexturePixelType,
gfx::TextureChannelDataType) {
assert(false);
throw std::runtime_error("UploadPass::updateTextureResourceSub not implemented on Vulkan!");
}
struct VertexBuffer : public gfx::VertexBufferBase {
~VertexBuffer() override = default;