Hi, > I think you want to do this at the end of submit_batch instead and add a > brw_bo_wait_rendering on the batch. > Otherwise, your bounds checking is racing with the GPU.
I remember being told that pread has the kernel do the required waiting, however I am not 100% sure of this (which is why I cc'd Joonas to either confirm or deny the assertion). Joonas? -Kevin _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev