Commit Graph

2913 Commits

Author SHA1 Message Date
Dr. Chat 747f7d65d8 PPC-nativetests: Zero out the context between runs 2017-05-11 15:59:34 -05:00
Dr. Chat 737b78ad49 Last stretch to get PPC native tests working 2017-05-11 15:09:43 -05:00
Dr. Chat 7eceb9db09 PPC nativetests require gflags! 2017-05-11 11:41:34 -05:00
Dr. Chat cf838439b7 Whoops! Fix formatting. 2017-05-11 11:38:50 -05:00
Dr. Chat 7194c9e49b filesystem_posix: Add missing cstring include 2017-05-11 10:34:26 -05:00
Dr. Chat 254fd3631f Math: Fix [l/t]zcnt intrinsics on GCC
X64Context: Surround with architecture ifdef
2017-05-11 10:32:13 -05:00
Dr. Chat 5fde9fa720 Fix typo in xenia-vfs premake generator. Fixes #701. 2017-05-10 22:15:03 -05:00
Dr. Chat be962e6de1 More WIP architecture fixes (exception_handler/string_util) 2017-05-09 22:32:27 -05:00
Dr. Chat 096a0230c4 Fix Travis :| 2017-05-09 21:10:53 -05:00
Dr. Chat c2160c2504 Fix mapped_memory_posix.cc build on GCC 2017-05-09 21:00:30 -05:00
Dr. Chat 66a73128dd Fix debugging_posix.cc 2017-05-09 20:57:35 -05:00
Dr. Chat dbc2d233fb (for now) Stub X64Context out on non-AMD64 platforms 2017-05-09 20:53:25 -05:00
Dr. Chat bb3291e331 Add generic memory swap routines. 2017-05-09 20:52:09 -05:00
Dr. Chat 6dcbee18da Whoops - fix linux builds. 2017-05-08 22:26:48 -05:00
Dr. Chat ccd6d4b199 (WIP) Add a native PowerPC testing frontend 2017-05-08 22:21:43 -05:00
Dr. Chat 095f65c19e (maybe) Proper POSIX memory allocation support 2017-05-07 19:52:15 -05:00
Dr. Chat e26aa6c189 Add XE_ARCH_* 2017-05-07 18:25:06 -05:00
DrChat cff80bd782 fctiw[z]x: Sign-extend the result (verified by HW) 2017-04-26 12:28:35 -05:00
DrChat 8ccefa1600 Xam: (possibly) fix XamContentCreateEx extended result being incorrectly put as an extended error. 2017-04-24 15:11:46 -05:00
Dr. Chat 7f4ee2a070 Fix typo in XamAlloc
Few other inconsistencies in xboxkrnl_memory
2017-04-17 22:57:29 -05:00
Dr. Chat ab1690b0b1 Fixing formatting errors. 2017-04-08 12:46:52 -05:00
Dr. Chat b40d75aa3d TextureInfo: Store the texture format, not a pointer to texture format info. 2017-04-07 15:16:09 -05:00
Cesys d2605bce18 Fixing Altivec lvrx and stvrx 2017-03-31 11:00:51 -07:00
Megamouse c38accbb76 format shim conversion on some files
xam_info.cc, xam_msg.cc, xam_notify.cc, xboxkrnl_memory.cc,
xboxkrnl_misc.cc
2017-03-28 00:39:37 +02:00
Cesys 8c4ca35a35 Ringbuffer init fix 2017-03-25 20:00:48 -07:00
DrChat 9d721df061 Don't log the result of RtlNtStatusToDosError as an error 2017-03-24 16:31:09 -05:00
DrChat e699be0118 Logging: Add a flag to specify the minimum log level
--log_level = (0=error, 1=warning, 2=info, 3=debug)
2017-03-24 16:28:41 -05:00
Dr. Chat 92a4b90ed0 TextureInfo: Use round_up rather than floating point math for calculating tile width. 2017-03-19 20:20:43 -05:00
DrChat f012845cb6 JIT: Propagate mul/div by constant one 2017-03-16 18:49:55 -05:00
Dr. Chat 5ed086f03f x64 Code Cache: Notify Intel VTune of generated functions. 2017-03-16 17:45:47 -05:00
Dr. Chat 78433f70bd Vulkan CP: Supply the correct endianness to resolve TextureInfo 2017-03-16 01:55:07 -05:00
Dr. Chat b4c4ad4e76 SamplerInfo: Add LOD bias and border color 2017-03-14 23:33:22 -05:00
Dr. Chat b34350e9e7 TextureCache: Remove distinction between resolve textures and regular textures. 2017-03-14 23:18:53 -05:00
Dr. Chat 4a815e62cb TextureInfo: PrepareResolve, Reorganize source, add better documentation 2017-03-14 22:46:47 -05:00
Dr. Chat 581875b339 SPIR-V: Load operands after handling predicated blocks. 2017-03-14 21:41:50 -05:00
Dr. Chat e4ece12371 BufferCache: Clear the transient cache when invalidated. 2017-03-14 19:07:28 -05:00
Dr. Chat 44e7c3712a Vulkan: Fix register constants on AMD 2017-03-14 00:50:49 -05:00
Dr. Chat 5f5dc61428 Vulkan CP / Render Cache: Proper synchronization barriers for transfer
Use an event rather than a semaphore for swap
Update some calculations in IssueCopy TextureInfo
2017-03-13 18:03:33 -05:00
Dr. Chat 0c2e0e4119 RenderCache: Update to register bitfield structs 2017-03-13 17:54:41 -05:00
Dr. Chat 3cae25f36f VdSwap: Supply more (accurate) information to the CP 2017-03-12 22:50:04 -05:00
gibbed e3552a0601 Temporary hack for swaps until better texture info building can be implemented. 2017-03-12 22:03:20 -05:00
gibbed 8dbf3d240b Make the previous commit slightly more performant. 2017-03-12 01:15:43 -06:00
gibbed 69b92c6c31 Maybe fix texture uploads where mipmaps are packed in linear textures. 2017-03-12 01:12:02 -06:00
Dr. Chat 284aa14a67 Update a few Xenos enums/structs 2017-03-12 01:05:34 -06:00
gibbed 5875b79cc4 Compressed textures apparently don't have to have a height multiple of 32 either. 2017-03-11 23:40:43 -06:00
gibbed c0ee30c6b4 Linear textures apparently don't have to have a height multiple of 32. 2017-03-11 22:56:17 -06:00
Dr. Chat f87e55d030 Textures: Untiled textures do not need to have a size multiple of 32 2017-03-11 20:58:12 -06:00
Dr. Chat c4b728b121 MMIO Handler: Don't allow more than one watch to occupy the same region (fire old watches if a new one overlaps) 2017-03-11 20:55:01 -06:00
Dr. Chat 257fbfc408 ELF Loader: Fix linux build 2017-03-07 12:33:18 -06:00
Dr. Chat 3046df2415 SPIR-V: Go to next instr if cexece did not execute and is not the last instruction. 2017-03-07 12:25:36 -06:00
Dr. Chat cbab45c4b7 Improve ELF loading 2017-03-06 17:59:19 -06:00
Dr. Chat b661aa17f9 SPIR-V: Handle conditional exece CF instructions 2017-03-06 15:39:40 -06:00
Dr. Chat 098d23c3d4 JIT - fctidz: Properly saturate 2017-03-06 01:06:32 -06:00
Dr. Chat d8ed251ad1 Tests: Handle integer floating point numbers 2017-03-06 01:04:59 -06:00
Dr. Chat 31766eaf8d JIT: oops 2017-03-05 18:06:39 -06:00
Dr. Chat d5e7bc8dca JIT - vctsxs: Properly saturate signed integers 2017-03-05 17:45:17 -06:00
Dr. Chat ea89a5d179 JIT - fctixx: Properly handle numbers > INT_MAX 2017-03-05 15:04:26 -06:00
Dr. Chat ad5748f3e7 Handle cases where the optional import header isn't present :P 2017-02-25 20:28:45 -06:00
Dr. Chat 2bd19478a4 Logger: Properly handle cases where strlen(formatted string) > capacity of log_format_buffer_ (as well as error cases) 2017-02-25 20:03:25 -06:00
Justin Moore ed56f7e96b Merge pull request #643 from inckie/local_fixes
* statics initialization order fix
2017-02-23 17:34:13 -06:00
Justin Moore 2070570307 Merge pull request #655 from inckie/bugfix_filetime
Make vfs::Entry time stamps consistent (as Windows FILETIME)
2017-02-23 16:58:01 -06:00
Ink fe3d31067f * proper FAT timestamp handling 2017-02-23 19:38:29 +03:00
Dr. Chat 76f6aa7c90 Xenos: Add a few bitfield registers to registers.h 2017-02-22 16:17:03 -06:00
tgsm 3dc8065a57 vfs: fix dead link 2017-02-21 22:26:18 -05:00
tgsm cd28fb9a0e vfs: fix typo in StfsContentType enum 2017-02-21 22:25:53 -05:00
Dr. Chat 2acee08590 Base bitfield class 2017-02-19 19:58:58 -06:00
Dr. Chat c08d4e862e PPC Testing: Don't discover . and .. 2017-02-18 00:43:45 -06:00
Dr. Chat f12d795a9f Linting fix 2017-02-17 23:38:21 -06:00
DrChat c62c4fe741 Vulkan: Properly invalidate resolve textures
Trace Writer memory caching
2017-02-17 18:59:08 -06:00
DrChat 070e7bf33d TraceDump: Support capturing Vulkan traces 2017-02-15 01:59:26 -06:00
DrChat 6bbd399cfd Fix queueFlags formatting 2017-02-13 17:13:24 -06:00
DrChat c8e618852b Vulkan Immediate Drawer: Fix uninitialized flags 2017-02-13 14:47:12 -06:00
DrChat 4a99b88650 Vulkan: Fill unused descriptor array elements with a dummy image (required by API) 2017-02-13 14:46:24 -06:00
Dr. Chat 75b34b83a6 Vulkan: Alias all input textures on the same binding 2017-02-13 13:35:53 -06:00
DrChat 60664d86fc Vulkan UI: Fix erroneously signaling image usage semaphore 2017-02-12 21:59:55 -06:00
DrChat c3b9d6acf8 Vulkan UI: Proper transitions for frontbuffer 2017-02-12 21:41:21 -06:00
DrChat 7a9c33fcfe Vulkan: Emit a warning if the physical device is unable to support texture cache requirements 2017-02-12 21:24:38 -06:00
DrChat ba8e315a69 Vulkan UI: Track if debug marker extension is enabled 2017-02-12 19:05:59 -06:00
DrChat 4ee16fd193 Vulkan UI: Fix invalid push constant usage in immediate.frag/vert (and update shaders) 2017-02-12 18:47:53 -06:00
Ink 8a1d72098f * statics initialization order fix 2017-02-12 17:13:42 +03:00
Dr. Chat a636b3cbcf Vulkan Swapchain: Fix a few API usage errors 2017-02-11 22:17:24 -06:00
DrChat 1c48b93ffd Vulkan: Fix misplaced break statements 2017-02-11 21:53:52 -06:00
DrChat 4a2ce960e9 Vulkan UI: More explicitly define order of copy commands vs. render commands 2017-02-11 21:30:16 -06:00
Justin Moore 591e581a70 Merge pull request #663 from resetnow/linux-build-fixes
Linux + clang build fixes
2017-02-11 20:32:33 -06:00
DrChat 6d4b06c08f Use stdout as logfile for tests 2017-02-11 00:15:52 -06:00
DrChat 26456280f1 Travis: print error log on command failure 2017-02-11 00:02:15 -06:00
DrChat d43e2c7ff8 xenia-cpu-ppc-tests is now building on linux 2017-02-10 23:54:10 -06:00
DrChat 11ae05155d Fix casting between XThread and Thread causing pointer misalignment 2017-02-10 23:35:35 -06:00
DrChat 1334656c6a xenia-cpu-ppc-tests: Adjust link order for clang 2017-02-07 18:15:30 -06:00
Vlad Ivanov bb9a26702d gpu: spirv_shader_translator: xb format changes 2017-02-07 21:24:06 +03:00
Vlad Ivanov d6bd1a9d21 gpu: trace_viewer: fix size_t format specifiers 2017-02-07 21:23:51 +03:00
Vlad Ivanov c74b84a18b gpu: spirv_shader_translator: fix a number of missing VertexFormat cases 2017-02-07 20:26:08 +03:00
Vlad Ivanov 091c196fc7 gpu: spirv_shader_translator: add missing cfloat include 2017-02-07 20:26:08 +03:00
Vlad Ivanov f0ba717142 Fix a bunch of missing cmath includes
...as well as missing std:: namespace specifiers
2017-02-07 20:26:08 +03:00
Dr. Chat 4c55039c22 Remove xenia-cpu dependency on xenia-kernel 2017-02-06 21:57:18 -06:00
Dr. Chat b66f10f2b8 Testing travis xenia powerpc testing 2017-02-06 00:40:06 -06:00
Dr. Chat 8947a7626e Linting fixes :) 2017-02-05 22:53:30 -06:00
Dr. Chat 803f0be049 Linux header fixes 2017-02-05 22:45:01 -06:00
Dr. Chat bf7f170825 Fix string_util.h include on linux 2017-02-05 22:01:50 -06:00
Dr. Chat 7fb31462e4 Logger: Use platform-agnostic aligned alloc 2017-02-05 20:39:46 -06:00