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
  • MultisampleCompatibilityTest.cpp
Find file
BlameHistoryPermalink
  • Qin Jiajia's avatar
    Fixed incorrect multisample rendering when enable SAMPLE_COVERAGE on Win · 4b97d504
    Qin Jiajia authored Nov 09, 2016
    In RendererD3D::createRenderTarget, we use getNearestSamples(samples)'s
    result to assign D3D11_TEXTURE2D_DESC.SampleDesc.Count. However, in
    renderer11::updateState, we used the original samples to calculate mask
    by GetBlendSampleMask not the supported nearest samples. It would result
    that multisample rendering result was incorrect when enable
    AMPLE_COVERAGE and the samples is not in the suported list but less than
    max samples. At least, on Intel Win platform, we can reproduce it.
    The fixing is to use same samples in these two places.
    
    BUG=angleproject:1610
    TEST=MultisampleCompatibilityTest.DrawCoverageAndResolve
    
    Change-Id: I255b12d1032317145adfcee94e65e88ae5307113
    Reviewed-on: https://chromium-review.googlesource.com/408516Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Geoff Lang <geofflang@chromium.org>
    4b97d504
MultisampleCompatibilityTest.cpp 15 KB
EditWeb IDE
×

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