-
Notifications
You must be signed in to change notification settings - Fork 17
Description
We need to support for resource access qualifiers globallycoherent
and reordercoherent
that help control memory access and ordering of UAV resources.
-
globallycoherent
ensures that memory accesses to a resource are globally visible across all threads and thread groups, and that memory access ordering is preserved when used with memory barriers.
https://godbolt.org/z/EjYhPcrnb -
reordercoherent
guarantees that reads and writes occur in program order for a single thread, but does not affect visibility across threads. It requires SM 6.9.
https://godbolt.org/z/8Pav51r81
In the DXIL container these qualifiers show up in the DXIL resource metadata. globallycoherent
is a documented flag on the DXIL metadata node DXIL.rst#metadata-resource-records ). There is not much documentation on reordercoherent
, but it does show up on the resource metadata node in the extended metadata tag-value list.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status