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
  • compiler_tests
  • VariablePacker_test.cpp
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Add a Uniform type info table. · f00f7ffe
    Jamie Madill authored Aug 31, 2017
    Currently most uniform type info is determined by switching on the
    uniform type. Some values are computed from other values, which can
    result in three or more switch statements plus some multiplies or
    other math. This patch attempts to improve the speed by pre computing
    necessary values into constant static tables.
    
    Improves performance by about 7% in a uniform stress test.
    
    BUG=angleproject:1390
    
    Change-Id: I29bef259a17f6d6536171ade4950e2d712bfd39c
    Reviewed-on: https://chromium-review.googlesource.com/643791Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    f00f7ffe
VariablePacker_test.cpp 8.65 KB
EditWeb IDE
×

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