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
  • perf_tests
  • TextureUploadPerf.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Sanitize Images & Buffers with non-zero values. · ce4918f1
    Jamie Madill authored Feb 19, 2020
    Only enabled for specific tests at the moment. This CL allows our tests
    to sanitizes memory for the robust resource access extension. It is
    quite slow so should not be enabled by default.
    
    Only works for 1 level 2D color textures and buffers. Makes several
    flaky robust resource initialization tests consistently fail.
    
    Controlled via an angle::Feature in FeaturesVk.
    
    It works by initializing memory to an abitrary non-zero value:
    
     - if newly allocated memory is mappable, we map it in init and set it
     - if a buffer or texture can be a transfer destination, we use a
       staging resource
     - otherwise we don't attempt to initialize the resource.
    
    Bug: angleproject:4384
    Change-Id: I9b4f347bfcddf3096f491ed0243bef86837feaa0
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2043271
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    ce4918f1
TextureUploadPerf.cpp 11.6 KB
EditWeb IDE
×

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