Add missing memory barrier to the image load/store tests
authorSunny Sun <sunny.sun@arm.com>
Mon, 8 Jan 2018 02:37:04 +0000 (10:37 +0800)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Tue, 27 Feb 2018 09:10:53 +0000 (04:10 -0500)
commit1101c2e9319114c61d8c33c943f4ac2532769cf0
treeac2d3a127b42bae08aa9673a1818c90ce8f49127
parent1885b4639efb1f992a38ec20c40781ae5554bf15
Add missing memory barrier to the image load/store tests

The test issues multiple glDispatchCompute with the same dst
but misses a glMemoryBarrier call.
This violates section 7.11.2 of the GLES specification.

Components: OpenGL

Affects: KHR-GL*.robust.robust_buffer_access_behavior.image_load_store

VK-GL-CTS issue: 992

Change-Id: I9f368356dc12aca0e50749653411a6ad8e7ef0b2
external/openglcts/modules/common/glcRobustBufferAccessBehaviorTests.cpp