a7c9391dc6
This CL updates the SPIRV-Writer to inject an OpReturn as the trailing statement in a function if the function does not end with a `discard` or a `return` statement. R=bclayton@google.com, dneto@google.com Fixes: tint:302 Change-Id: I2e7c7beff15ad30c779c591bb75cf97fc0960bf7 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/33160 Reviewed-by: David Neto <dneto@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org> Auto-Submit: dan sinclair <dsinclair@chromium.org> |
||
---|---|---|
.. | ||
compute_boids.wgsl | ||
cube.wgsl | ||
function.wgsl | ||
simple.wgsl | ||
triangle.wgsl |