Blender V4.3
vk_resource_tracker.cc
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
10#include "vk_context.hh"
11
12namespace blender::gpu {
14{
15 const VKSubmissionID &current_id = context.render_graph.submission_id;
16 if (last_known_id_ != current_id) {
17 last_known_id_ = current_id;
18 return true;
19 }
20 return false;
21}
22
23} // namespace blender::gpu
bool is_changed(const VKContext &context)