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
  • compiler
  • translator
  • BuiltInFunctionEmulator.h
Find file
BlameHistoryPermalink
  • Jamie Madill's avatar
    Optimize builtin function emulator class. · 35bcad42
    Jamie Madill authored Jun 06, 2017
    This refactor uses a generator to produce static arrays instead of
    using a bunch of std::map inserting statements. It speeds up shader
    translation because every shader compile would create and tear down
    this table.
    
    Currently it is implemented as a flat array, but in the future we
    could use compile-time hashing to implement faster lookup.
    
    BUG=chromium:697758
    
    Change-Id: I689f7de4d9b2c8c76095bb313f4c040116fc61d2
    Reviewed-on: https://chromium-review.googlesource.com/521226
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    35bcad42
BuiltInFunctionEmulator.h 6.96 KB
EditWeb IDE
×

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