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
  • Symbol.cpp
Find file
BlameHistoryPermalink
  • James Dong's avatar
    Vulkan: support dynamic indices in array of arrays · 1d5aaa6c
    James Dong authored Aug 06, 2019
    Expands existing struct-sampler rewrite to flatten arrays of arrays.
    This allows us to support dynamically-uniform array indexing, which is
    core in ES 3.2.
    
    Samplers inside (possibly nested) structs are broken apart as before,
    and then if the type resulting from merging the array sizes of the field
    and its containing structs is an array of array, the array is flattened.
    
    Also adds an offset parameter to functions taking in arrays to account
    for this translation.
    
    As a result of outer array sizes leaking into function signatures,
    functions taking arrays of different sizes are duplicated according to
    how the function is invoked.
    
    Bug: angleproject:3604
    Change-Id: Ic9373fd12a38f19bd811eac92e281055a63c1901
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1744177
    Commit-Queue: James Dong <dongja@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    1d5aaa6c
Symbol.cpp 8.42 KB
EditWeb IDE
×

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