Commit 422ec18a by Gert Wollny Committed by Commit Bot

tests: Move DrawAfterFlushWithNoStateChange to ES3

The test uses Vertex Array Objects, and these are only supported from GLES 3.0 on, or by using the extension OES_vertex_array_object, so make it part of the StateChangeTestES3 set. With that we also enable the test. Bug: angleproject:5855 Change-Id: I0cfb5d23d19e3db8eefffd9d52b744d068666606 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2850642 Commit-Queue: Gert Wollny <gert.wollny@collabora.com> Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 078a2ba6
...@@ -17,7 +17,6 @@ PbufferTest.Clearing/* ...@@ -17,7 +17,6 @@ PbufferTest.Clearing/*
PbufferTest.TextureSizeReset/* PbufferTest.TextureSizeReset/*
SimpleStateChangeTest.DrawAndClearTextureRepeatedly/* SimpleStateChangeTest.DrawAndClearTextureRepeatedly/*
SimpleStateChangeTest.RebindTranslatedAttribute/* SimpleStateChangeTest.RebindTranslatedAttribute/*
StateChangeTest.DrawAfterFlushWithNoStateChange/*
WebGL2ReadOutsideFramebufferTest.CopyTexSubImage3D/* WebGL2ReadOutsideFramebufferTest.CopyTexSubImage3D/*
WebGLDrawElementsTest.DrawElementsTypeAlignment/* WebGLDrawElementsTest.DrawElementsTypeAlignment/*
WebGLGLSLTest.* WebGLGLSLTest.*
......
...@@ -968,7 +968,7 @@ TEST_P(StateChangeTest, VertexBufferUpdatedAfterDraw) ...@@ -968,7 +968,7 @@ TEST_P(StateChangeTest, VertexBufferUpdatedAfterDraw)
} }
// Tests that drawing after flush without any state change works. // Tests that drawing after flush without any state change works.
TEST_P(StateChangeTest, DrawAfterFlushWithNoStateChange) TEST_P(StateChangeTestES3, DrawAfterFlushWithNoStateChange)
{ {
// Draw (0.125, 0.25, 0.5, 0.5) once, using additive blend // Draw (0.125, 0.25, 0.5, 0.5) once, using additive blend
ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); ANGLE_GL_PROGRAM(drawColor, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor());
......
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