Skip to content

texturing: add a test for GPU/CPU sync when creating textures

Eric Smith requested to merge ericsmith/piglit:texsubimage-sync into main

On Panfrost, at least, a race condition could occur if a texture is cleared and then initialized with texSubImage; the clear on the GPU could happen after the memcpy in texSubImage. This test checks for that and triggers the original Panfrost bug.

Signed-off-by: Eric R. Smith eric.smith@collabora.com

Merge request reports