Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • OpenGL
  • libGLESv2
  • Device.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Fix copying cubemap textures out of bounds · c4f3b713
    Alexis Hetu authored Aug 12, 2020
    Cubemap textures are created with a border, which means that their
    size is larger. Their range is also different. Instead of [0, dim-1],
    they have a [-1, dim] range. This means that if we copy them starting
    at [0, 0] for their full size, we'll overflow at the end, since the
    buffer starts at [-1, -1]. This cl prevents going through the fast
    copy path when we have a border.
    
    Bug: chromium:1115345
    Change-Id: I333acfd6094645231eb111634359d82ed3d5c787
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/47668
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@google.com>
    Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
    Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    c4f3b713
Device.cpp 26.3 KB
EditWeb IDE
×

Replace Device.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.