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
  • validationES.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Vulkan: Optimize Attribute Change Perf (4/5) · f6f20601
    Jamie Madill authored Sep 13, 2020
    This patch series optimizes programs that use the pattern:
    
    for (;;) {
      glVertexAttribPointer(...)
      glDraw(...)
    }
    
    Change 4: Inline ValidateProgramDrawStates.
    
    A hotspot in most draw calls that change state.
    
    In total the patch series reduces test iteration time by 25%. This
    change reduces the listed "null" benchmark time from 295 -> 286 ns.
    
    Test: DrawCallPerfBenchmark.Run/vulkan_null_attrib_change
    Bug: angleproject:5045
    Bug: b/168493024
    Change-Id: I80959c9d06030709d7f4eba696e43614c33d5a8f
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2409176
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    f6f20601
validationES.cpp 218 KB
EditWeb IDE
×

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