You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -85,7 +85,7 @@ Any access through a coherent-pointer to a buffer/texture is coherent.
85
85
86
86
```c#
87
87
RWStructuredBuffer<int>val; // Texture works as well.
88
-
CoherentPtr<int, CoherentScope.Device>p=&val[0];
88
+
CoherentPtr<int, CoherentScope::Device>p=&val[0];
89
89
*p=10; // coherent store
90
90
p=p+10;
91
91
intb=*p; //coherent load
@@ -102,7 +102,11 @@ Any access through a coherent-pointer to a `groupshared` object is coherent; Sin
102
102
103
103
### Support Casting Pointers With Different `CoherentScope`
104
104
105
-
We will allow pointers with different `CoherentPtr` to be explicitly castable to each other. For example, `CoherentPtr<int, CoherentScope.Device>` will be castable to `CoherentPtr<int, MemoryScope.Workgroup>`.
105
+
We will allow pointers with different `CoherentScope` to be explicitly castable to each other. For example, `CoherentPtr<int, CoherentScope::Device>` will be castable to `CoherentPtr<int, MemoryScope.Workgroup>`.
106
+
107
+
### Banned keywords
108
+
109
+
HLSL style `globallycoherent T*` and GLSL style `coherent T*` will be disallowed.
106
110
107
111
### Order of Implementation
108
112
@@ -111,8 +115,8 @@ We will allow pointers with different `CoherentPtr` to be explicitly castable to
111
115
3. Support for coherent buffers and textures
112
116
4. Support for coherent workgroup memory
113
117
5. Support for coherent cooperative matrix & cooperative vector
114
-
6. Support casting pointers with different coherent `MemoryScope`
115
-
7.Support the `globallycoherent` keyword
118
+
6. Support casting between pointers with different `CoherentScope`
119
+
7.disallow `globallycoherent T*` and `coherent T*`
0 commit comments