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
  • scripts
  • run_code_generation_hashes.json
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Vulkan: Uber-shader support · a1442ecd
    Shahbaz Youssefi authored Nov 26, 2018
    For each internal shader, there is now possibly a companion .json file
    that defines shader variations.  The variations consist of a set of
    flags and a set of enums.  Each enum defines a variation that takes one
    of a few values.  Flags are shorthands for 2-value enums.
    
    In the shader code, #if can be used to change the shader based on
    variations derived from flags and enums.  On the C++ side, those
    variations are combined into an index and the appropriate shader is
    retrieved from a table.
    
    Bug: angleproject:2958
    Change-Id: Ic4fc7061adb20c047c26624305285e3005092aab
    Reviewed-on: https://chromium-review.googlesource.com/c/1351117
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    a1442ecd
run_code_generation_hashes.json 5.39 KB
EditWeb IDE
×

Replace run_code_generation_hashes.json

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.