Joel Linn
86722be9ca
[Base] Make Arena alignment aware
...
- Add align parameter
- Templated Alloc() implicitly aligns type correctly
- Rewind may leak padding that was added due to alignment
2021-06-02 22:28:43 -05:00
Joel Linn
d8cfeac79f
[Base] Remove redundant copy and move operators
...
- Compiler is smart enough to use 128bit vector regs by itself
2021-06-02 22:28:43 -05:00
Joel Linn
4d0d3f3ad4
[Base] Fix semaphore test
...
- Was using `Sleep()`
- Replaced with atomic value and bool flag
2021-06-02 22:28:43 -05:00
Joel Linn
2d9462f02b
[Base] Fix unitialized variable in threading test
2021-06-02 22:28:43 -05:00
Joel Linn
4fb5244176
[Base] Fix namespacing
2021-06-02 22:28:43 -05:00
Joel Linn
a86d7173e1
Refactor FourCC magic uses
...
- Use new fourcc_t type
- Improves compiler compatibility by removing multi chars
2021-06-02 22:28:43 -05:00
Joel Linn
4daa3f5a52
[Base] Add FourCC tests
2021-06-02 22:28:43 -05:00
Joel Linn
9bb920b104
[Base] Add FourCC type
...
- using fourcc_t = uint32_t
- make_fourcc() overloads
2021-06-02 22:28:43 -05:00
Gliniak
fbc31652e0
[XAM/Net] inet_addr: Handle edge cases
2021-05-27 16:16:56 -05:00
Gliniak
29f7987401
[XAM] XamReadTileToTexture: tile_id safety check
2021-05-27 16:16:20 -05:00
Gliniak
29f28b8b60
[Kernel/XAM] CloseContent: Close files related to closed content
2021-05-27 16:16:01 -05:00
Gliniak
f298d7620a
[Kernel/XAM] XamContentGetCreator: Added check for existing content
2021-05-27 16:11:35 -05:00
Triang3l
ea9625fca8
[Kernel] VdSwap virtual/physical address clarification
2021-05-25 21:31:02 +03:00
Triang3l
800db1aa49
[D3D12] Cleanup initialization log levels
2021-05-19 21:10:05 +03:00
emoose
422fc4f24e
[VFS/STFS] Check fread return values, add SVOD local structs
...
A few minor improvements to StfsContainerDevice too, and now StfsContainerFile::ReadSync will set out_bytes_read to the actual
number of bytes read
2021-05-18 09:04:45 -05:00
emoose
478bb90922
[VFS/STFS] Use xe::filesystem::OpenFile instead of memory-mapping
...
Adds StfsDirectoryEntry / StfsDirectoryBlock to make it easier to fread()
2021-05-18 09:04:45 -05:00
emoose
2659b70c90
[VFS/STFS] Improved StfsHashEntry, minor struct improvements
...
Changed XEPACKEDSTRUCT to #pragma pack, added setters for some fields that didn't have them, named some anonymous structs which might help with other compilers.
2021-05-18 09:04:45 -05:00
emoose
aa155612fb
[VFS/STFS] Move x360-specific STFS structs to stfs_xbox.h
2021-05-18 09:04:45 -05:00
Gliniak
1a2282894a
[GPU] Improve fake occlusion query compatibility
...
- Older D3D implementation used different flags
2021-05-17 19:27:23 +03:00
Sandy Carter
31a8d189f0
[vulkan] Fix typos
2021-05-17 11:14:48 -04:00
Sandy Carter
c4a2dff099
[vulkan] Add Report Callback to instance create
2021-05-17 11:14:48 -04:00
Sandy Carter
5ed4f88091
[vulkan linux] Add extension requirement for XCB
2021-05-17 11:14:48 -04:00
Sandy Carter
6d591970ab
[vulkan linux] Fix native_platform_handle with gtk
...
Use gtk connection as handle and use it when creating surface.
2021-05-17 11:14:48 -04:00
Triang3l
0965975cbe
[VFS] Fix missing unordered_map include in stfs_container_device.h
2021-05-17 02:50:01 +03:00
Triang3l
2d50fc07b4
[Linux] __builtin_ffsll instead of GNU/BSD-specific ffsll
2021-05-17 02:38:51 +03:00
Triang3l
e49e26e4a0
[Kernel] shim_utils lint fix
2021-05-16 18:34:27 +03:00
Triang3l
3a5752fcb6
[D3D12] Split the tessellation VS into indexed and adaptive
2021-05-16 18:27:41 +03:00
Triang3l
9f8a432479
[DXBC] Cleanup: kSysConst_*_Vec/Comp > LoadSystemConstant
2021-05-16 17:43:18 +03:00
Triang3l
ff23b1d9f9
[x64] LoadConstantXmm: Don't load -0 as +0 + cleanup
2021-05-16 14:26:57 +03:00
Triang3l
f39020700a
[GPU] Cleanup: XEPACKED -> static_assert_size/alignas
2021-05-16 14:03:36 +03:00
amine4567
165c6f0e4d
[Build] Support building with the standalone VS Build Tools
2021-05-15 18:50:59 -05:00
gibbed
536f6772da
Fix reference to old var name in xenia-build.
...
Fix reference to old variable name in xenia-build.
2021-05-15 18:13:32 -05:00
Triang3l
dd5ea87213
[GPU] Linear mip tail exact extent estimation
2021-05-15 18:19:26 +03:00
Gliniak
a69a058991
[XAM/App] Fixed issue when error code was handled as success
2021-05-13 23:08:02 -05:00
Gliniak
93c97fdbda
[XAM/Content] Provide title ID for aggregate content
2021-05-13 23:08:02 -05:00
Triang3l
4eca2326c3
[GPU/D3D12] Support texture pitch, more precise texture extent/stride calculations
2021-05-13 23:02:11 +03:00
Triang3l
8a70ae5389
[GPU] Fix RT EDRAM range clamping when using both 32bpp and 64bpp
2021-05-12 20:17:12 +03:00
gibbed
21c28a07f1
[XAM] Write stub buffer in XamReadTileToTexture.
...
[XAM] Write stub texture buffer (white) in XamReadTileToTexture.
2021-05-08 11:13:30 -05:00
gibbed
8d8bab853d
[XAM] Define unknown args for XamReadTileToTexture.
2021-05-08 11:13:30 -05:00
gibbed
37a733e33a
[XAM] More values for dummy achievement details.
...
[XAM] Provide image ID and flags for dummy achievement details.
2021-05-08 11:13:30 -05:00
gibbed
0f6bfcf0d5
[XAM] Base dummy achievement details at ID 1.
2021-05-08 11:13:30 -05:00
gibbed
5d778cfef6
[XAM] Better text for dummy achievement details.
2021-05-08 11:13:30 -05:00
gibbed
b2011453cc
[XAM] Cap dummy achievement details to 100.
2021-05-08 11:13:30 -05:00
gibbed
b735e3f40d
[XAM] Fix dummy achievement details count.
2021-05-08 11:13:30 -05:00
gibbed
cf2037cdf6
[XAM] Cap the number of dummy achievement details.
2021-05-08 09:10:28 -05:00
gibbed
1c78c9d75d
[XAM] Fix adding dummy achievement details.
...
[XAM] Fix infinite loop in adding dummy achievement details when
count>255.
2021-05-08 09:10:28 -05:00
gibbed
084b8c5dbe
[XAM] Fix missing buffer check on XamEnumerate.
2021-05-08 09:10:28 -05:00
Gliniak
d2ca54d909
[Kernel/XAM] Dummy X_ACHIEVEMENT_DETAILS support
...
Co-authored-by: gibbed <rick@gibbed.us>
2021-05-08 07:47:03 -05:00
Gliniak
57ce647bb3
[APU/XMA] Prevent crash with invalid packet number
2021-05-07 16:59:17 -05:00
Triang3l
8f1f849a06
[D3D12] unordered_map instead of multimap in TextureCache
2021-05-05 21:40:00 +03:00