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
  • ValidateMaxParameters.cpp
Find file
BlameHistoryPermalink
  • Olli Etuaho's avatar
    Add option to limit the number of function parameters · 19d1dc99
    Olli Etuaho authored Mar 08, 2016
    Trying to compile user-defined functions that have thousands of
    parameters introduces some instability in native compilers, so it is
    better to reject shaders with large numbers of function parameters
    in ANGLE.
    
    The check is only enabled if the SH_LIMIT_EXPRESSION_COMPLEXITY flag
    is turned on. The default limit for the number of parameters is 1024,
    but it can also be configured.
    
    BUG=angleproject:1338
    TEST=angle_unittests
    
    Change-Id: I5c9b7a4e97e67f36e77f969368336fa8fffba1c3
    Reviewed-on: https://chromium-review.googlesource.com/331970Reviewed-by: 's avatarCorentin Wallez <cwallez@chromium.org>
    Reviewed-by: 's avatarKenneth Russell <kbr@chromium.org>
    Commit-Queue: Olli Etuaho <oetuaho@nvidia.com>
    19d1dc99
ValidateMaxParameters.cpp 996 Bytes
EditWeb IDE
×

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