dawn-cmake/test
dan sinclair a7c9391dc6 [spirv-writer] Support optional trailing return.
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>
2020-11-18 18:25:30 +00:00
..
compute_boids.wgsl [spirv-writer] Support optional trailing return. 2020-11-18 18:25:30 +00:00
cube.wgsl [spirv-writer] Support optional trailing return. 2020-11-18 18:25:30 +00:00
function.wgsl [spirv-writer] Support optional trailing return. 2020-11-18 18:25:30 +00:00
simple.wgsl [spirv-writer] Support optional trailing return. 2020-11-18 18:25:30 +00:00
triangle.wgsl [spirv-writer] Support optional trailing return. 2020-11-18 18:25:30 +00:00