1. 12 May, 2018 1 commit
    • D3D11: Fix out-of-range access with robust access. · 18e323ab
      Jamie Madill authored
      When using a vertex buffer with DYNAMIC usage, with robust buffer
      access enabled, we would sometimes read out-of-bounds when using very
      large values for the index range. An unchecked signed addition would
      overflow and lead to reading a negative offset.
      
      Fix this problem by keeping the value size_t whenever possible. Also do
      clamped casts when converting to a smaller values.
      
      Also adds a regression test.
      
      Bug: chromium:842028
      Change-Id: Ie630ac857c6acfc0bace849a03eebfbaa2fbe89a
      Reviewed-on: https://chromium-review.googlesource.com/1055928
      Commit-Queue: Jamie Madill <jmadill@chromium.org>
      Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
  2. 11 May, 2018 8 commits
  3. 10 May, 2018 3 commits
  4. 09 May, 2018 7 commits
  5. 08 May, 2018 4 commits
  6. 07 May, 2018 4 commits
  7. 04 May, 2018 4 commits
  8. 03 May, 2018 3 commits
  9. 02 May, 2018 6 commits