Skip to content
Unverified Commit a2a35f2e authored by Jim Blandy's avatar Jim Blandy Committed by GitHub
Browse files

Permit dynamic indexing of arrays and matrices only behind a pointer. (#949)

This makes Naga IR validation impose the restrictions added to WGSL in
gpuweb/gpuweb#1801.

Remove code in the SPIR-V writer to spill arrays to temporary variables in order
to index them dynamically. If such IR is encountered, treat it as a failure of
validation.
parent 1c3baf45
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment