Lioncash
39c8d18feb
core/CMakeLists: Make some warnings errors
...
Makes our error coverage a little more consistent across the board by
applying it to Linux side of things as well. This also makes it more
consistent with the warning settings in other libraries in the project.
This also updates httplib to 0.7.9, as there are several warning
cleanups made that allow us to enable several warnings as errors.
4 years ago
bunnei
94a25b75a0
Merge pull request #4611 from lioncash/xbyak2
...
externals: Update Xbyak to 5.96
5 years ago
Lioncash
91cbe52122
externals: Work around libusb duplicate GUID errors
...
Given we have two libraries that seem to use the same identifier, we can
alter one of them so that the variable is used in place, effectively
changing the used identifier, but without altering the source of
libusb.
5 years ago
bunnei
e11a77d2c6
Merge pull request #4584 from lioncash/libusb
...
externals: Track upstream libusb directly
5 years ago
bunnei
2579a7199b
Merge pull request #4587 from yuzu-emu/tsan-microprofiler
...
externals/microprofile: Fix data race in g_bUseLock
5 years ago
Lioncash
a5dcccfdd2
externals: Update Xbyak to 5.96
...
I made a request on the Xbyak issue tracker to allow some constructors
to be constexpr in order to avoid static constructors from needing to
execute for some of our register constants.
This request was implemented, so this updates Xbyak so that we can make
use of it.
5 years ago
Lioncash
045255a0a0
externals: Track upstream libusb
...
We can place the external in an inner folder and manage the custom files
necessary to integrate it with CMake directly. This allows us to
directly change how we use it with our build system, as opposed to
needing to change a fork.
5 years ago
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
58ee9b4197
externals: Untrack non-upstream variant of libusb
...
We shouldn't be tracking personal forks of repositories when upstream
can be managed directly.
5 years ago
Lioncash
c024e5c69a
externals: Update Xbyak to 5.95
...
5.95 contains a potentially backward-compatibility breaking change, so
we should be updating to this to ensure that our code remains
forward-compatible.
5 years ago
bunnei
4efaecf125
Merge pull request #4572 from lioncash/xbyak
...
externals: Update xbyak to v5.941
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
5 years ago
bunnei
5311b562aa
Merge pull request #4266 from jbeich/freebsd
...
gcadapter: unbreak build on FreeBSD
5 years ago
bunnei
35f7740b6c
Merge pull request #4150 from ReinUsesLisp/dynamic-state-impl
...
vulkan: Use VK_EXT_extended_dynamic_state when available
5 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)
5 years ago
Ameer
f829932ed1
Fix merge conflicts?
5 years ago
David Marcec
d5dfe34c49
externals: Track opus as submodule instead of using conan
...
Supersedes #4068 see for details.
5 years ago
Fernando Sahmkow
4105f38022
SVC: Implement 32-bits wrappers and update Dynarmic.
5 years ago
Fernando Sahmkow
b8df61c642
ARM: Update Dynarmic and Setup A32 according to latest interface.
5 years ago
Fernando Sahmkow
39ddce1ab5
Externals: Update Dynarmic.
5 years ago
Fernando Sahmkow
3714f2e471
ARMInterface/Externals: Update dynarmic and fit to latest version.
5 years ago
ReinUsesLisp
7527402a46
vk_device: Enable VK_EXT_extended_dynamic_state when available
5 years ago
Ameer
8ccc8cb252
update libusb dependency
5 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)
5 years ago
Ameer
18a42d3815
Add libusb dependency
5 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).
5 years ago
MerryMage
256cb2979b
CMakeLists: xbyak comes before dynarmic
5 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).
5 years ago
David Marcec
d0bdd26c26
Add xbyak external
5 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.
5 years ago
Markus Wick
290bc20e79
Add version check to Findnlohmann_json.cmake
5 years ago
Markus Wick
c96a8867f0
Add version check for catch2
5 years ago
Markus Wick
0e2a7ca91b
Add version check to Findfmt
5 years ago
Markus Wick
ef1f596595
Fix libzip version check
5 years ago
Markus Wick
c5c60e04dd
Check for the zstd version
5 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
5 years ago
ReinUsesLisp
0d735a905d
externals: Update Vulkan-Headers
5 years ago
bunnei
3a13552db8
Merge pull request #3827 from ogniK5377/cubeb-616d773
...
externals: Update cubeb to 616d773
5 years ago
bunnei
c7b5a87c90
Merge pull request #3799 from ReinUsesLisp/iadd-cc
...
shader: Implement P2R CC, IADD Rd.CC and IADD.X
5 years ago
David Marcec
38ec6e14d9
externals: Update cubeb to 616d773
...
Support for 6 audio channels
5 years ago
MerryMage
b7a69501cd
externals: Update dynarmic to e7166e8b
5 years ago
ReinUsesLisp
255197e643
shader/arithmetic_integer: Implement CC for IADD
5 years ago
bunnei
2409fedacf
Merge pull request #3697 from lioncash/declarations
...
CMakeLists: Enable -Wmissing-declarations on Linux builds
5 years ago
H27CK
52e66779e7
Set _FORTIFY_SOURCE=0 if building Opus with mingw-w64
5 years ago
MerryMage
a3a12deecc
dynarmic: Add option to disable CPU JIT optimizations
5 years ago
Lioncash
cdc5449df0
externals: Update fmt to 6.2.0
...
Keeps the library up to date.
5 years ago
bunnei
b160804db0
externals: Update to latest dynarmic.
...
- Adds memory alignment fixes.
5 years ago
Lioncash
e2d8be1ca2
General: Resolve warnings related to missing declarations
5 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.
5 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.
5 years ago
ReinUsesLisp
2905142f47
renderer_vulkan: Drop Vulkan-Hpp
5 years ago
ReinUsesLisp
ba9674862d
microprofile: Silence sign comparison warning
5 years ago
Fernando Sahmkow
448856695a
Microprofile: Allow accessing token.
5 years ago
Brian Clinkenbeard
d31156931d
fix issue with windows getnameinfo()
5 years ago
Brian Clinkenbeard
7f6c686d55
update httplib to latest commit
5 years ago
Brian Clinkenbeard
9e42025e5b
update httplib README
5 years ago
Brian Clinkenbeard
76b55c3624
0.4.2 works too
5 years ago
Brian Clinkenbeard
293d4d553a
update httplib to 0.2.6
5 years ago
Brian Clinkenbeard
68043dd233
use config mode for finding SDL2 with CMake
5 years ago
ReinUsesLisp
b2c976ad0e
vk_shader_decompiler: Implement UAtomicAdd (ATOMS) on SPIR-V
...
Also updates sirit to include atomic instructions.
5 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.
5 years ago
ReinUsesLisp
abb33d4aec
vk_shader_decompiler: Update sirit and implement Texture AOFFI
5 years ago
bunnei
285705b5f4
externals: Update boost-ext to include safe_numerics.
...
- This is useful to me for an upcoming change.
5 years ago
ReinUsesLisp
425a254fa2
shader: Implement MEMBAR.GL
...
Implement using memoryBarrier in GLSL and OpMemoryBarrier on SPIR-V.
5 years ago
ReinUsesLisp
ecbfa416f0
vk_shader_decompiler: Misc changes
...
Update Sirit and its usage in vk_shader_decompiler. Highlights:
- Implement tessellation shaders
- Implement geometry shaders
- Implement some missing features
- Use native half float instructions when available.
5 years ago
ReinUsesLisp
7ea362e134
externals: Update Vulkan-Headers
5 years ago
bunnei
3e0e4f146b
Merge pull request #3091 from lioncash/core-conversion
...
core: Make most implicit type conversion warnings errors on MSVC
5 years ago
Lioncash
47a6bb2d5b
externals: Update httplib
...
Since the introduction of this library, numerous improvements have been
made. Notably, many of the warnings we would get by simply including the
library header have now been fixed. This makes it much easier to make
conversion warning an error.
5 years ago
ReinUsesLisp
fa0d65fc7b
microprofile: Silence conversion warnings
5 years ago
Lioncash
1643af431c
externals: Track upstream libzip
...
Stops relying on a fork for providing zip handling and instead tracks
the upstream branch but keeps any necessary build-related changes in the
source tree directly without modifying the libzip target itself.
5 years ago
Lioncash
c2486f77e4
externals: Amend zlib submodule
...
Supplies CMakeLists.txt file that avoids pulling in zlib's tests into
the tree. This avoids needing to explicitly opt these tests out from
ctest.
5 years ago
Lioncash
611236c883
externals: Track upstream opus
...
Tracks upstream opus, allowing the library to be easily updated. While
we're at it, we incorporate the CMakeLists.txt so that we have easy
control over the requirements of the build.
5 years ago
Zach Hilman
d6d6a87bde
externals: Move OSS font data to file_sys in core
5 years ago
Lioncash
e29492d114
CMakeLists: Make libzip excluded from the ALL target
...
Likewise, we also only want to link in the libraries that we actually
make use of (so we don't need to worry about linking in test targets).
5 years ago
Lioncash
80bdb44ead
externals: Use upstream zlib
...
We don't need to depend on a custom fork for this. We can add the
library as is, and then make it excluded from the ALL target, so we only
link in the libraries that we actually make use of.
5 years ago
Zach Hilman
bcf1eafb8b
boxcat: Implement events global field
5 years ago
Zach Hilman
84b6059012
externals: Add zlib and libzip libraries to handle ZIP file parsing
5 years ago
Ethan
3e5790de79
externals: Update fmt to master
5 years ago
David Marcec
d961d5479e
Revert "Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1"
...
This reverts commit fa1c60c33e
, reversing
changes made to e34899067b
.
5 years ago
David
fa1c60c33e
Merge pull request #2709 from DarkLordZach/oss-ext-fonts-1
...
system_archive: Move shared font data to system_archive and fix extended font data
5 years ago
Zach Hilman
361a8fa318
externals: Move OSS font data to file_sys in core
5 years ago
Ethan
8b76444916
externals: Update dynarmic to master
5 years ago
ReinUsesLisp
78d078e183
externals: Update Vulkan headers
6 years ago
Ethan
46a962eb5d
externals: update fmt to 6.0.0
6 years ago
James Rowe
f0c75573b1
Revert "externals: Update FMT to 6.0.0"
...
This reverts commit ca4ca8a6dc
.
6 years ago
Ethan
ca4ca8a6dc
externals: Update FMT to 6.0.0
6 years ago
ReinUsesLisp
a4c5e3e339
vk_shader_decompiler: Misc fixes
...
Fix missing OpSelectionMerge instruction. This caused devices loses on
most hardware, Intel didn't care.
Fix [-1;1] -> [0;1] depth conversions.
Conditionally use VK_EXT_scalar_block_layout. This allows us to use
non-std140 layouts on UBOs.
Update external Vulkan headers.
6 years ago
ReinUsesLisp
f4c15db9e8
externals: Update glad to support OpenGL 4.6 compatibility profile
...
Now that we have an OpenGL compatibility profile we might want to use
OpenGL compatibility symbols that are not available in our current glad.
This commit has been generated with https://glad.dav1d.de/ with all
extensions enabled and OpenGL 4.6 compatibility profile.
6 years ago
Lioncash
0964444529
externals: Update dynarmic to master
...
Better instruction support has been added since the last update.
6 years ago
ReinUsesLisp
970d9e57c8
video_core: Add sirit as optional dependency with Vulkan
...
sirit is a runtime assembler for SPIR-V
6 years ago
unknown
d85c1141b9
externals: Add libzstd_static to externals CMakeLists.txt
6 years ago
unknown
93de7a7b40
externals: Add Zstandard v1.3.8
6 years ago
Lioncash
6abc56672c
externals: Update opus to latest master
...
Prevents yuzu from getting 2000+ warnings in MSVC in a future change.
6 years ago
Lioncash
e56f32a071
externals: Update cubeb to 6f2420de8f155b10330cf973900ac7bdbfee589d
...
Keeps the audio library we use up to date.
6 years ago
ReinUsesLisp
b675c97cdd
vk_memory_manager: Implement memory manager
...
A memory manager object handles the memory allocations for a device. It
allocates chunks of Vulkan memory objects and then suballocates.
6 years ago
ReinUsesLisp
afb8af9853
gitmodules: Add Vulkan headers dependency
6 years ago
Lioncash
614de1dba7
externals: Update fmt to 5.3.0
...
Updates fmt from 5.2.1 to 5.3.0
6 years ago