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
  • renderer
  • gl
  • renderergl_utils.cpp
Find file
BlameHistoryPermalink
  • Shao's avatar
    ES31: Add workaround for illegal MAX_VERTEX_ATTRIB_STRIDE on Linux AMD · 86904b81
    Shao authored Mar 21, 2017
    Query of MAX_VERTEX_ATTRIB_STRIDE on some Linux AMD OpenGL drivers
    returns 0 even if the context is OpenGL 4.4 and 4.5, which is against
    SPEC and will block the implementation of ES3.1 feature Vertex Attrib
    Binding.
    
    This patch adds the workaround for this bug by choosing an emulated
    value (2048) as the value of MAX_VERTEX_ATTRIB_STRIDE on Linux AMD
    OpenGL drivers.
    
    BUG=angleproject:1936
    
    TEST=angle_end2end_tests
    
    Change-Id: I831bda6cb94b2489d09735622150d35aa1948274
    Reviewed-on: https://chromium-review.googlesource.com/457254
    Commit-Queue: Jamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    86904b81
renderergl_utils.cpp 48.1 KB
EditWeb IDE
×

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