Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Common
  • Memory.hpp
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Intialize memory to zero to silence MSan. · 027288cc
    Nicolas Capens authored Jul 07, 2017
    The MemorySanitizer tool can't instrument JIT-compiled code, so it's
    unaware that the vertex processing routine writes the clip flags before
    they're being read by triangle setup. This false positive can be
    silenced by zeroing the memory at allocation. For good measure, zero
    out all intermediate buffers.
    
    Bug chromium:737875
    
    Change-Id: Ic37ff5c64cb63bbddb151744af1d7dff0a254c2d
    Reviewed-on: https://swiftshader-review.googlesource.com/10431Tested-by: 's avatarNicolas Capens <capn@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <capn@google.com>
    027288cc
Memory.hpp 1.17 KB
EditWeb IDE
×

Replace Memory.hpp

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.