6c167a0dc7
If a module-scope private variable is only referenced within a single function, promote it to a function scope declaration instead of passing it as a parameter. This reduces the number of a function parameters that are needed in some cases. Bug: tint:1509 Change-Id: I8951f6216bc7e4cf5abfda314bea1e9ed3ded560 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94002 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> |
||
---|---|---|
.. | ||
dyn_array_idx | ||
gradient_in_varying_loop | ||
indexed_assign_to_array_in_struct | ||
matrix_assignment_dynamic_index | ||
vector_assignment_in_loop |