Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
This repository was archived by the owner on Oct 31, 2025. It is now read-only.

Memory barrier documentation, and wrappers for common usage #696

@hrydgard

Description

@hrydgard

In https://embarkstudios.github.io/rust-gpu/api/spirv_std/arch/fn.control_barrier.html , there's no explanation of the MEMORY template parameter, or even what values are valid in it. (Turns out it is a scope, just like the EXECUTION parameter).

I guess what would be most immediately helpful is basically just examples matching the common ones like HLSL's GroupMemoryBarrierWithGroupSync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    t: enhancementA new feature or improvement to an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions