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
  • glslang_wrapper_utils.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Fix varying packing of I/O block fields · 8789457d
    Shahbaz Youssefi authored Dec 09, 2020
    The sorting algorithm didn't keep the fields in order, which made them
    receive arbitrary locations.  The SPIR-V transformer assigns the
    location on the whole block instead of individual members, which was
    incorrect in this situation.
    
    The SPIR-V transformer could have been modified to decorate each field
    of the I/O block with a location.  This change instead sorts the fields
    in such a way that I/O block fields are allocated contiguously, which
    allows the SPIR-V transformer to function unchanged.
    
    Bug: angleproject:3580
    Change-Id: I27df9e8122dd4207835bad448ffb8015692a1635
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2581076Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    8789457d
glslang_wrapper_utils.cpp 150 KB
EditWeb IDE
×

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