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
  • ShaderVars.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Fix compute shared memory size validation · 6e532b8c
    Shahbaz Youssefi authored Dec 05, 2019
    When a struct was involved, the required size for each field was added
    up, but also multiplied by its array size.  However, when calculating
    the field size, the array size was already multipled in.
    
    This resulted in the calculated size to be larger than it actually is,
    resulting in failures in KHR-GLES31.core.compute_shader.shared-max.
    
    Bug: angleproject:4173
    Change-Id: I900c17fa65decdeb20c3651c3342295fed2f7c61
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1953483Reviewed-by: 's avatarTim Van Patten <timvp@google.com>
    Reviewed-by: 's avatarCourtney Goeltzenleuchter <courtneygo@google.com>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    6e532b8c
ShaderVars.cpp 15.5 KB
EditWeb IDE
×

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