Fix missing barrier in texture buffer test
authorShahbaz Youssefi <syoussefi@google.com>
Fri, 19 Feb 2021 19:44:01 +0000 (14:44 -0500)
committerAlexander Galazin <Alexander.Galazin@arm.com>
Mon, 15 Mar 2021 12:46:11 +0000 (12:46 +0000)
commit004b42f49a45cd0cc49c4b06453a3089fadcef25
tree6e8da8245bbaaa18f8fd6b19b61fa8b9bb5784e5
parent8a537a0c916e1a10e134f648801f0812c4c749ba
Fix missing barrier in texture buffer test

The test does:

- Draw with transform feedback
- Dispatch using the same buffer as imageBuffer

This is a WaR hazard that needs a glMemoryBarrier.

VK-GL-CTS issue: 2809

Affects:
KHR-GLES31.core.texture_buffer.texture_buffer_operations_transform_feedback

Change-Id: Id092229708421002fe1b8df38028f9c6a359c242
external/openglcts/modules/glesext/texture_buffer/esextcTextureBufferOperations.cpp