506b4f05d0
When an initializer is present, use type inference instead of explicitly typing `var` and `let` declarations. This reduces the size of the generated WGSL and improves readability. Change-Id: I241ee2108279b550735945940f2b62bbbd493708 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/132142 Commit-Queue: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com> |
||
---|---|---|
.. | ||
function | ||
private | ||
storage | ||
uniform | ||
workgroup | ||
ptr.spvasm | ||
ptr.spvasm.expected.dxc.hlsl | ||
ptr.spvasm.expected.fxc.hlsl | ||
ptr.spvasm.expected.glsl | ||
ptr.spvasm.expected.msl | ||
ptr.spvasm.expected.spvasm | ||
ptr.spvasm.expected.wgsl | ||
ptr.wgsl | ||
ptr.wgsl.expected.dxc.hlsl | ||
ptr.wgsl.expected.fxc.hlsl | ||
ptr.wgsl.expected.glsl | ||
ptr.wgsl.expected.msl | ||
ptr.wgsl.expected.spvasm | ||
ptr.wgsl.expected.wgsl |