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
  • Device
  • Config.hpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    Increase maximum framebuffer size · cf2ffd05
    Alexis Hetu authored Jun 17, 2021
    Legacy SwiftShader GL has a maximum framebuffer size of 8192 width
    and height. SwiftShader Vulkan's maximum framebuffer size was 4096,
    but this CL increases it to 8192. An issue was hit by using Chromium
    with SwANGLE on an iMac Pro 5k screen, where the 4096 limit was
    insufficient and causing a crash.
    
    The viewport max dimensions and bounds range had to be adjusted
    accordingly.
    
    According to the spec:
    "viewportBoundsRange[2] is the [minimum, maximum] range
     that the corners of a viewport must be contained in. This
     range must be at least [-2 × size, 2 × size - 1], where
     size = max(maxViewportDimensions[0], maxViewportDimensions[1])."
    
    Bug: chromium:1209250
    Change-Id: I0ef15ccf2433aea348fd7946319ffb3406174873
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/55008Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Commit-Queue: Alexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    cf2ffd05
Config.hpp 1.3 KB
EditWeb IDE
×

Replace Config.hpp

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.