Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • 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
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • OpenGL
  • compiler
  • OutputASM.h
Find file
BlameHistoryPermalink
  • Sean Risser's avatar
    Reject large arrays in GLSL · 75841d73
    Sean Risser authored Apr 16, 2019
    The compiler tries to allocate arrays of uniforms before it checks their size. So large arrays will cause the compiler to allocate all of its memory.
    
    This change makes the compiler reject oversized arrays and returns a compilation error.
    
    Bug chromium:872321
    
    Change-Id: I3441232cca129bd2abd181990bec457ad7f43d05
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/29333Tested-by: 's avatarSean Risser <srisser@google.com>
    Presubmit-Ready: Sean Risser <srisser@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    75841d73
OutputASM.h 12.1 KB
EditWeb IDE
×

Replace OutputASM.h

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.