Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9a5bb08

Browse files
committed
++
1 parent f8c1a60 commit 9a5bb08

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

impeller/renderer/backend/vulkan/binding_helpers_vk.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ static bool BindBuffers(
7878
write_workspace,
7979
size_t& write_offset) {
8080
for (const BufferAndUniformSlot& data : bindings.buffers) {
81-
const std::shared_ptr<const DeviceBuffer>& device_buffer = data.view.resource.buffer;
81+
const std::shared_ptr<const DeviceBuffer>& device_buffer =
82+
data.view.resource.buffer;
8283

8384
auto buffer = DeviceBufferVK::Cast(*device_buffer).GetBuffer();
8485
if (!buffer) {

impeller/renderer/backend/vulkan/context_vk.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ void ContextVK::Setup(Settings settings) {
156156
// 1. The user has explicitly enabled it.
157157
// 2. We are in a combination of debug mode, and running on Android.
158158
// (It's possible 2 is overly conservative and we can simplify this)
159-
auto enable_validation = false;
159+
auto enable_validation = settings.enable_validation;
160160

161161
#if defined(FML_OS_ANDROID) && !defined(NDEBUG)
162162
enable_validation = true;

0 commit comments

Comments
 (0)