Reformat all cpp and h files.
This applies git cl format --full to all ANGLE sources.
Bug: angleproject:2986
Change-Id: Ib504e618c1589332a37e97696cdc3515d739308f
Reviewed-on: https://chromium-review.googlesource.com/c/1351367
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
diff --git a/src/libANGLE/renderer/vulkan/FramebufferVk.cpp b/src/libANGLE/renderer/vulkan/FramebufferVk.cpp
index 139abff..58f1486 100644
--- a/src/libANGLE/renderer/vulkan/FramebufferVk.cpp
+++ b/src/libANGLE/renderer/vulkan/FramebufferVk.cpp
@@ -385,7 +385,7 @@
flippedArea.y = fbRect.height - flippedArea.y - flippedArea.height;
}
- const gl::State &glState = context->getGLState();
+ const gl::State &glState = context->getGLState();
const gl::PixelPackState &packState = glState.getPackState();
const gl::InternalFormat &sizedFormatInfo = gl::GetInternalFormatInfo(format, type);
@@ -465,11 +465,11 @@
// This path is only currently used for y-flipping depth/stencil blits.
PackPixelsParams packPixelsParams;
- packPixelsParams.reverseRowOrder = true;
- packPixelsParams.area.width = copyArea.width;
- packPixelsParams.area.height = copyArea.height;
- packPixelsParams.area.x = copyArea.x;
- packPixelsParams.area.y = copyArea.y;
+ packPixelsParams.reverseRowOrder = true;
+ packPixelsParams.area.width = copyArea.width;
+ packPixelsParams.area.height = copyArea.height;
+ packPixelsParams.area.x = copyArea.x;
+ packPixelsParams.area.y = copyArea.y;
// Read back depth values into the destination buffer.
const angle::Format ©Format = GetDepthStencilImageToBufferFormat(readFormat, aspect);
@@ -1187,11 +1187,11 @@
readFormat = &GetDepthStencilImageToBufferFormat(*readFormat, copyAspectFlags);
}
- VkBuffer bufferHandle = VK_NULL_HANDLE;
- uint8_t *readPixelBuffer = nullptr;
- bool newBufferAllocated = false;
+ VkBuffer bufferHandle = VK_NULL_HANDLE;
+ uint8_t *readPixelBuffer = nullptr;
+ bool newBufferAllocated = false;
VkDeviceSize stagingOffset = 0;
- size_t allocationSize = readFormat->pixelBytes * area.width * area.height;
+ size_t allocationSize = readFormat->pixelBytes * area.width * area.height;
ANGLE_TRY(mReadPixelBuffer.allocate(contextVk, allocationSize, &readPixelBuffer, &bufferHandle,
&stagingOffset, &newBufferAllocated));