SPIR-V spec states:
This (Coherent decoration) indicates the memory backing the object is coherent.
It doesn't sound entirely clear, especially when you think about the cases where this decoration is actually needed. I understand that this can be found out from the GLSL specification for example, but it seems that the SPIR-V specification should be self-sufficient in this matter.
Can a clarifying description of this decoration be added? Specifically, the interaction of the coherent decoration with read-modify-write atomic operations? Something along the lines of this good explanation (7.14.4 Global vs Group/Local Coherency on Non-Atomic UAV Reads) in the D3D11 specification.
SPIR-V spec states:
It doesn't sound entirely clear, especially when you think about the cases where this decoration is actually needed. I understand that this can be found out from the GLSL specification for example, but it seems that the SPIR-V specification should be self-sufficient in this matter.
Can a clarifying description of this decoration be added? Specifically, the interaction of the coherent decoration with read-modify-write atomic operations? Something along the lines of this good explanation (7.14.4 Global vs Group/Local Coherency on Non-Atomic UAV Reads) in the D3D11 specification.