James Price 4ffd3e2ea5 [spirv-writer] Handle non-struct entry point return values
Generate a global variable for the return value and replace return
statements with assignments to this variable.

Add a list of return statements to semantic::Function.

Bug: tint:509
Change-Id: I6bc08fcac7858b48f0eff62199d5011665284220
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/44804
Commit-Queue: James Price <jrprice@google.com>
Auto-Submit: James Price <jrprice@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2021-03-17 14:24:04 +00:00
..
2021-03-16 13:26:03 +00:00
2021-03-15 13:37:41 +00:00
2021-01-21 15:30:10 +00:00
2021-03-15 21:28:22 +00:00
2021-03-15 13:37:41 +00:00
2021-03-09 13:52:18 +00:00
2021-03-09 11:11:17 +00:00
2021-03-17 04:55:33 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-02-18 21:40:19 +00:00
2021-03-09 21:51:50 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2021-02-11 14:54:41 +00:00
2020-12-10 16:56:02 +00:00
2020-12-10 16:56:02 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00
2021-03-09 11:11:17 +00:00