Commit 51886f57 by Lubosz Sarnecki Committed by Commit Bot

context: Remove endl, since INFO already adds them.

Removes redundant std::endl. Bug: angleproject:5751 Change-Id: Ia7e0d7c4550c2565a3787d433ea245db95856b30 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2773291 Commit-Queue: Lubosz Sarnecki <lubosz.sarnecki@collabora.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 8d110222
......@@ -3734,14 +3734,12 @@ void Context::initCaps()
// traces from trying to use cached results
if (getFrameCapture()->enabled())
{
INFO() << "Limiting binary format support count to zero while FrameCapture enabled"
<< std::endl;
INFO() << "Limiting binary format support count to zero while FrameCapture enabled";
mDisplay->overrideFrontendFeatures({"disable_program_binary"}, true);
// Set to the most common limit per gpuinfo.org. Required for several platforms we test.
constexpr GLint maxImageUnits = 8;
INFO() << "Limiting image unit count to " << maxImageUnits << " while FrameCapture enabled"
<< std::endl;
INFO() << "Limiting image unit count to " << maxImageUnits << " while FrameCapture enabled";
ANGLE_LIMIT_CAP(mState.mCaps.maxImageUnits, maxImageUnits);
// Set a large uniform buffer offset alignment that works on multiple platforms.
......@@ -3750,29 +3748,26 @@ void Context::initCaps()
constexpr GLint uniformBufferOffsetAlignment = 256;
ASSERT(uniformBufferOffsetAlignment % mState.mCaps.uniformBufferOffsetAlignment == 0);
INFO() << "Setting uniform buffer offset alignment to " << uniformBufferOffsetAlignment
<< " while FrameCapture enabled" << std::endl;
<< " while FrameCapture enabled";
mState.mCaps.uniformBufferOffsetAlignment = uniformBufferOffsetAlignment;
INFO() << "Disabling GL_EXT_map_buffer_range and GL_OES_mapbuffer during capture, which "
"are not supported on some native drivers"
<< std::endl;
"are not supported on some native drivers";
mState.mExtensions.mapBufferRange = false;
mState.mExtensions.mapBufferOES = false;
INFO() << "Disabling GL_CHROMIUM_bind_uniform_location during capture, which is not "
"supported on native drivers"
<< std::endl;
"supported on native drivers";
mState.mExtensions.bindUniformLocation = false;
INFO() << "Disabling GL_NV_shader_noperspective_interpolation during capture, which is not "
"supported on some native drivers"
<< std::endl;
"supported on some native drivers";
mState.mExtensions.noperspectiveInterpolationNV = false;
// Nvidia's Vulkan driver only supports 4 draw buffers
constexpr GLint maxDrawBuffers = 4;
INFO() << "Limiting draw buffer count to " << maxDrawBuffers
<< " while FrameCapture enabled" << std::endl;
<< " while FrameCapture enabled";
ANGLE_LIMIT_CAP(mState.mCaps.maxDrawBuffers, maxDrawBuffers);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment