Run git cl format on several files.
Bug: angleproject:2763
Change-Id: Idcb8a714a6dccdff3dd953679e17a7314866a37d
Reviewed-on: https://chromium-review.googlesource.com/1214206
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
diff --git a/src/libANGLE/validationES.cpp b/src/libANGLE/validationES.cpp
index fe8accb..9e93cae 100644
--- a/src/libANGLE/validationES.cpp
+++ b/src/libANGLE/validationES.cpp
@@ -897,8 +897,8 @@
const Extents size(width, height, depth);
const auto &unpack = context->getGLState().getUnpackState();
- bool targetIs3D = texType == TextureType::_3D || texType == TextureType::_2DArray;
- GLuint endByte = 0;
+ bool targetIs3D = texType == TextureType::_3D || texType == TextureType::_2DArray;
+ GLuint endByte = 0;
if (!formatInfo.computePackUnpackEndByte(type, size, unpack, targetIs3D, &endByte))
{
ANGLE_VALIDATION_ERR(context, InvalidOperation(), IntegerOverflow);
@@ -1238,9 +1238,9 @@
return false;
}
- const auto &glState = context->getGLState();
- Framebuffer *readFramebuffer = glState.getReadFramebuffer();
- Framebuffer *drawFramebuffer = glState.getDrawFramebuffer();
+ const auto &glState = context->getGLState();
+ Framebuffer *readFramebuffer = glState.getReadFramebuffer();
+ Framebuffer *drawFramebuffer = glState.getDrawFramebuffer();
if (!readFramebuffer || !drawFramebuffer)
{
@@ -1282,8 +1282,8 @@
if (mask & GL_COLOR_BUFFER_BIT)
{
- const FramebufferAttachment *readColorBuffer = readFramebuffer->getReadColorbuffer();
- const Extensions &extensions = context->getExtensions();
+ const FramebufferAttachment *readColorBuffer = readFramebuffer->getReadColorbuffer();
+ const Extensions &extensions = context->getExtensions();
if (readColorBuffer)
{
@@ -2568,7 +2568,7 @@
const char *ValidateDrawStates(Context *context)
{
const Extensions &extensions = context->getExtensions();
- const State &state = context->getGLState();
+ const State &state = context->getGLState();
// WebGL buffers cannot be mapped/unmapped because the MapBufferRange, FlushMappedBufferRange,
// and UnmapBuffer entry points are removed from the WebGL 2.0 API.
@@ -2696,7 +2696,7 @@
uniformBlockIndex < program->getActiveUniformBlockCount(); uniformBlockIndex++)
{
const InterfaceBlock &uniformBlock = program->getUniformBlockByIndex(uniformBlockIndex);
- GLuint blockBinding = program->getUniformBlockBinding(uniformBlockIndex);
+ GLuint blockBinding = program->getUniformBlockBinding(uniformBlockIndex);
const OffsetBindingPointer<Buffer> &uniformBuffer =
state.getIndexedUniformBuffer(blockBinding);
@@ -2861,8 +2861,8 @@
return false;
}
- const State &state = context->getGLState();
- TransformFeedback *curTransformFeedback = state.getCurrentTransformFeedback();
+ const State &state = context->getGLState();
+ TransformFeedback *curTransformFeedback = state.getCurrentTransformFeedback();
if (curTransformFeedback && curTransformFeedback->isActive() &&
!curTransformFeedback->isPaused())
{