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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user