Chris Dixon
61ec83e64c
Make crt-royale compile on GLES ( #580 )
...
GLES rejected every pass. The sources define "const" away, so their
global "static const" values become globals initialised from other
globals, which ESSL doesn't allow, and they lean on desktop GLSL's
implicit int to float conversions and default float precision.
Turn the affected globals into typed macros, convert the ints
explicitly, and give the passes a default precision on GLES only.
Desktop GL compiles the same as before.
2026-10-23 08:51:10 -05:00
..
2026-06-03 13:28:37 -05:00
2017-10-16 21:40:00 -05:00
2017-10-16 21:08:58 -05:00
2017-12-26 18:11:23 -06:00
2026-09-17 15:12:37 -05:00
2026-04-21 08:23:09 -05:00
2026-10-23 08:51:10 -05:00
2022-04-17 05:21:54 +10:00
2022-04-17 05:21:54 +10:00
2017-10-20 20:23:01 -05:00
2022-04-17 05:21:54 +10:00
2017-10-16 21:08:58 -05:00
2022-04-17 05:21:54 +10:00
2025-09-28 08:45:28 -05:00
2022-04-17 05:21:54 +10:00
2022-04-17 05:21:54 +10:00
2022-04-17 05:21:54 +10:00
2023-10-27 11:45:42 -05:00
2019-03-01 15:58:06 -06:00
2019-03-29 07:55:04 -05:00
2023-11-04 18:52:13 -05:00
2022-04-03 17:55:36 +02:00
2022-04-03 17:55:36 +02:00
2023-09-22 07:56:42 +03:00
2023-11-04 18:52:13 -05:00
2024-06-20 09:46:46 -05:00
2017-10-16 21:08:58 -05:00
2023-12-01 10:05:11 -06:00
2026-05-05 08:07:02 -05:00
2026-04-17 09:12:51 -05:00
2023-05-04 22:15:53 +03:00
2025-09-03 16:17:21 -05:00
2019-02-20 15:06:35 -06:00
2019-01-14 11:02:57 -06:00
2017-10-16 21:08:58 -05:00
2022-09-23 09:27:04 -03:00
2020-01-04 08:17:51 -06:00
2026-05-05 08:05:29 -05:00
2024-07-16 17:09:57 -05:00
2023-10-24 19:42:23 -05:00
2025-09-04 09:46:02 -05:00
2025-09-05 15:19:31 -05:00
2024-12-16 20:09:08 -06:00
2024-11-29 19:49:16 -06:00
2023-11-09 09:11:43 -06:00
2023-05-01 07:38:42 +02:00
2023-05-13 21:35:02 +02:00
2019-04-20 15:05:40 -05:00
2018-02-13 22:59:43 -06:00
2017-09-25 19:41:25 -05:00
2023-10-27 11:45:42 -05:00
2023-10-27 11:45:42 -05:00
2026-04-21 08:23:09 -05:00
2026-05-05 08:05:29 -05:00
2026-05-05 08:05:29 -05:00
2026-05-05 08:05:29 -05:00
2026-08-22 20:08:46 -05:00
2026-08-22 20:08:46 -05:00