Commit Graph

475 Commits

Author SHA1 Message Date
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
Francisco José García García
0545c42db9 (Vita) Fix duplicate symbols with some cores 2019-12-15 11:05:22 +01:00
Francisco José García García
9ad874eef8 (Vita) Add new function to draw textured arrays of vertices 2019-12-14 14:11:47 +01:00
Francisco José García García
d52f3ba3e9 (Vita) Fix clipping and reduce number of calls 2019-12-14 14:11:46 +01:00
Francisco José García García
3d44faf6c3 (Vita) New set viewport function 2019-12-14 14:11:46 +01:00
Francisco José García García
8ad3cb14f8 (Vita) Changes for new tint shaders 2019-12-14 14:11:46 +01:00
Francisco José García García
d1aa7dbedc Disable not compilable sqrtfv_neon 2019-12-14 14:11:46 +01:00
Francisco José García García
eef7611cf1 Fix for duplicated error symbol 2019-12-14 14:11:46 +01:00
Jamiras
9983976ddb update rcheevos to v8.1 2019-11-20 14:40:34 -07:00
Francisco José García García
c8067ba0c0 (VITA) Baked math-neon and vitaGL (#9757)
* Squashed 'deps/math-neon/' content from commit 0050735

git-subtree-dir: deps/math-neon
git-subtree-split: 0050735ae8f18281c1e6fbe2dc80546e402b7fc5

* Squashed 'deps/vitaGL/' content from commit 694b387

git-subtree-dir: deps/vitaGL
git-subtree-split: 694b387a6eacf7e179f07ff621e5772ae4253315

* (Vita) Add baked math-neon and vitaGL
2019-11-20 12:13:33 +01:00
Huw Pascoe
4eebfa237b Fixed xml parsing 2019-11-16 20:56:12 +00:00
Twinaphex
5dd74503d2
Update discord_register_linux.c 2019-08-21 04:35:37 +02:00
twinaphex
1917b2235e (Discord) Cleanups 2019-08-20 21:11:48 +02:00
twinaphex
a363af7796 (Discord) Convert some files to C 2019-08-20 21:03:16 +02:00
twinaphex
bcdc759b3e (SPIRV-Cross) Buildfix 2019-07-27 03:44:32 +02:00
twinaphex
b4ec860bb3 (SPIRV-Cross) Temporary buildfix for homebrew WiiU toolchain 2019-07-27 02:50:21 +02:00
orbea
983172d0c2 deps/libz: Move zutil.h back to deps.
This is an internal zlib header and should not be used by other projects.

See the comment in the file.

/* WARNING: this file should *not* be used by applications. It is
   part of the implementation of the compression library and is
   subject to change. Applications should only use zlib.h.
 */
2019-07-25 11:18:33 -07:00
orbea
0565f80ceb deps/libz: Remove uneeded files. 2019-07-25 11:18:33 -07:00
twinaphex
d72ae6bebe (libz) Unused file 2019-07-25 18:57:04 +02:00
twinaphex
fab7e7cdcd Buildfix for MSVC 2005 2019-07-25 15:03:58 +02:00
twinaphex
78915aedd1 (vita2d) Update header includes 2019-07-24 22:58:57 +02:00
Twinaphex
f3f17771ee
Merge pull request #9189 from orbea/discord
Silence discord warnings without visual studio.
2019-07-24 22:20:58 +02:00
orbea
de3f80dba0 Silence discord warnings without visual studio. 2019-07-24 10:48:19 -07:00
Twinaphex
3de2e9a4b4
Merge pull request #9184 from frangarcj/new_gxm
[WIP][VITA] Improving gfx driver
2019-07-24 19:27:52 +02:00
twinaphex
a73a1585f7 Add relative path includes 2019-07-24 18:55:54 +02:00
Francisco José García García
c9f3446a90 [VITA] Initialize vita2d_texture to 0 2019-07-24 09:27:02 +02:00
Francisco José García García
98ecdd9510 [VITA] Update Vita2D 2019-07-24 09:11:20 +02:00
LazyBumHorse
2de6e9b43a silence compiler warnings 2019-07-22 19:27:31 +02:00
twinaphex
ad5773a031 Propagate 'label' as path for CDROM info detail list 2019-07-15 02:41:58 +02:00
twinaphex
df55abc65b Turn these two off for modets size improvements 2019-07-14 19:06:57 +02:00
twinaphex
175af12a53 (mbedtls) undefine MBEDTLS_SELF_TEST 2019-07-14 19:03:13 +02:00
twinaphex
a391f30d8b Merge commit '420b7913d45e6c69a6d24cecb6c05e7c2836cba0' 2019-07-11 20:37:45 +02:00
twinaphex
420b7913d4 Squashed 'deps/SPIRV-Cross/' changes from 8aa6731925..2820ab0b51
2820ab0b51 Merge pull request #1076 from KhronosGroup/bitcast-pre-330-glsl
63bcbd511e GLSL: Need extension to use bitcast on GLSL < 330.
9f3bebe3d0 Merge pull request #1075 from lifpan/master
b11c20fc1d Remove unreasonable assertion for OpTypeImage Sampled parameter.
1a592b7c0f Merge pull request #1067 from cdavis5e/msl-scalar-block-layout
28454facbb MSL: Handle packed matrices.
ea5c0ed82f MSL: Fix alignment of packed types.
44f688bf0b Merge pull request #1070 from KhronosGroup/fix-1066
25c74b324e Forget loop variable enables after emitting block chain.
6b010e0cbc Merge pull request #1069 from KhronosGroup/fix-1053
f6f849397e MSL: Re-roll array expressions in initializers.
e5fa7edfd6 MSL: Support scalar block layout.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 2820ab0b51bf5e4187435d904b34e762b988f48b
2019-07-11 20:37:45 +02:00
twinaphex
c5dedb8148 (deps/libz) Clean this up 2019-07-10 03:57:35 +02:00
twinaphex
695837ef77 Squashed 'deps/SPIRV-Cross/' changes from 9c57364f18..8aa6731925
8aa6731925 Merge pull request #1065 from KhronosGroup/msvc-2013-workaround
909040e2eb MSVC 2013: Work around another compiler bug with array init.
53ab2144b9 Merge pull request #1064 from KhronosGroup/fix-1062
e0cd8595a4 Merge pull request #1063 from KhronosGroup/fix-1061
50342966c0 Fall back to complex loop if non-trivial continue block is found.
fa9af7223a Add test shaders for NonUniformEXT propagation.
d12b54bbb4 Propagate NonUniformEXT to dependent expressions.
13378ad1ac Add simple test for extended debug operations.
6d9c502a3a Merge branch 'master' of git://github.com/lifpan/SPIRV-Cross
5ca8779044 Parse SPIR-V debug information extended instructions, as well as OpNoLine.
c5904dd245 Merge pull request #1059 from KhronosGroup/fix-1056
4056d0b74e Don't use scalar dot().
041f103d44 MSL/HLSL: Support scalar reflect and refract.
9a6e2534e9 Merge pull request #1058 from KhronosGroup/fix-1054
fc9fe4e480 Fix variable scope when an if or else block dominates a variable.
3af18e741f Merge pull request #1055 from cdavis5e/msl21-frag-subgroup-builtins
31b6c93516 MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages.
41399fc899 Merge pull request #1051 from KhronosGroup/fix-1049
f8b084de61 MSL/HLSL: Support OpOuterProduct.
04e29895a3 Merge pull request #1001 from cdavis5e/msl-multiview
7eecf5a46b MSL: Support SPV_KHR_multiview.
8ee8e60f70 Merge pull request #1048 from KhronosGroup/fix-1047
ff87419607 Deal with scalar input values for distance/length/normalize.
d1bdb6d491 Merge pull request #1046 from KhronosGroup/texture-fp16-coord
964ec44822 Merge pull request #1045 from KhronosGroup/c-api-get-declared-struct-member-size
1543bdaf7b Run format_all.sh.
581ed0fd59 HLSL: Does not support case-fallthrough.
c76b99b711 Handle more cases with FP16 and texture sampling.
656d129c00 Add C API for get_declared_struct_member_size.
45805857e5 MSL: De-virtualize get_declared_struct_member_size.
02b2a1015d MSL: Fix minor XCode /analyze warning.
8f6939cb0d Merge pull request #1041 from KhronosGroup/fix-1011
4bbf343a7f Merge pull request #1043 from KhronosGroup/fix-1042
bcef66fbf3 Fix declaration of loop variables with a Phi helper copy.
845628cd4e Merge pull request #1040 from KhronosGroup/fix-1037
ab3798fd91 MSL: Add support for SubgroupSize / SubgroupInvocationID in fragment.
048f2380f3 MSL: Support custom bindings for argument buffer itself.

git-subtree-dir: deps/SPIRV-Cross
git-subtree-split: 8aa67319253b55f874d1fc7eb85d201299a8f488
2019-07-09 18:49:50 +02:00
twinaphex
f71e6cfd01 (civetweb) This can go 2019-07-09 09:14:40 +02:00
twinaphex
2ee9b1d98e Revert "Revert "Gradle""
This reverts commit e8cf66f0a9.
2019-06-27 17:55:38 +02:00
twinaphex
8037cbe3dc Revert "(Android) Backport c9218bbd23"
This reverts commit 6e4c8ec6a6.
2019-06-27 17:55:19 +02:00
twinaphex
6e4c8ec6a6 (Android) Backport c9218bbd23 2019-06-27 10:57:37 +02:00
Twinaphex
e8cf66f0a9
Revert "Gradle" 2019-06-27 08:00:12 +02:00
Aaron Kling
7677ffbbeb Clang doesn't like the x86 cpuid asm, skip for android 2019-06-26 10:17:28 -05:00
Hans-Kristian Arntzen
90fd5657b5 Merge commit 'ac9fa8a82eb313351a64a0de3afaf28e2b0ed422' as 'deps/SPIRV-Cross' 2019-06-24 13:42:34 +02:00
Hans-Kristian Arntzen
6e5a7dd64a Remove SPIRV-Cross subtree. 2019-06-24 13:42:24 +02:00
Twinaphex
84974c7e5c Silence more warnings 2019-06-22 15:09:59 +02:00
Twinaphex
c795d2ade3 Silence more warnings 2019-06-22 14:57:11 +02:00
Twinaphex
bf1951ae37 Fix plethora of warnings on OSX 2019-06-22 14:52:29 +02:00
Twinaphex
d6aafef950
Merge pull request #8877 from QuarkTheAwesome/build-fixes
WiiU: Build cleanup/refactors, fix Griffin, newest devkitPPC
2019-05-29 10:50:18 +02:00
Ash Logan
8f48b40491 libfat: ARGV_MAGIC is different on WiiU 2019-05-29 18:22:36 +10:00
Ash Logan
3f41c2b822 libiosuhax: Use wiiu headers instead of redefining 2019-05-29 18:22:16 +10:00
twinaphex
5e09f1a569 Revert "(Discord RPC) Cleanups"
This reverts commit 8609c68f31.
2019-05-28 16:26:50 +02:00