Skip to content

Commit 3f71d6b

Browse files
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: #1604
1 parent 735baf8 commit 3f71d6b

File tree

1 file changed

+258
-150
lines changed

1 file changed

+258
-150
lines changed

0 commit comments

Comments
 (0)