Commit Graph

80 Commits

Author SHA1 Message Date
LibretroAdmin
86e4c0394b (glslang) Go back to prior code 2022-08-12 21:49:42 +02:00
LibretroAdmin
e3b82184a7 (glslang) Silence warning 2022-08-05 02:29:59 +02:00
LibretroAdmin
0594df8cce Remove some unused variables 2022-08-04 22:41:17 +02:00
LibretroAdmin
4b8d3ab8a0 (glslang) Use string append 2022-07-31 22:48:30 +02:00
LibretroAdmin
e602f8762b (glslang) Turn functions static 2022-07-31 19:52:41 +02:00
LibretroAdmin
2b84be1210 Get rid of HlslLegalization 2022-07-31 19:34:30 +02:00
LibretroAdmin
5cb8d34ac8 (glslang) Relaxed errors will never be enabled 2022-07-31 19:26:54 +02:00
LibretroAdmin
819d02ab24 (glslang) Remove more unused code -
* EShMsgKeepUncalled will never be used
* ShBinding never used
* TIOMapResolver never used
2022-07-31 19:02:36 +02:00
LibretroAdmin
0faee680c0 (glslang) remove more code we won't need - EShMsgAST, etc 2022-07-31 18:49:16 +02:00
LibretroAdmin
5a4e7cfbd1 (glslang) Remove no longer used RemoveTree.cpp/.h 2022-07-31 18:28:45 +02:00
LibretroAdmin
2ba46da700 (glslang) Simplifications - cuts down on binary size 2022-07-31 17:41:22 +02:00
LibretroAdmin
a176a935da (glslang) Further simplifications of InfoSink - get rid of message() and prefix() -
we want simple string concatenation/addition instead of all these layers
2022-07-31 16:37:49 +02:00
LibretroAdmin
a2e525a1b6 (glslang) Further simplification of InfoSink 2022-07-31 16:08:33 +02:00
LibretroAdmin
0db7062c87 (glslang) Slim down TInfoSinkBase 2022-07-31 15:24:32 +02:00
LibretroAdmin
e4b933cb88 (glslang) Cleanups - get rid of obsolete public API functions that
were never used, turn some functions static in ShaderLang.cpp
2022-07-31 15:06:13 +02:00
LibretroAdmin
454e6f9b07
Convert some glslang files to C (#14248)
* Convert some glslang files to C (OSIndependent files)

* Fix some strings that were preventing Unix from being compilable

* Remove leftover for Apple in griffin_glslang.cpp - fixes compilation
2022-07-29 17:42:10 +02:00
LibretroAdmin
a933b74b1e Buildfix 2022-07-29 15:01:06 +02:00
LibretroAdmin
11340c3c9c (glslang) Further removal of code we don't need 2022-07-29 14:43:22 +02:00
LibretroAdmin
6a8fe15772 (glslang) SpvBuildLogger never used, remove 2022-07-29 10:35:27 +02:00
LibretroAdmin
24a2f1e7c3 (glslang) Remove further unused files - SPVRemapper.cpp/.h, disassemble.cpp/.h,
doc.cpp/.h, LiveTraverser.h
2022-07-29 09:42:59 +02:00
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