Don't assume rendering complete before buffer latch
authorMark Adams <marka@nvidia.com>
Mon, 4 Dec 2017 22:26:54 +0000 (17:26 -0500)
committerMark Adams <marka@nvidia.com>
Mon, 4 Dec 2017 22:43:03 +0000 (17:43 -0500)
It's valid for the buffer to latch before rendering is completed, and
this is causing intermittent failures.

Bug: b/69981429

Test: --deqp-case=dEQP-EGL*get_frame_timestamps*

Change-Id: Ia9f1d0e4ffa7f3e16a46fc4566157a651d1b0601

modules/egl/teglGetFrameTimestampsTests.cpp

index f3963bb..09deb06 100644 (file)
@@ -246,7 +246,6 @@ void verifySingleFrame (const FrameTimes& frameTimes, tcu::ResultCollector& resu
                check_le(result, frameTimes.renderingComplete, frameTimes.readsDone, "Buffer rendering completed after reads completed.");
 
        // Verify CPU/GPU dependencies
-       check_lt(result, frameTimes.renderingComplete, frameTimes.latch, "Buffer latched before rendering completed.");
        if (timestampValid(frameTimes.firstCompositionGpuFinished))
                check_lt(result, frameTimes.firstCompositionStart, frameTimes.firstCompositionGpuFinished, "Composition CPU work started after GPU work finished.");