Robin Voetter a7563e453d
spirv: minimal start code
For SPIR-V, only export the main function if it is actually declared. Kernel
entry points will often have parameters and more than one kernel declared.

In general, SPIR-V binaries should mostly be compiled as libraries and not as
executables. However, this start code is required so that we can build test
executables.

Note that a call to isSpirV() would emit the code for that function, even though
the call is at comptime. To save that function from being emitted the checks
are just inlined manually.
2023-04-09 01:51:55 +02:00
..
2023-04-01 14:22:44 +02:00
2023-04-08 18:31:01 +03:00
2023-03-25 14:09:00 +02:00
2023-04-05 08:23:07 +02:00
2023-04-05 08:23:07 +02:00
2023-03-21 15:01:45 +02:00
2023-03-05 02:59:01 -05:00
2023-04-06 00:57:23 -04:00
2023-04-09 01:51:47 +02:00
2022-12-13 13:14:20 +02:00
2022-11-04 00:09:27 +03:30
2023-03-19 00:39:29 -04:00
2022-12-13 13:14:20 +02:00
2023-03-15 10:48:15 -07:00
2023-03-03 02:37:45 -05:00
2023-02-20 09:09:05 +11:00
2023-03-15 10:48:12 -07:00
2022-09-11 23:18:43 -04:00
2023-03-31 22:50:31 +02:00
2023-04-06 00:57:23 -04:00
2023-04-06 07:26:07 +02:00
2023-04-09 01:51:55 +02:00
2023-03-17 17:50:25 +01:00
2023-04-09 01:51:48 +02:00
2022-04-15 17:01:01 -05:00
2023-03-09 14:55:13 -06:00