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
  • tree_ops
  • RemoveAtomicCounterBuiltins.cpp
Find file
BlameHistoryPermalink
  • Cody Northrop's avatar
    Vulkan: Remove unused atomic counter builtins · a2f9ad39
    Cody Northrop authored Mar 09, 2020
    Atomic counters are not supported by Vulkan. Most are
    already converted by the RewriteAtomicCounters traversal,
    but that is only invoked when atomic counters are active.
    
    This CL introduces another pass that removes any atomic
    counter builtin that was not handled by the previous pass.
    It also will assert if it sees any atomic counters active,
    thus ensuring it is only used when needed.
    
    Test: KHR-GLES31.core.compute_shader.shared-struct
    Test: angle_end2end_tests.exe --gtest_filter="*AtomicCounter*"
    Bug: angleproject:4189
    Bug: b:150310216
    Change-Id: I61d10e954886dc94fede8b344f5a0ede3b689adb
    Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2095688
    Commit-Queue: Cody Northrop <cnorthrop@google.com>
    Reviewed-by: 's avatarShahbaz Youssefi <syoussefi@chromium.org>
    a2f9ad39
RemoveAtomicCounterBuiltins.cpp 2.48 KB
EditWeb IDE
×

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