94 Commits

Author SHA1 Message Date
libretroadmin
a8fe9b74da * Remove more unused code
* Remove disassemble code
2024-05-23 08:24:02 +02:00
libretroadmin
cf04a2c0fe Cleanups - remove/silence warnings 2024-05-23 07:48:08 +02:00
libretroadmin
1b161fad1d Third parameter of std::remove prob needs to be nullptr 2024-05-23 07:35:52 +02:00
libretroadmin
ab4d54cb70 Get rid of unused variable 2024-05-23 07:31:25 +02:00
libretroadmin
354c5afab4 (glslang) Simplifications - move nullptr to NULL 2024-05-23 07:25:52 +02:00
libretroadmin
0b29d52b67 (glslang) Further slimming down/cleanups 2024-05-23 07:25:51 +02:00
libretroadmin
d2b161ee86 (glslang) Get rid of all asserts 2024-05-23 03:58:54 +02:00
libretroadmin
9dffcdfc93 Slim down custom glslang more 2024-05-23 03:26:10 +02:00
libretroadmin
e0656d8ca3 (glslang) Buildfix 2024-05-23 01:56:17 +02:00
libretroadmin
e53a809e6d Slim down glslang 2024-05-23 01:53:15 +02:00
libretroadmin
a4212061d4 Cleanup some unused variables 2024-04-06 20:12:15 +02:00
libretroadmin
c359ae5522 (glslang) fix misleading indentation warning 2024-04-06 18:16:15 +02:00
libretroadmin
def0ce97b1 (glslang) Add more parentheses 2024-04-05 22:56:16 +02:00
libretroadmin
b8d12a7d12 Replace do { while (true) ; with for (;;) 2024-04-05 20:03:05 +02:00
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