Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Pipeline
  • ComputeProgram.cpp
Find file
BlameHistoryPermalink
  • Alexis Hetu's avatar
    PipelineCache implementation · 52edb176
    Alexis Hetu authored Jun 26, 2019
    The PipelineCache class now contains members for caching programs and
    shaders, which allows significant speedups when using it to prevent
    recompiling the same shaders over and over again.
    
    For now, each PipelineCache object contains its own cache and the
    cache is not shared between PipelineCache objects. It remains to be
    seen if SwiftShader would benefit from always caching shaders and
    programs in a global cache.
    
    Notes:
    - Merging 2 PipelineCache objects was also implemented
    - Added a few "const" where appropriate
    
    IMPORTANT NOTE: This cl DOES NOT allow pipeline caches to be saved
                    and loaded through the pipeline cache data.
    
    Bug b/123588002
    
    Change-Id: I95b183033c03e114d69d4432e5831e26be477033
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/33428Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
    Presubmit-Ready: Alexis Hétu <sugoi@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    52edb176
ComputeProgram.cpp 10.8 KB
EditWeb IDE
×

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