Sandy Carter
005e0e21c1
[linux graphics] Remove GLEW
...
OpenGL is not used in the whole stack.
All references are removed.
2021-06-19 13:08:12 -04:00
Sandy Carter
0380067105
[linux vulkan] Remove linking directly with vulkan
...
Using volk means vulkan linking is done at runtime with the dl library.
2021-06-19 13:08:12 -04:00
Sandy Carter
271c91e115
[ui gtk] Fix init, resize and destroy
...
Prevent Vulkan Swap before display context is assigned.
Prevent resize while fullscreen (like in windows impl).
Use superclass Resize implementation to reduce code duplication.
Remove recursive call to GTKWindow::Close().
Destroy xcb window after superclass Close().
Set hwnd to null after closing on windows implementation.
2021-06-19 13:08:12 -04:00
Sandy Carter
0b5ff8332e
[ui gtk] Fix file dialog
...
Use drawing area for vulkan but window for dialogs
2021-06-19 13:08:12 -04:00
Doug Johnson
cdf77d21bc
UI: Improve GTK GUI Abstractions for Linux
2021-06-19 13:08:03 -04:00
Triang3l
498c662c61
[Docs] Add libx11-xcb-dev to the dependencies
2021-06-19 19:38:04 +03:00
Triang3l
3a2c7894d2
[D3D12] Remove unused D3D12RenderTargetCache ref from D3D12RenderTarget
2021-06-19 14:06:37 +03:00
Triang3l
4a95f72fba
[GPU] RT size function adjustments for Vulkan convenience
2021-06-19 13:57:14 +03:00
Joel Linn
f6e48d5386
[Base] Fix Clock platform functions on POSIX.
2021-06-18 16:10:19 +03:00
Triang3l
8e83042bdf
[GPU] Fix host_depth_store_2xmsaa CS after 2x MSAA sample swap
2021-06-14 19:12:12 +03:00
Triang3l
e48a678ac7
[GPU] Undo depth_and_color_formats_out renaming
2021-06-14 19:00:57 +03:00
Triang3l
357aa1cdd3
[GPU] Fix RT view and pipeline sRGB mismatch
2021-06-14 17:30:56 +03:00
Joel Linn
f15e3d07e7
[APU] Use vectorized converter in xaudio2 backend
2021-06-12 18:57:39 +03:00
Joel Linn
0ad939b2f1
[APU] Add AVX intrinsic variants for conversion
2021-06-12 18:57:39 +03:00
Joel Linn
cd631fc447
[APU, SDL] Refactor sample submission
...
- Move sample conversion to SDL callback thread
- Add early channel down-conversion
2021-06-12 18:57:39 +03:00
Triang3l
460b2b75d0
[SDL2] Switch to libsdl-org/SDL
2021-06-12 14:49:38 +03:00
Triang3l
14bac72f0d
[D3D12] DirectComposition basic initialization
2021-06-09 22:56:36 +03:00
Triang3l
50bb35b4b4
[GPU] Polygon offset scale factor in xenos.h
2021-06-09 20:46:24 +03:00
Triang3l
9e6aec4535
[D3D12] Tiny IssueDraw initialization cleanup
2021-06-09 20:23:02 +03:00
Triang3l
d00dd5a2bc
[GPU] Disable primitive reset for non-list types in primitive processor
2021-06-09 20:22:24 +03:00
Triang3l
70a3919f9f
[D3D12] Primitive processor frame_index_buffers_.clear() in shutdown for safety
2021-06-08 21:28:30 +03:00
Triang3l
796eb0f430
[D3D12] Update shader bytecode .h path in premake5.lua
2021-06-07 21:28:39 +03:00
Triang3l
89ddf6456a
[GPU] Disable 3D slice pitch assertion for non-3D textures
2021-06-07 16:40:45 +03:00
Triang3l
22ee200f3e
[GPU] Use polygon mode only for DualMode, not non-Disabled
2021-06-07 16:40:01 +03:00
Triang3l
3f156f26c4
[D3D12] Take 0 being bottom-right sample with 2x MSAA in D3D12 into account
2021-06-06 20:58:50 +03:00
Triang3l
c4a5048e62
[GPU] More specific note about slope-scaled depth bias
2021-06-06 18:33:06 +03:00
Triang3l
dce6938827
[D3D12] ROV sample depth via ddxy(z), DSV depth bias cleanup
2021-06-06 18:27:43 +03:00
emoose
e3c14419f6
[CPU/XEX] Use correct size for XEXP-patched header buffer
2021-06-06 04:50:21 -05:00
Triang3l
12a907bfa5
[GPU] Shaders to common, xb buildshaders instead of buildhlsl
2021-06-05 18:53:53 +03:00
Gliniak
313fb3e5a3
[XMA] GetFrameNumber: Return correct frame_idx at stream end
2021-06-05 08:54:22 -05:00
Triang3l
ca7036707b
[APU] XMA: Instruction name comment typo correction
2021-06-05 16:43:49 +03:00
Triang3l
add65318c2
[APU] XMA: ConvertFrame always returns true
2021-06-05 16:27:40 +03:00
Triang3l
60b24b2d3a
[APU] XMA: Vectorize 2-channel ConvertFrame
2021-06-05 16:10:41 +03:00
Triang3l
866a29e153
[Base] saturate_signed NaN comment
2021-06-05 15:04:06 +03:00
Triang3l
3c20a83972
[Base] Float clamping cleanup
2021-06-05 14:55:55 +03:00
Joel Linn
89a7c8f41f
[APU] Add vectorized audio frame conversion
2021-06-05 14:08:16 +03:00
Triang3l
538aa91015
[GPU] Primitive processor with Vulkan 1.0 base cases, 24-bit indices and clamping
2021-06-04 23:57:46 +03:00
Joel Linn
10ff77a24f
[Base] Add workaround for GCC bug
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100801
2021-06-02 22:28:43 -05:00
Joel Linn
856d23a150
Update premake-cmake
...
- Fix linking on clang with recent pkg-config changes
2021-06-02 22:28:43 -05:00
Joel Linn
ceb382f8ec
Update Catch2 test framework
...
- Use their main() method to fix command line options. Fix CLion testing
- Change to correct tag syntax.
2021-06-02 22:28:43 -05:00
Joel Linn
0e019f96b4
[Base, Linux] Make thread exit non returning
...
- Use pthread_exit() instead of pthread_cancel() if current thread
- Modify tests to ensure Exit does not return
2021-06-02 22:28:43 -05:00
Joel Linn
8f44a14131
[Linux] Helper methods for pkg-config
...
- Fixes linking on GCC by putting libs in link group
2021-06-02 22:28:43 -05:00
Joel Linn
fa7f292432
[CPU] `ResolveFunction()` Fix declaration mismatch
2021-06-02 22:28:43 -05:00
Joel Linn
6d548f51b3
[Kernel] net: name anonymous struct
...
- fixes GCC compilation error due to
"member with constructor in anonymous struct"
2021-06-02 22:28:43 -05:00
Joel Linn
c0fb300a05
[Kernel] Remove explicit SHIM calling convention
...
Shim exports are called from GuestToHostThunk which dictates the calling
convention. The default system calling convention is different depending
on OS (Windows vs. everything else) and architecture. PR #1339 addresses
this for x64 Linux.
There is no reason for explicit `__cdecl`. Also, it is not available in
GCC. We could use `__attribute__((ms_abi))` or
`__attribute__((sysv_abi))` but that just adds complexity.
2021-06-02 22:28:43 -05:00
Joel Linn
07a060b002
[Kernel] Solve ambiguity in `RegisterExport()`
...
- Remove overload for exports with `void` return type
- Use `if constexpr (std::is_void<R>::value)` to differentiate
2021-06-02 22:28:43 -05:00
Joel Linn
d40dfa11c5
[Base] Use pragma pack for non msvc as well.
...
- Pack attributes may be ignored by GCC
2021-06-02 22:28:43 -05:00
Joel Linn
d55192ea30
[Base] Refactor byte_swap
...
- Use builtins on non MSVC compilers
- Use `if constexpr` to reduce explicit overloads and SFINAE overhead
2021-06-02 22:28:43 -05:00
Joel Linn
4800194f0d
[Base] Add faster `bit_count` variants
...
- Use C++20 `popcount()` when available
- Else use compiler specific built-ins
2021-06-02 22:28:43 -05:00
Joel Linn
806a33d625
[GPU] Use `le<>` type for depth sample counts
2021-06-02 22:28:43 -05:00