Commit 3f71d6b
committed
wgsl: access mode is no longer an attribute
- Delete 'access' as an attribute.
- Add "Memory Access Mode" section
- Storage classes table gets a "Supported access modes" and "Default
access mode"
NOTE: This is the minimally flexible set of options; only 'storage'
has any flexibility.
- Add "Access Modes Defaults" section, among "Memory View Types"
- Each memory view has an access mode.
- Access modes are inherited by most reference-handling operations.
- LHS of assignment must be write or read-write
- Load Rule applies only if the reference is read or read-write.
- Storage texture types are parameterized by 'read' or 'write' access
mode.
- Formal parameters that are pointers must match in access type with
the call site's pointer argument.
- Fix the description of modf and frexp to properly parameterize
the pointer types.
Fixes: #16041 parent 735baf8 commit 3f71d6b
1 file changed
+258
-150
lines changed
0 commit comments