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
  • libANGLE
  • Context.cpp
Find file
BlameHistoryPermalink
  • Shahbaz Youssefi's avatar
    Fix GL_MAX_COMBINED_UNIFORM_BLOCKS query · fc0be049
    Shahbaz Youssefi authored Apr 18, 2019
    This was previously returning maxCombinedTextureImageUnits instead of
    maxCombinedUniformBlocks.  Fixing that exposed a bug in the GL backend
    where the combined values were sometimes capped to vertex+fragment
    values and sometimes not capped at all.
    
    The reasoning for such capping was that the combined limits as queried
    from GL contains stages not available in GLES (such as tessellation).
    However, the capping failed to take geometry shader limits into account.
    
    This change adjusts such capping to vertex+fragment+geometry.  It also
    applies the cappping to all combined limits, rather than a select few.
    
    Bug: angleproject:2099
    Change-Id: I7231058b5d7f80b1b2452d9f87d4b0ab6e1cdb17
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1572487Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
    fc0be049
Context.cpp 286 KB
EditWeb IDE
×

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