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
  • libANGLE
  • renderer
  • renderer_utils.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    D3D: Only scan cached shader executable lists once. · 0e7f1736
    Jamie Madill authored Sep 09, 2017
    Any time we would query ProgramD3D for a particular vertex or pixel
    shader, we would iterate over all the cached shaders of the program
    looking for the matching input or output layout signature. This change
    makes it so we only compute the index of the matching shader once,
    and subsequent calls will re-use the shader index. This should speed
    up the draw call benchmarks.
    
    Also include a fix to the Serial class that initializes a Serial value
    to an invalid sentinel value. This ensures that comparing any other
    Serial (including another invalid serial) to the invalid serial will
    return not-equals.
    
    BUG=angleproject:1155
    
    Change-Id: I7d913bf08d0bedf6155eae0661b2a5fa94565cc9
    Reviewed-on: https://chromium-review.googlesource.com/648730
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    0e7f1736
renderer_utils.h 6.71 KB
EditWeb IDE
×

Replace renderer_utils.h

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.