Skip to content

Commit

Permalink
Disallow taking the address of a handle
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-baker committed Jul 23, 2021
1 parent ddefb95 commit cff61c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wgsl/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4511,6 +4511,9 @@ The <dfn noexport>address-of</dfn> operator converts a reference to its correspo
If |r| is an [=invalid memory reference=], then the resulting
pointer is also an invalid memory reference.

It is a [=shader-creation error=] if |T| is type stored in the
[=storage classes/handle=] storage class.

</table>

## Indirection Expression ## {#indirection-expr}
Expand Down

0 comments on commit cff61c9

Please sign in to comment.