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
  • RobustResourceInitTest.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Clean up robust and emulated image clears. · 2a0c3596
    Jamie Madill authored Mar 31, 2020
    This change consolidates image clears in multiple places into a single
    site in ImageHelper initialization. It adds support for appending clear
    image commands as well as prepend (the default). We prepend clears
    because image initialization happens after data upload.
    
    The Vulkan robust clear path now works like the other back-ends. The
    change flushed out a bug where partially uninitialized CopyTexImage was
    not correctly initializing a texture before triggering a full resource
    clear. Texture::copyImage now uses a workaround where we first init the
    image before clearing it. After the init we upload the new data.
    
    We'll use the appending clears path when implementing deferred clears.
    
    Bug: angleproject:4517
    Change-Id: If9212f3b8cdd0fc8b7e729d364530801a644e164
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2130627
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    2a0c3596
RobustResourceInitTest.cpp 78 KB
EditWeb IDE
×

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