Index: gpu/command_buffer/tests/gl_texture_storage_unittest.cc |
diff --git a/gpu/command_buffer/tests/gl_texture_storage_unittest.cc b/gpu/command_buffer/tests/gl_texture_storage_unittest.cc |
index 3006888aa6be6eb6ea13e02bd0c21cf9d061cca5..8c1162ff48c9d16933526569e599b7fdc8448485 100644 |
--- a/gpu/command_buffer/tests/gl_texture_storage_unittest.cc |
+++ b/gpu/command_buffer/tests/gl_texture_storage_unittest.cc |
@@ -51,6 +51,11 @@ TEST_F(TextureStorageTest, CorrectPixels) { |
glTexStorage2DEXT(GL_TEXTURE_2D, 2, GL_RGBA8_OES, 2, 2); |
+ // Mesa dirvers crash without rebinding to FBO. It's why |
+ // DISABLE_TEXTURE_STORAGE workaround is introduced. crbug.com/521904 |
+ glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, |
+ tex_, 0); |
+ |
uint8 source_pixels[16] = { |
1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4 |
}; |