• earthdok's avatar
    MSan: disallow uninitialized data in GLES2Implementation::BufferDataHelper. · c0d26f39
    earthdok authored
    MSan doesn't undestand shared memory, so a buffer that has been tainted with
    uninitialized values would still be considered uninitialized even after a write
    on the other end (the GPU). This results in confusing uninit reports in the
    renderer after readback. Doing an explicit check early should make those reports
    less confusing and less flaky. We might even find some real bugs!
    
    BUG=445745
    R=zmo@chromium.org
    
    Review URL: https://codereview.chromium.org/867903004
    
    Cr-Commit-Position: refs/heads/master@{#314098}
    c0d26f39
gles2_implementation.cc 146 KB