5 Replies Latest reply on Mar 27, 2015 11:44 AM by kd-11

    Updating UBOs on Sandy Bridge GPUs causes visual bugs


      What's the proper way to update UBOs on Sandy Bridge GPUs? When using OpenGL, updating the UBO using glBufferSubData without issuing a glFinish before causes image corruption. To me it seems as though the buffer update is immediate and not queued, leading to corruption of whatever object was rendering at the time. Calling glFinish before UBO update fixes the issue. Do I need to always use sync objects when dealing with UBOs? This issue is not present with my other GPUs (non-intel). I have latest drivers installed, but I noted this issue long ago.