Dummy implementation of the VKDrawList that isn't caching the draw calls but just execute them when they are appended to the list. Pull Request: https://projects.blender.org/blender/blender/pulls/107873
21 lines
379 B
C++
21 lines
379 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2022 Blender Foundation */
|
|
|
|
/** \file
|
|
* \ingroup gpu
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "gpu_drawlist_private.hh"
|
|
|
|
namespace blender::gpu {
|
|
|
|
class VKDrawList : public DrawList {
|
|
public:
|
|
void append(GPUBatch *batch, int instance_first, int instance_count) override;
|
|
void submit() override;
|
|
};
|
|
|
|
} // namespace blender::gpu
|