Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
A
angle
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • angle
  • Repository

Switch branch/tag
  • angle
  • src
  • libANGLE
  • renderer
  • gl
  • renderergl_utils.cpp
Find file
BlameHistoryPermalink
  • James Darpinian's avatar
    Clamp array accesses when robust buffer access not available · 512abe85
    James Darpinian authored Jan 23, 2020
    Apple doesn't support GL_KHR_robust_buffer_access_behavior, so we don't
    know if we can trust the driver to be safe with out of bounds array
    accesses. It's not currently failing the out of bounds access tests, but
    this may be coincidental. In general it makes sense to always clamp
    array accesses when GL_KHR_robust_buffer_access_behavior is not
    supported.
    
    The validating command decoder actually enables this workaround
    unconditionally, but that seems unnecessary.
    
    Bug: angleproject:2978
    Change-Id: Ib061dd4db10e044ced0dff95d0aac6a91f15b100
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2018182Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: James Darpinian <jdarpinian@chromium.org>
    512abe85
renderergl_utils.cpp 92.9 KB
EditWeb IDE
×

Replace renderergl_utils.cpp

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.