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
  • metal
  • mtl_utils.h
Find file
BlameHistoryPermalink
  • Le Hoang Quyen's avatar
    Metal: Support tri-fan & line-loop with primitive restart · cb6176f3
    Le Hoang Quyen authored Sep 29, 2020
    Triangle fan:
    - If primitive restart is NOT enabled and there is no active render
      pass, use Compute Shader to generate indices.
    - If primitive restart is enabled, use CPU to generate indices.
    
    Line loop:
    - If draw non-instanced without primitive restart, generate and
      draw only one additional last segment (fastest).
    - If draw instanced, primitive restart is NOT enabled, and there is no
      active render pass, use Compute Shader to generate indices (OK).
    - Otherwise, use CPU to generate indices (slowest).
    
    Also Disable OcclusionQueriesTest.ClearNotCounted failure on NVIDIA.
    
    Bug: angleproject:2634
    Bug: angleproject:5307
    Change-Id: Ia5529825807a964f5fcb2a4af8844778896cd42a
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2435859
    Commit-Queue: Le Hoang Quyen <le.hoang.q@gmail.com>
    Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    cb6176f3
mtl_utils.h 7.33 KB
EditWeb IDE
×

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