ReinUsesLisp
3dcaaa18be
externals/microprofile: Fix data race in g_bUseLock
As reported by tsan, g_bUseLock had a data race. Fix this using an
atomic boolean.
5 years ago
Lioncash
3121acdf4e
externals: Update xbyak to v5.941
Keeps the tracked submodule up to date with the latest release.
5 years ago
Lioncash
ec8d72a567
microprofile: Don't memset through std::atomic types
Two of the members of the MicroProfileThreadLog contains two std::atomic
instances. Given these aren't trivially-copyable types, we shouldn't be
memsetting the structure, given implementation details can contain other
members within it.
To avoid potential undefined behavior on platforms, we can use aggregate
initialization to zero out the members while still having well-defined
behavior.
While we're at it we can also silence some sign conversion warnings.
5 years ago
MerryMage
836ec9176a
dynarmic: Add unsafe optimizations
5 years ago
MerryMage
0193202964
configuration: Add settings to enable/disable specific CPU optimizations
6 years ago
Jan Beich
2af7e40ce6
cmake: unbreak system libusb support
Reference libusb doesn't support DragonFly and FreeBSD because those
ship a different libusb implementation (supports 0.1, 1.0, 2.0 API).
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_alloc_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_alloc_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_has_capability) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_connect_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(usbi_disconnect_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_get_device_list) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_get_device_list) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_unref_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_unref_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_write
>>> referenced by core.c
>>> core.c.o:(usbi_signal_event) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_read
>>> referenced by core.c
>>> core.c.o:(usbi_clear_event) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_wrap_sys_device) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_open) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_backend
>>> referenced by core.c
>>> core.c.o:(libusb_open) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_read
>>> referenced by core.c
>>> core.c.o:(libusb_close) in archive externals/libusb/libusb.a
ld: error: undefined symbol: usbi_write
>>> referenced by core.c
>>> core.c.o:(libusb_close) in archive externals/libusb/libusb.a
ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
6 years ago
Ameer
b700d657d7
Revert inadvertent dynarmic update
6 years ago
Ameer
fa4d6df4c5
Fix ss crash on game menu, fix ss on windowed mode
6 years ago
David Marcec
d5dfe34c49
externals: Track opus as submodule instead of using conan
Supersedes #4068 see for details.
6 years ago
Fernando Sahmkow
4105f38022
SVC: Implement 32-bits wrappers and update Dynarmic.
6 years ago
Fernando Sahmkow
b8df61c642
ARM: Update Dynarmic and Setup A32 according to latest interface.
6 years ago
Fernando Sahmkow
39ddce1ab5
Externals: Update Dynarmic.
6 years ago
Fernando Sahmkow
3714f2e471
ARMInterface/Externals: Update dynarmic and fit to latest version.
6 years ago
ReinUsesLisp
7527402a46
vk_device: Enable VK_EXT_extended_dynamic_state when available
6 years ago
Ameer
8ccc8cb252
update libusb dependency
6 years ago
ameerj
f5d2a1e8bd
Update src/input_common/main.cpp
Co-authored-by: LC <mathew1800@gmail.com>
update libusb submodule (hopefully windows build error fixed)
6 years ago
Ameer
18a42d3815
Add libusb dependency
6 years ago
bunnei
2a3d4cad63
externals: Revert to libressl, as build is broken with find_package(OpenSSL). ( #4093 )
* externals: Revert to libressl, as build is broken with find_package(OpenSLL).
* fixup! externals: Revert to libressl, as build is broken with find_package(OpenSLL).
* fixup! externals: Revert to libressl, as build is broken with find_package(OpenSLL).
6 years ago
MerryMage
256cb2979b
CMakeLists: xbyak comes before dynarmic
6 years ago
ReinUsesLisp
866c1165af
vk_shader_decompiler: Implement atomic image operations
Implement atomic operations on images.
On GLSL these are atomicImage* functions (e.g. atomicImageAdd).
6 years ago
David Marcec
d0bdd26c26
Add xbyak external
6 years ago
ReinUsesLisp
5d0986a53b
shader/other: Implement BAR.SYNC 0x0
Trivially implement this particular case of BAR. Unless games use OpenCL
or CUDA barriers, we shouldn't hit any other case here.
6 years ago
Markus Wick
290bc20e79
Add version check to Findnlohmann_json.cmake
6 years ago
Markus Wick
c96a8867f0
Add version check for catch2
6 years ago
Markus Wick
0e2a7ca91b
Add version check to Findfmt
6 years ago
Markus Wick
ef1f596595
Fix libzip version check
6 years ago
Markus Wick
c5c60e04dd
Check for the zstd version
6 years ago
James Rowe
bc30a591ba
Replace externals with Conan ( #3735 )
* Remove git submodules that will be loaded through conan
* Move custom Find modules to their own folder
* Use conan for downloading missing external dependencies
* CI: Change the yuzu source folder user to the user that the containers run on
* Attempt to remove dirty mingw build hack
* Install conan on the msvc build
* Only set release build type when using not using multi config generator
* Re-add qt bundled to workaround an issue with conan qt not downloading prebuilt binaries
* Add workaround for submodules that use legacy CMAKE variables
* Re-add USE_BUNDLED_QT on the msvc build bot
6 years ago
ReinUsesLisp
0d735a905d
externals: Update Vulkan-Headers
6 years ago
David Marcec
38ec6e14d9
externals: Update cubeb to 616d773
Support for 6 audio channels
6 years ago
MerryMage
b7a69501cd
externals: Update dynarmic to e7166e8b
6 years ago
ReinUsesLisp
255197e643
shader/arithmetic_integer: Implement CC for IADD
6 years ago
H27CK
52e66779e7
Set _FORTIFY_SOURCE=0 if building Opus with mingw-w64
6 years ago
MerryMage
a3a12deecc
dynarmic: Add option to disable CPU JIT optimizations
6 years ago
Lioncash
cdc5449df0
externals: Update fmt to 6.2.0
Keeps the library up to date.
6 years ago
bunnei
b160804db0
externals: Update to latest dynarmic.
- Adds memory alignment fixes.
6 years ago
Lioncash
e2d8be1ca2
General: Resolve warnings related to missing declarations
6 years ago
Markus Wick
b520978043
externals: Use shared libraries if possible
This is mostly done by pkgconfig.
I've focused on the larger and more stable libraries.
6 years ago
Markus Wick
fedf750e1b
externals: Move LibreSSL linking to httplib.
Neither core nor web_services use OpenSSL nor LibreSSL.
However they need to link them as it's a requirement of httplib.
So let's declare this within httplib instead of core and web_services.
6 years ago
ReinUsesLisp
2905142f47
renderer_vulkan: Drop Vulkan-Hpp
6 years ago
ReinUsesLisp
ba9674862d
microprofile: Silence sign comparison warning
6 years ago
Fernando Sahmkow
448856695a
Microprofile: Allow accessing token.
6 years ago
Brian Clinkenbeard
d31156931d
fix issue with windows getnameinfo()
6 years ago
Brian Clinkenbeard
7f6c686d55
update httplib to latest commit
6 years ago
Brian Clinkenbeard
9e42025e5b
update httplib README
6 years ago
Brian Clinkenbeard
76b55c3624
0.4.2 works too
6 years ago
Brian Clinkenbeard
293d4d553a
update httplib to 0.2.6
6 years ago
Brian Clinkenbeard
68043dd233
use config mode for finding SDL2 with CMake
6 years ago
ReinUsesLisp
b2c976ad0e
vk_shader_decompiler: Implement UAtomicAdd (ATOMS) on SPIR-V
Also updates sirit to include atomic instructions.
6 years ago
Markus Wick
0986caa8d8
core/memory + arm/dynarmic: Use a global offset within our arm page table.
This saves us two x64 instructions per load/store instruction.
TODO: Clean up our memory code. We can use this optimization here as well.
6 years ago