From c2dcff23a48c7cb17efc51ee634b027aa6770889 Mon Sep 17 00:00:00 2001 From: Lorenzo Dal Col Date: Tue, 3 Dec 2024 22:36:05 +0100 Subject: [PATCH] Fix formatting Change-Id: I2127a48dc7eed4a222a15847df3188b88509bee5 --- .../vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp b/external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp index e0ac4a4a3a..63eb5d39a8 100644 --- a/external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp +++ b/external/vulkancts/modules/vulkan/amber/vktAmberTestCase.cpp @@ -285,8 +285,7 @@ class Delegate : public amber::Delegate amber::Result LoadBufferData(const std::string file_name, amber::BufferDataFileType file_type, amber::BufferInfo *buffer) const override; - amber::Result LoadFile(const std::string file_name, - std::vector* buffer) const override; + amber::Result LoadFile(const std::string file_name, std::vector *buffer) const override; void Log(const std::string & /*message*/) override { @@ -373,10 +372,10 @@ amber::Result Delegate::LoadBufferData(const std::string file_name, amber::Buffe return {}; } -amber::Result Delegate::LoadFile(const std::string file_name, - std::vector* buffer) const +amber::Result Delegate::LoadFile(const std::string file_name, std::vector *buffer) const { - if (!buffer) { + if (!buffer) + { return amber::Result("Buffer pointer is null."); }