Commit 658ede5d by Mohan Maiya Committed by Commit Bot

LuminanceWorkaroundTextureSwizzleBug test bug fix

This test would create an sRGB format texture without checking for the GL_EXT_texture_sRGB extension. Skip the test if it is not supported. Bug: angleproject:5281 Change-Id: I491e874201c26c9f828772a0fbebaea307ab57a0 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2519865 Commit-Queue: Mohan Maiya <m.maiya@samsung.com> Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 27af0b2d
...@@ -1698,6 +1698,7 @@ TEST_P(CopyTextureTestDest, AlphaCopyWithRGB) ...@@ -1698,6 +1698,7 @@ TEST_P(CopyTextureTestDest, AlphaCopyWithRGB)
// Bug where TEXTURE_SWIZZLE_RGBA was not reset after the Luminance workaround. (crbug.com/1022080) // Bug where TEXTURE_SWIZZLE_RGBA was not reset after the Luminance workaround. (crbug.com/1022080)
TEST_P(CopyTextureTestES3, LuminanceWorkaroundTextureSwizzleBug) TEST_P(CopyTextureTestES3, LuminanceWorkaroundTextureSwizzleBug)
{ {
ANGLE_SKIP_TEST_IF(!IsGLExtensionEnabled("GL_EXT_texture_sRGB"));
{ {
GLColor pixels(50u, 20u, 100u, 150u); GLColor pixels(50u, 20u, 100u, 150u);
......
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