Commit Graph

110 Commits

Author SHA1 Message Date
LibretroAdmin 125d7dcc3b (glslang) Stripdowns - results in significant binary size decrease -
* Get rid of unused glslang/GenericCodeGen files
* Get rid of unused test files
* Get rid of unused Sh import interface
* Get rid of unused standalone files
* Get rid of unused Reflection/IoMapper files
2022-07-29 09:22:21 +02:00
LibretroAdmin 592f9384b0 Silence code analysis warnings by Xcode - unused variables - nothing
done with value set - etc
2022-07-29 08:29:43 +02:00
LibretroAdmin 0008691aa0
Remove unused variables (#14065) 2022-06-18 19:28:07 +02:00
Reid Kleckner e4b9311ac1 Remove glslang::pool_allocator::setAllocator
TPoolAllocator is not copy assignable, so this setter could never have
been used. After a recent change (878a24ee2), new versions of Clang
reject this code outright.
2020-12-23 20:51:55 -06:00
orbea def374c2b9 Fix the header paths with the system glslang. 2020-03-02 14:20:18 -08:00
orbea 74a09844c2 qb: Support building with a system version of glslang. 2020-02-01 16:12:54 -08:00
Hans-Kristian Arntzen 4437cd1eac Attempt to workaround odd crashes in glslang.
I accidentally managed to reproduce an issue which has been plaguing
users for a while, where glslang throws an assert after closing a game
(and starting a new one).

pthread_setspecific was somehow failing with an EINVAL call, despite the
key never having been freed. I suspect some kind of corruption happening
when dynamic libraries are unloaded, but I doubt this is a bug in either
RetroArch or glslang per-se.

My workaround here is to tear down all TLS use in glslang after we're
done compiling. Somehow this works around the problem for me, and I
don't really see another viable fix. Valgrind does not say anything about the
issue, so doubt it's memory corruption either.

I had to fix a minor TLS leak in glslang as DetachProcess does not free
the PoolIndex TLS.
2019-12-16 22:27:13 +01:00
twinaphex fab7e7cdcd Buildfix for MSVC 2005 2019-07-25 15:03:58 +02:00
LazyBumHorse 2de6e9b43a silence compiler warnings 2019-07-22 19:27:31 +02:00
Twinaphex fd11b205da Silence bunch of warnings 2018-06-21 07:52:01 +02:00
twinaphex f8cad6f565 Update glslang 2018-06-20 10:47:08 +02:00
twinaphex 684b2f5722 Get rid of glslang-old 2018-06-20 10:23:00 +02:00
twinaphex abf7bf877e (glslang) Buildfix #1 2018-06-20 10:22:08 +02:00
twinaphex 8771171f63 (glslang) Compatibility tweaks for MSVC 2010 compatibility 2018-02-04 15:49:53 +01:00
twinaphex 2963288b29 SPIRV-Cross and glslang will compile with Griffin/MSVC targets now 2018-02-04 14:21:34 +01:00
twinaphex a792112bd1 Update glslang support for MSVC 2017-12-30 04:36:35 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker f3a213039a Merge commit 'c00e4286009f512418b2b6cf7261cab2bbf050b4' as 'deps/glslang/glslang' 2016-12-20 13:16:23 -05:00
twinaphex 0a6d2948c5 Remove these subrepos again 2016-12-20 18:58:13 +01:00
twinaphex b743db89d9 Try this again 2016-12-20 18:55:54 +01:00
twinaphex 3e26066ea4 Remove this subrepo AGAIN 2016-12-20 18:55:04 +01:00
twinaphex a90b19126d Turn this into relative header include 2016-12-20 18:50:20 +01:00
twinaphex e99d47852f Get rid of the submodules 2016-12-20 18:43:53 +01:00
twinaphex 88b45350cc Get rid of the submodules 2016-12-20 18:43:27 +01:00
Brad Parker 1f450834ed unknown battery level on windows should not be displayed 2016-12-20 01:25:32 -05:00
Brad Parker 1942d29a33 battery placement 2016-12-19 19:06:19 -05:00
Twinaphex c81d54bd46 (libretro-common) Cleanups 2016-12-20 00:39:45 +01:00
Brad Parker 5945b8d888 always show battery level, not just when it actually updates 2016-12-19 18:03:31 -05:00
Brad Parker 7aac7f986a add option to show battery level next to the datetime in the menu 2016-12-19 14:28:21 -05:00
twinaphex 10f98e9807 Remove menu_displaylist_reset_filebrowser 2016-12-17 10:59:25 +01:00
Brad Parker c1d9f6c30c revert "add JP translation resource file for windows menu bar" that was added by accident 2016-12-16 19:16:50 -05:00
twinaphex c739ca016c Add net_http_parse 2016-12-17 00:46:23 +01:00
Brad Parker f4adb19758 add JP translation resource file for windows menu bar 2016-12-16 17:01:50 -05:00
Brad Parker 71e8e3434a make "User %d Remote Enable" translatable, update JP translation 2016-12-16 14:57:50 -05:00
twinaphex f186583728 Move filebrowser-dependent code to menu_filebrowser.c 2016-12-16 09:07:03 +01:00
Brad Parker d8ae18aa2b update JP translation 2016-12-15 17:21:41 -05:00
twinaphex 1d9c9f8021 Update subrepos 2016-12-11 06:49:48 +01:00
twinaphex a47dd21751 Don't print game focus OSD message if input is -1 2016-12-11 06:39:30 +01:00
twinaphex acc0856a69 (MSVC 2003) Buildfix 2006-05-18 13:17:58 +02:00
twinaphex a12d0d082d Move input_translate_coord_viewport to video_driver.c 2016-12-07 08:07:11 +01:00
twinaphex e2c4c25bf5 Add more MSVC 2003 compatibility ifdefs 2006-05-14 14:33:10 +02:00
twinaphex bcfb80072c (XDK) Remove this - would have to be reimplemented 2016-12-07 07:02:41 +01:00
twinaphex de94f77629 (XDK) Buildfixes 2006-05-14 14:02:54 +02:00
twinaphex e0c3626791 Turn this into _XBOX360 ifdef 2016-12-07 06:32:05 +01:00
twinaphex 28fa2a240a (XDK) Buildfixes 2006-05-14 13:36:54 +02:00
twinaphex e3620278a8 Add HAVE_MENU ifdefs for menu code 2016-12-07 03:16:34 +01:00
Brad Parker 32a3026654 enable standard derivatives extension for GLES, adds support for complex XMB ribbon 2016-12-06 21:04:12 -05:00
twinaphex 62ab2fcc9c SPIRV-Cross buildfix 2016-12-04 04:19:13 +01:00
twinaphex 45b623043a More header include cleanups 2016-09-01 18:19:28 +02:00
Hans-Kristian Arntzen fb407796e9 Vulkan: Add push constant support to slang.
Usually, the UBO is very small, so we can fit everything in fast-access
uniforms.
2016-08-02 12:51:30 +02:00
Hans-Kristian Arntzen 90e8bb3f52 Revert incorrect submodule revert.
Commit 996f9a59b7 randomly
decided to change submodules back.
2016-06-27 21:55:23 +02:00
Alcaro 996f9a59b7 Whoops, apparently this one is shared the ugly way... 2016-06-27 21:36:59 +02:00
twinaphex b40c31384e Can scroll left/right now at FILE_TYPE_DOWNLOAD_URL settings 2016-06-27 21:29:38 +02:00
Alcaro 5b388d8c92 Fix some Coverity errors 2016-06-27 21:16:49 +02:00
Hans-Kristian Arntzen 596cd320c6 Vulkan: Update SPIRV-Cross and glslang. 2016-06-25 14:44:56 +02:00
Hans-Kristian Arntzen fdaf6ffead Remove bison file. 2016-03-21 22:58:13 +01:00
Hans-Kristian Arntzen 6bd88e6848 Update glslang. 2016-03-21 22:58:13 +01:00
twinaphex e5ce152b95 Update submodule 2016-03-06 02:59:21 +01:00
twinaphex dff5aa35d6 Update glslang 2016-03-01 03:48:29 +01:00
Hans-Kristian Arntzen adbf9fed16 Vulkan implementation. 2016-02-16 20:42:02 +01:00