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
  • Shader
  • PixelShader.cpp
Find file
BlameHistoryPermalink
  • Ben Clayton's avatar
    GLES: Remove hardcoded shader limits · d951f198
    Ben Clayton authored Feb 11, 2019
    Perform whole-shader analysis to determine usage limits.
    Use these limits to allocate compile time and runtime arrays.
    
    Removes the constants:
    	MAX_SHADER_NESTED_LOOPS
    	MAX_SHADER_NESTED_IFS
    	MAX_SHADER_CALL_STACK_SIZE
    
    Also switched to using dynamic containers to remove the MAX_SHADER_CALL_SITES limit, which I believe to have been buggy and broken.
    
    Bug: b/123587120
    Change-Id: I89be80072183ac2aac28124df236888309e7207c
    Reviewed-on: https://swiftshader-review.googlesource.com/c/24668Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    Tested-by: 's avatarBen Clayton <bclayton@google.com>
    d951f198
PixelShader.cpp 22.6 KB
EditWeb IDE
×

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