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
  • blocklayout.cpp
Find file
BlameHistoryPermalink
  • Tim Van Patten's avatar
    Vulkan: Give unsized arrays at least 1 entry · 33b58ebb
    Tim Van Patten authored Nov 25, 2019
    The function ShaderVariable::getNestedArraySize needs to return at least
    1 entry for unsized arrays to ensure the shader buffer sizes are
    reported correctly.
    
    This also allows ANGLE to treat unsized arrays of structs and basic
    types the same way, allowing for the special treatment of unsized arrays
    in TraverseStructArrayVariable() to be removed.
    
    Bug: angleproject:3596
    Test: dEQP-GLES31.functional.program_interface_query.shader_storage_block.buffer_data_size.*
    Change-Id: I3b2a3a68c25e0913b79e989d7c719b34ce9b75fd
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1934952
    Commit-Queue: Tim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
    33b58ebb
blocklayout.cpp 20.1 KB
EditWeb IDE
×

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