1. 17 May, 2018 1 commit
    • D3D11: Fix out-of-range access with robust access. · 702006f4
      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.
      
      Also combined with 26b0bfb46: Fix warnings from size_t conversions.
      
      Bug: chromium:842028
      Change-Id: Ie1a8f476f3e97149362eb9855f08450c067ff807
      Reviewed-on: https://chromium-review.googlesource.com/1064721Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
  2. 26 Apr, 2018 1 commit
  3. 25 Apr, 2018 1 commit
  4. 17 Apr, 2018 1 commit
  5. 11 Apr, 2018 10 commits
  6. 10 Apr, 2018 10 commits
  7. 09 Apr, 2018 6 commits
  8. 07 Apr, 2018 3 commits
  9. 06 Apr, 2018 3 commits
  10. 05 Apr, 2018 4 commits