Files
test/source/blender/gpu/vulkan/vk_drawlist.cc
Jeroen Bakker f9d094ba9e Vulkan: Initial Draw List
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
2023-05-12 12:09:41 +02:00

22 lines
411 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later
* Copyright 2022 Blender Foundation */
/** \file
* \ingroup gpu
*/
#include "GPU_batch.h"
#include "vk_drawlist.hh"
namespace blender::gpu {
void VKDrawList::append(GPUBatch *batch, int instance_first, int instance_count)
{
GPU_batch_draw_advanced(batch, 0, 0, instance_first, instance_count);
}
void VKDrawList::submit() {}
} // namespace blender::gpu