Commit Graph

843 Commits

Author SHA1 Message Date
Unknown W. Brackets
ff98d81e33 Build: Simplify by always including FakeCPUDetect. 2021-03-20 17:25:50 -07:00
Unknown W. Brackets
a42d3834f2 Build: Remove "fake" vertex decoder jit.
We don't really need this.  Just replace it with a stub that always fails
to generate a vertex decoder.
2021-03-20 17:06:21 -07:00
Paul Cercueil
08e60c27d7
Fix build with USE_MINIUPNPC=OFF
Instead of adding platform-specific dirty workarounds, why not try to
handle things *properly*?

With this commit, the PortManager will compile UPnP specific code only
if USE_MINIUPNPC is set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-19 12:48:28 +00:00
Henrik Rydgård
1f4e84dc8d
Merge pull request #14301 from pcercuei/no-x11
CMake: Don't include X11 headers when compiling for FBDEV
2021-03-17 19:53:28 +01:00
Paul Cercueil
0b5e528bc4
CMake: Fix build when ENABLE_SPVREMAPPER=OFF
It previously tried to link inconditionally to SPVRemapper.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-17 15:24:34 +00:00
Paul Cercueil
38ea5b3c60
CMake: Don't include X11 headers when compiling for FBDEV
When compiling for FBDEV, we don't need/want the X11 headers.
These are included by default by <EGL/eglplatform.h>; compile with
the EGL_NO_X11 macro set to prevent that.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-17 14:35:49 +00:00
Unknown W. Brackets
c679fe1fc8 Build: Remove force include CMake line.
This reverts commit e29bb7bcdf.
2021-03-03 00:00:23 -08:00
Henrik Rydgård
e29bb7bcdf Only remove tha CMake line for Apple. 2021-03-01 22:59:26 +01:00
Henrik Rydgård
203d1364a8 Time to remove this line in CMakeLists.txt now. 2021-03-01 22:06:58 +01:00
Sean McGovern
6bc6b0c547 CMake: enable testing 2021-02-21 12:59:17 -05:00
Sean McGovern
082a58287a CMake: add TestShaderGenerators source back to unitTest 2021-02-21 12:59:17 -05:00
Henrik Rydgård
2f3bc2d373
Merge pull request #14056 from unknownbrackets/debugger-mem
Track memory allocations and writes for debug info
2021-02-21 10:18:11 +01:00
Sean McGovern
1fd4a680e9 CMake: use vendor GL implementations by setting CMP0072 to NEW 2021-02-16 18:15:35 -05:00
Unknown W. Brackets
f7740edc6d Debugger: Add more metadata for memory usage. 2021-02-15 15:01:21 -08:00
Unknown W. Brackets
0c876754a6 Windows: Remove unused file. 2021-02-15 09:28:38 -08:00
Unknown W. Brackets
92ce375e7a CMake: Correct headless build on Windows. 2021-02-15 06:09:12 -08:00
Kingcom
5109fd7cdc CMake: Correct build on Windows. 2021-02-15 06:09:12 -08:00
Unknown W. Brackets
622b078518 Build: Use ws2_32 and iphlpapi names directly.
On mingw, find_library can't find these.  We already use them directly
elsewhere in this same file.
2021-02-14 10:30:10 -08:00
Gleb Mazovetskiy
08dbec532a CMake: Fix UBSAN link error 2021-01-29 23:29:54 +00:00
Gleb Mazovetskiy
0fb42e07a6 CMake: Rename USE_ADDRESS_SANITIZER to USE_ASAN
For consistency with USE_UBSAN
2021-01-29 23:10:22 +00:00
Gleb Mazovetskiy
3bd3046315 CMake: Add USE_UBSAN 2021-01-29 23:08:00 +00:00
Henrik Rydgård
74f3542af4 Add back XCode TARGETED_DEVICE_FAMILY config line
xcode warns that the value is deprecated or something, but maybe it still does something. Appears iPad support is broken right now.
2021-01-26 18:12:44 +01:00
Unknown W. Brackets
f97df5d153 Debugger: Broadcast ctrl input events.
This can be useful to trigger debugging functionality on button press.
2021-01-18 18:14:48 -08:00
Unknown W. Brackets
de3277c679 Debugger: Add API to trigger buttons. 2021-01-18 16:58:34 -08:00
Henrik Rydgård
ec91417610
Merge pull request #13936 from hrydgard/ios-minor
iOS CMake fixes and new --ios-xcode ./b.sh command.
2021-01-17 12:23:54 +01:00
Henrik Rydgård
1759f1fad8 CMake fixes and new --ios-xcode ./b.sh command.
Also enables stencil for the iOS backbuffer. Fixes the GPU test and will doubtlessly
fix problems with running non-buffered (which you shouldn't do anyway though).

Slim alternative to #13766 with less risk to buildbots.
2021-01-17 11:34:27 +01:00
Henrik Rydgård
fe450b4987 There's little reason to build at O3, so let's just not. Changing to O2.
See #13920 for a breakage report.
2021-01-17 10:43:43 +01:00
orbea
0e0385eee9 cmake: Silence warning. 2021-01-05 06:38:06 -08:00
Unknown W. Brackets
3c9ab13672 GPU: Remove NULL GPU.
We can use the software GPU without a backend now, and this is in every
way superior and will result in better tests/headless behavior.
2021-01-02 09:36:13 -08:00
Henrik Rydgård
afaff2e299 ARM64 buildfix
I guess previously ARM was defined in 64-bit mode too?
2020-12-14 19:43:40 +01:00
Henrik Rydgård
cc19136e02
Merge pull request #13751 from Halo-Michael/master
Initial support for vulkan on iOS. In addition, MoltenVK is bound to the framework.
2020-12-13 00:25:49 +01:00
orbea
c5b9924dd6 cmake: Enable the install target for non-linux unix systems. 2020-12-10 07:18:20 -08:00
Halo-Michael
277b00dfa0 Bundle libMoltenVK 2020-12-08 13:46:14 +08:00
Halo-Michael
cc5fa598f5 Specify Target 2020-12-07 16:12:55 +08:00
orbea
e8ec18bfbb cmake: Add a desktop file. 2020-12-05 20:42:35 -08:00
orbea
96b061bd1c cmake: Add an install target. 2020-12-05 20:42:35 -08:00
Henrik Rydgård
90f8799065 Safer hack to build on M1. 2020-12-02 22:46:56 +01:00
Henrik Rydgård
5126c91a81 CMakeLists.txt fixes for M1. It sets cpu arch to "arm64", not "aarch64" 2020-12-02 22:36:11 +01:00
C.W. Betts
eb831aaf14
Make universal binary version of ffmpeg work. (#13457)
* Make universal binary version of ffmpeg work.

* Update ffmpeg

* Update ffmpeg dependancy.
2020-12-02 00:25:48 +01:00
Henrik Rydgård
766dbc5a9f Move ShaderTranslation.cpp/h to Common/GPU. 2020-11-09 11:18:43 +01:00
Henrik Rydgård
19b4febbbf More reinterpret shader gen and test work.
More work on reinterpret

Buildsystem fixes
2020-11-08 10:41:20 +01:00
Henrik Rydgård
733a152c54 Move ShaderWriter to Common/GPU, along with some stuff from ShaderCommon.h. 2020-11-04 09:18:35 +01:00
Henrik Rydgård
97e8d5b93b Buildfix the rest of the platforms 2020-11-02 10:37:11 +01:00
Henrik Rydgård
f4ea3ccf22 Move the generic vertex shader generator into GPU/Common and rename it. 2020-11-01 19:58:54 +01:00
Henrik Rydgård
be837912e1 Delete the HLSL shader generator, switch to the newly generic one. 2020-11-01 19:58:54 +01:00
Henrik Rydgård
0b1b36921e Move the now-renamed fragment shader generator to GPU/Common. 2020-10-31 19:03:14 +01:00
Henrik Rydgård
3d0630c04a Remove the HLSL fragment shader generator. The GLSL one can now do its job. 2020-10-31 18:32:43 +01:00
Henrik Rydgård
2977c56a12 Complete the vertex shader merge, deleting the Vulkan-specific vertex shader generator. 2020-10-25 08:34:35 +01:00
Henrik Rydgård
020fb55a65 Completes the merge, deleting the Vulkan-specific fragment shader generator. 2020-10-23 10:03:44 +02:00
Henrik Rydgård
3d36049b65 Rename shader generator functions, a bit of moving around and adding an errorString param. 2020-10-21 23:20:25 +02:00