4d65fc91bb
Track reads and writes to pointer parameters for each function in the Resolver, as well as accesses to module-scope variables. At function call sites, check the root identifiers of each pointer argument to determine if problematic aliasing occurs. The MSL backend passes pointers to sub-objects to functions when handling workgroup storage variables, which triggers the alias analysis. Add a validation override for this scenario. Bug: tint:1675 Change-Id: I81a40d1309df65521cc5ad39764d6a09a260f51e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/110167 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: James Price <jrprice@google.com> |
||
---|---|---|
.. | ||
extensions | ||
arch.md | ||
compound_statements.md | ||
coverage-info.md | ||
diagnostics_guide.md | ||
end-to-end-tests.md | ||
experimental_extensions.md | ||
ir.md | ||
origin-trial-changes.md | ||
spirv-input-output-variables.md | ||
spirv-ptr-ref.md | ||
spirv-reader-overview.md | ||
style_guide.md | ||
translations.md |