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
  • tests
  • gl_tests
  • TextureMultisampleTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Fix resolve draw path · 95bfb3e5
    Shahbaz Youssefi authored Jul 08, 2020
    If the draw path is taken for resolve, the internal shader previously
    calculated (1+sum(sample.a))/sampleCount instead of
    sum(sample.a)/sampleCount.  Additionally, due to a typo, the result was
    rounded.
    
    This change also fixes a number of off-by-one errors when calculating
    src/dst offsets in blit/resolve path.
    
    Tests are added to resolve from default to FBO and vice versa to
    exercise the draw path which was otherwise never invoked for color
    buffers.
    
    Bug: angleproject:4746
    BUg: angleproject:4092
    Change-Id: I4b9c181339b89af44b27d61d27a6b3d88cde2eea
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2288224
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarIan Elliott <ianelliott@google.com>
    95bfb3e5
TextureMultisampleTest.cpp 40.6 KB
EditWeb IDE
×

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