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
  • OcclusionQueriesTest.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Make UtilsVk not contribute to occlusion queries · 32ed3e71
    Shahbaz Youssefi authored Sep 21, 2020
    UtilsVk implements some functionality with draw calls.  Of these draw
    calls, clear was accidentally contributing to occlusion query results.
    
    Additionally, the copyImage utility creates its own framebuffer and thus
    directly creates a render pass, bypassing ContextVk::startRenderPass.
    This change also fixes bugs where occlusion query handling assumed
    mRenderPassCommandBuffer to be valid and correspond to the started
    render pass command buffer, which is not true for the copyImage render
    pass.
    
    Bug: angleproject:5042
    Change-Id: I19cdbb8fbeabf139791b314a6da265ac5cfd68e5
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2423209
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarCharlie Lao <cclao@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    32ed3e71
OcclusionQueriesTest.cpp 23 KB
EditWeb IDE
×

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