Dennis Brakhane
be6756ae01
cmake: add option to compile and embed shaders during the build process ( #1356 )
...
This adds an option WICKED_EMBED_SHADERS (off by default). When ON,
offlineshadercompiler will be compiled first and run every time
a *.hlsl? file changes, the resulting wiShaderDump.h will be put
in the build directory, and then wiRenderer will be compiled again with
the build directory in the include path; this will cause the
__hasinclude to trigger embedded shaders mode.
A nice side effect is that the hacky solution to handle the __hasinclude
is not needed anymore, all dependencies are now handled correctly.
offlineshadercompiler was also extended with a "quiet" option to
suppress messages during compilation.
2025-12-11 07:49:43 +01:00
..
2025-08-13 08:46:42 +02:00
2025-07-29 19:59:53 +02:00
2025-10-15 17:39:15 +02:00
2025-10-18 10:35:25 +02:00
2025-10-13 16:40:22 +02:00
2025-08-13 08:46:42 +02:00
2025-07-29 19:59:53 +02:00
2025-12-11 07:49:43 +01:00
2025-07-08 17:08:59 +02:00
2025-11-01 08:30:10 +01:00
2025-10-30 07:12:03 +01:00
2025-11-12 15:14:37 +01:00
2025-11-25 09:43:19 +01:00
2025-05-01 09:15:24 +02:00
2025-11-17 07:31:58 +01:00
2025-08-14 15:27:12 +02:00
2025-07-08 17:08:59 +02:00
2024-07-25 18:59:46 +02:00
2024-07-25 18:59:46 +02:00
2024-07-25 18:59:46 +02:00
2025-03-10 18:23:31 +01:00
2024-07-25 18:59:46 +02:00
2025-07-29 19:59:53 +02:00
2025-03-10 18:23:31 +01:00
2025-06-19 09:13:08 +02:00
2025-06-19 09:13:08 +02:00
2025-12-10 07:35:44 +01:00
2025-12-10 07:37:38 +01:00
2025-12-10 07:37:38 +01:00
2025-10-27 17:11:21 +01:00
2025-06-03 19:34:47 +02:00
2025-09-26 06:52:40 +02:00
2024-10-20 10:46:53 +02:00
2025-11-20 07:40:31 +01:00
2025-11-20 07:40:31 +01:00
2025-11-15 07:09:03 +01:00
2025-08-13 08:46:42 +02:00
2024-09-18 07:46:03 +02:00
2025-08-13 08:46:42 +02:00
2025-12-03 23:47:31 +01:00
2025-12-03 23:47:31 +01:00
2025-11-17 08:00:19 +01:00
2025-10-17 16:25:27 +02:00
2025-11-14 09:04:49 +01:00
2025-08-14 15:27:12 +02:00
2025-10-31 07:01:58 +01:00
2025-10-15 17:39:15 +02:00
2025-07-23 08:25:08 +02:00
2025-06-07 17:38:36 +02:00
2025-09-13 11:11:32 +02:00
2025-07-08 17:08:59 +02:00
2025-07-19 09:31:37 +02:00
2025-07-08 17:08:59 +02:00
2025-08-14 08:01:30 +02:00
2025-08-14 15:27:12 +02:00
2025-11-26 16:16:30 +01:00
2025-11-26 16:16:30 +01:00
2025-10-31 07:38:58 +01:00
2025-10-16 07:48:17 +02:00
2025-12-03 09:30:49 +01:00
2025-12-03 08:56:39 +01:00
2025-10-16 07:48:17 +02:00
2025-04-02 09:00:20 +02:00
2025-08-14 08:01:30 +02:00
2025-08-14 15:27:12 +02:00
2025-07-26 11:19:02 +02:00
2025-08-09 09:53:48 +02:00
2025-07-29 19:59:53 +02:00
2025-06-24 09:22:04 +02:00
2025-08-13 08:46:42 +02:00
2024-12-29 11:15:50 +01:00
2025-08-13 08:46:42 +02:00
2025-08-14 15:27:12 +02:00
2025-10-13 16:40:22 +02:00
2025-10-13 16:40:22 +02:00
2025-09-13 11:11:32 +02:00
2025-09-13 11:11:32 +02:00
2025-11-25 09:43:19 +01:00
2025-04-23 17:20:40 +02:00
2024-12-29 11:15:50 +01:00
2025-07-08 17:08:59 +02:00
2025-08-13 08:46:42 +02:00
2025-08-14 08:01:30 +02:00
2025-08-14 15:27:12 +02:00
2025-08-13 08:46:42 +02:00
2024-09-10 08:07:07 +02:00
2024-09-10 08:07:07 +02:00
2025-07-08 17:08:59 +02:00
2024-08-30 08:28:41 +02:00
2025-07-13 07:08:58 +02:00
2025-11-25 09:43:19 +01:00
2025-11-07 08:18:50 +01:00
2025-10-13 16:40:22 +02:00
2025-07-10 17:40:57 +02:00
2025-08-09 09:53:48 +02:00
2025-10-28 06:35:35 +01:00
2025-10-28 06:35:35 +01:00
2025-04-16 09:32:54 +02:00
2025-03-25 08:40:19 +01:00
2024-09-17 07:28:26 +02:00
2024-09-17 07:28:26 +02:00
2025-11-07 08:58:06 +01:00
2025-06-01 17:07:12 +02:00
2025-03-09 18:17:31 +01:00
2025-08-13 08:46:42 +02:00
2025-07-29 19:59:53 +02:00
2025-06-07 17:38:36 +02:00
2024-12-21 16:02:42 +01:00
2024-12-21 16:02:42 +01:00