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
  • UniformHLSL.cpp
Find file
BlameHistoryPermalink
  • Shao's avatar
    Remove arraySize in TInterfaceBlock · b18c33e9
    Shao authored Aug 16, 2017
    This patch intends to remove the field 'arraySize' in TInterfaceBlock.
    
    The field 'arraySize' in TInterfaceBlock is redundant because:
    1. If the interface block has instance name, it is recorded as one
       symbol as a whole, and its array size is recorded in the TType
       of the symbol.
    2. If the interface block doesn't have instance name, its members are
       recorded separately, and it cannot be declared as an interface block
       array.
    
    This patch can make the implementation of Geometry Shader easier
    when we set array size to the built-in interface block 'gl_in' and other
    user-defined unsized input interface blocks during the compilation of a
    Geometry Shader.
    
    BUG=angleproject:1941
    TEST=angle_end2end_test
    
    Change-Id: I9a51aab9b8f9ea7e88af157505c092426cee7e6e
    Reviewed-on: https://chromium-review.googlesource.com/615759
    Commit-Queue: Corentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarOlli Etuaho <oetuaho@nvidia.com>
    Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    b18c33e9
UniformHLSL.cpp 17.9 KB
EditWeb IDE
×

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