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
  • metal
  • shaders
  • common.h
Find file
BlameHistoryPermalink
  • Le Hoang Quyen's avatar
    Metal: don't precompile default shaders. · 5b7c5b34
    Le Hoang Quyen authored Oct 18, 2020
    Default shaders will be compiled from source at runtime, this is because
    they depend on ANGLE format table and there is currently no way to
    pre-compile metal shaders in a cross-platform manner.
    
    Using default shaders' source instead of pre-compiled form seems to
    reduce the libGLESv2's binary size. However, the startup time will be
    increased due to runtime cost of compilation, thus the compilation now
    will be done asynchronously.
    
    Bug: angleproject:5186
    Change-Id: I0e1987d6c76692d5169255736fbb8e215185c33b
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2482405Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Le Hoang Quyen <le.hoang.q@gmail.com>
    5b7c5b34
common.h 7.89 KB
EditWeb IDE
×

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