Skip to content

Commit

Permalink
Prevent matrix padding from being modified (gpuweb#3818)
Browse files Browse the repository at this point in the history
Fixes gpuweb#3753

* Prevent padding modification on composites instead of just arrays and
  structures
  • Loading branch information
alan-baker authored Feb 9, 2023
1 parent 459d2eb commit ae8b4a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgsl/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ describe the contents of memory.
Memory consists of a set of distinct <dfn noexport>memory locations</dfn>.
Each memory location is 8-bits in size.
An operation affecting memory interacts with a set of one or more memory locations.
Memory operations on structures and arrays [=behavioral requirement|will=] not
Memory operations on [=composites=] [=behavioral requirement|will=] not
access padding memory locations.

Two sets of memory locations <dfn noexport>overlap</dfn> if the intersection of
Expand Down

0 comments on commit ae8b4a2

Please sign in to comment.