Commit Graph

  • 8eb59271a5 Improve error checking of cellVdecOpen eladash 2019-03-11 21:31:45 +02:00
  • d6025c6764 Fix cellPadGetInfo port status returned eladash 2019-03-11 15:34:37 +02:00
  • 47ca1b1dda Minor optimizations in cellPad eladash 2019-03-11 09:30:00 +02:00
  • 6502d933df Fix stack memory view on the debugger eladash 2019-03-11 08:25:37 +02:00
  • f15eb88f59 hle: Fix cellSysutilAvcExt module scribam 2019-03-24 20:59:18 +01:00
  • 1916cc1691 hle: Add cellSysmoduleUnloadModuleInternal and cellSysmoduleLoadModuleInternal functions scribam 2019-03-30 00:28:24 +01:00
  • f369aeab7a hle: Add FT_Get_X11_Font_Format function scribam 2019-03-29 23:21:17 +01:00
  • 0e9313d2df hle: Add cellFontInitLibraryFreeType function scribam 2019-03-29 22:46:57 +01:00
  • d873802b9c Use LLVM 9 Nekotekina 2019-03-29 16:35:00 +03:00
  • 7e0b941e9f PPU LLVM: implement get_vrs<>() adaptor Nekotekina 2019-03-30 01:14:52 +03:00
  • d77fed6105 SPU LLVM: remove wrong dead code Nekotekina 2019-03-28 18:22:24 +03:00
  • a254a203bb hle: Add libad_async and libad_core modules scribam 2019-03-25 20:32:03 +01:00
  • 71b88cdc82 New SPU interpreter (SPU fast) Nekotekina 2019-03-25 21:31:16 +03:00
  • a9eb321814 hle: Add sceNpEulaAbort function scribam 2019-03-26 19:04:43 +01:00
  • 956d039415 hle: Add cellVideoPlayerUtility module scribam 2019-03-24 16:04:22 +01:00
  • 581b205f73 hle: Add cellPesmUtility module scribam 2019-03-24 14:09:08 +01:00
  • 6c40b9f3e0 hle: Add cellDtcpIpUtility module scribam 2019-03-24 09:29:49 +01:00
  • d6bf18eabc hle: Add some sceNpMatchingInt functions scribam 2019-03-24 09:54:44 +01:00
  • 32ae7e466c hle: Add cellNetAoi module scribam 2019-03-23 23:09:41 +01:00
  • 7ea04d5d76 Minor optimization in SPU analyser Nekotekina 2019-03-22 04:19:33 +03:00
  • 4b381fbbb1 Implement spu_runtime::reset Nekotekina 2019-03-18 23:01:16 +03:00
  • 1880a17f79 SPU recs: implement spu_runtime::find Nekotekina 2019-03-18 19:40:51 +03:00
  • 31304f4234 SPU rec: refactor some trampoline generation Nekotekina 2019-03-18 19:36:08 +03:00
  • 3794f65bb6 Add cpu_flag::jit_return Nekotekina 2019-03-18 19:33:59 +03:00
  • 849411693a PPU LLVM: add MemoryManager3 Nekotekina 2019-03-18 19:24:55 +03:00
  • 466d58ccef SPU LLVM: fix branch patchpoints Nekotekina 2019-03-18 19:22:47 +03:00
  • 41b87cf577 rsx: Blit engine fixes - If a transfer writes to a RTT and depth mismatch happens, create a local target and the upload function will likely resolve between the two - If a surface is rejected, reset the target region! kd-11 2019-03-22 14:10:29 +03:00
  • 86ad204636 rsx: Rebase output region when using upload-fallback path kd-11 2019-03-21 20:22:03 +03:00
  • dbc8e70ddd rsx: Silence some compiler noise kd-11 2019-03-21 12:48:20 +03:00
  • 3a4e3fa53a rsx: Fix use-after-modify condition when inserting a draw command out of order - Fixes barrier->range rebase after the insert kd-11 2019-03-21 12:48:00 +03:00
  • d731c07ade vk: Fix typeless resource management - Fixes bugs that appear with high resolution scaling kd-11 2019-03-21 10:55:16 +03:00
  • adc59f9810 rsx: Fix blit transfers when texel sizes mismatch - Also refactors some bpp handling code - Simplify texture intersection test to use a normalized/uniform coordinate space - Fix broken bounds checking as well kd-11 2019-03-21 01:55:30 +03:00
  • b879b32271 rsx: Fix bpp calculation taking resolution scaling into account - Do not rely on image->width(), use surface_width() instead for unscaled values - Refactor/clean GL rendertarget class a bit kd-11 2019-03-19 23:46:21 +03:00
  • 03fca73cf4 rsx: Fix blit intersection falling outside the available texture - Just becaue we have a hit inside the tile of interest does not guarantee that it sits inside the texture! kd-11 2019-03-19 11:30:39 +03:00
  • 1a13d3ae4e OpenBSD doesn't have mcontext_t Jan Beich 2019-03-19 00:02:21 +00:00
  • 1f845a3634 Don't try to build libusb on FreeBSD Jan Beich 2019-03-18 22:45:44 +00:00
  • 3eb2bcad39 Update DualShock 3 warning Matias Morán 2019-03-18 15:45:33 -03:00
  • 63bbe459ea DS3 pad handler RipleyTom 2019-02-02 15:15:09 +01:00
  • f2aaad11bb Adds libusb RipleyTom 2019-02-02 14:48:21 +01:00
  • 3ef16bee47 rsx: Fix texture lookups and avoid out-of-bounds copies/transfers kd-11 2019-03-16 14:31:39 +03:00
  • bb65e45614 rsx: Implement GPU acceleration for rotated images kd-11 2019-03-16 13:58:15 +03:00
  • 5260f4b47d rsx: Improvements to memory flush mechanism - Batch dma transfers whenever possible and do them in one go - vk: Always ensure that queued dma transfers are visible to the GPU before they are needed by the host Requires a little refactoring to allow proper communication of the commandbuffer state - vk: Code cleanup, the simplified mechanism makes it so that its not necessary to pass tons of args to methods - vk: Fixup - do not forcefully do dma transfers on sections in an invalidation zone! They may have been speculated correctly already kd-11 2019-03-16 12:14:11 +03:00
  • 385485204b vk/gl: Omit unlocked data when grabbing flip sources from texture cache kd-11 2019-03-15 18:25:25 +03:00
  • 74eeacd091 vk/gl: Improve memory tag sync and test - Properly pass parameters such as rsx-pitch to the surface store - Do not crash if a surface fails verification in flip, use fall-back instead kd-11 2019-03-15 18:00:12 +03:00
  • 1a44446250 rsx: Fix dst upload block region - The section needed starts at image origin, not transfer origin! kd-11 2019-03-15 15:22:22 +03:00
  • a49a0f2a86 vk/gl: Synchronization improvements - Properly wait for the buffer transfer operation to finish before map/readback! - Change vkFence to vkEvent which works more like a GL fence which is what is needed. - Implement supporting methods and functions - Do not destroy fence by immediately waiting after copying to dma buffer kd-11 2019-03-14 15:27:50 +03:00
  • 85cb703633 rsx/cache: Debugging bugs introduced by the atlas coverage check - Figured out why it breaks things, ofc can't actually check for coverage when there is no proper fbo data persistence kd-11 2019-03-13 15:38:58 +03:00
  • 3a4083263e rsx: Fix texture transfer when pitch does not match exactly kd-11 2019-03-11 23:22:04 +03:00
  • 612160a8ff rsx: Fix zero-pitch textures - Assumption here is that only texel (0, 0) is accessible. Inline with other pitch 0 operations. - TODO: Verify pitch 0 does not advance in Y either kd-11 2019-03-11 23:18:22 +03:00
  • 17c49d21a5 rsx/blit: Remove workarounds/hacks added for master. Start implementation/stubs for blit engine rotations in GPU kd-11 2019-03-11 20:34:34 +03:00
  • 745f8f9627 rsx: Remove pointless assert kd-11 2019-03-11 20:18:54 +03:00
  • e9b6beadfc SPU LLVM: implement static branch weights Nekotekina 2019-03-13 20:57:42 +03:00
  • 388d49db80 SPU LLVM: fix SPU MMIO in TSX mode Nekotekina 2019-03-13 20:52:34 +03:00
  • 980c3d6fe8 Fix lf_queue destructor RipleyTom 2019-03-13 12:52:02 +01:00
  • 3b01e59cd4 InstallPup: Fix exception on newline trim Ani 2019-03-13 00:13:09 +00:00
  • a08cd0fe38 Update asmjit Nekotekina 2019-03-13 01:56:43 +03:00
  • 8623899499 Update 3rdparty/libpng Nekotekina 2019-03-13 01:34:55 +03:00
  • 6d4c9f2d41 Update 3rdparty/yaml-cpp Nekotekina 2019-03-13 01:33:23 +03:00
  • 30636f0199 Update 3rdparty/xxHash Nekotekina 2019-03-13 01:32:00 +03:00
  • 0aa9243557 Update 3rdparty/pugixml Nekotekina 2019-03-13 01:29:31 +03:00
  • eae5b9e049 Rewrite mulh64/umulh64 Nekotekina 2019-03-13 00:06:12 +03:00
  • 688aabc6c9 Add _sys_lwmutex_unlock2 syscall name Nekotekina 2019-03-12 23:55:06 +03:00
  • 4a28319edf Implement SPU page faults notifications eladash 2019-02-17 17:53:38 +02:00
  • 1875dc3f18 gl: Fix buffer size calculations kd-11 2019-03-08 11:27:33 +03:00
  • 358558aaa7 cleanup and fixups kd-11 2019-03-07 18:17:00 +03:00
  • 04dda44225 rsx: Properly generate render target data with all parameters provided - Build-up to variable-sized framebuffers and AA implementation - Also allows accurate range calculation for our hit testing kd-11 2019-03-05 17:52:17 +03:00
  • 21bc6c7a87 rsx: Properly resolve data for upload when needed. - Avoids blindly reusing blit dst sections as they may contain garbage. If a section was unlocked for a flush, just discard it as its reuse introduces potential data corruption. Since the data needs to be reuploaded anyway (for now), its better to start afresh - In case of format mismatch, reset the calculated dst block - Add a bounds check to determine if data contained in an atlas is good enough for sampling the cache. If not enough data is provided, fall back to full upload kd-11 2019-03-04 21:22:45 +03:00
  • 9d4d3d9443 rsx: Reimplement render target intersection tests when using hw accelerated blit engine - Properly collapse memory tree when scanning in case of overlaps! kd-11 2019-03-04 14:24:15 +03:00
  • f4ebcb0029 rsx: Properly decode packed renders from the type flag - Seems to occupy bits [8-9] kd-11 2019-03-03 15:47:17 +03:00
  • 7c379432dd rsx: Implement proper pitch compatibility lookup - When a single row is required or is all that is available, pitch has no meaning as the coordinate space changed to 1D kd-11 2019-03-02 17:40:16 +03:00
  • dccb4a4888 rsx/texture_cache: fixes to commit_framebuffer_memory kd-11 2019-03-02 15:14:22 +03:00
  • b9e7b085fe rsx/texture_cache: Fixups for local resource hit and fast-path added kd-11 2019-02-28 13:42:51 +03:00
  • a80f1a6ed4 gl: Fix memory tag sampling - Also fixes a bad arg passed to glClearBuffer kd-11 2019-02-28 13:29:53 +03:00
  • 0395fb9955 rsx/tecture_cache: Addendum - fix data cast with scaling conversion (AA emulation) - Blit operations do format conversion automatically which is NOT what we want! - Scale onto temp buffer with similar format before performing data cast. kd-11 2019-02-27 21:28:49 +03:00
  • 10dc3dadee rsx/texture_cache: Improve framebuffer memory locking when WCB/WDB is not enabled - Adds a new mode that removes non-framebuffer stuff inside framebuffer range kd-11 2019-02-27 21:26:22 +03:00
  • 563e205a72 rsx/texture_cache: Fix 'AA' scaling hack and restore collection template selection kd-11 2019-02-26 13:31:32 +03:00
  • fa628f0ac4 rsx/surface_store: More aggressive tag sampling - Use a 5-point tap with an X pattern across the target's memory space to reduce chances of false positives - TODO: Potential false positives identified, requires some minor restructuring of surface_store kd-11 2019-02-25 22:30:20 +03:00
  • 3a071a9c07 rsx: Texture search rewrite - Perform a full search across all resource types as needed without taking too many shortcuts/hacks kd-11 2019-02-25 18:03:14 +03:00
  • 6ef9dcd62e rsx: Handle mismatched/invalidated framebuffer sections when WCB is enabled kd-11 2019-02-03 00:36:07 +03:00
  • ef071ebb6b rsx: Synchronize surface cache and texture cache data - TODO: The whole upload_texture thing is a big hack, fix it properly kd-11 2019-02-02 22:44:18 +03:00
  • a43e7c172c Fix shared memory page flags eladash 2019-03-08 11:21:02 +02:00
  • 7470388e5a Use error_code in sys_rsx eladash 2019-03-08 10:08:30 +02:00
  • 26bcd0a4de Small improvements to sys_event_flag eladash 2019-03-05 18:41:49 +02:00
  • bd259c8ae4 vulkan zcull: Fix deadlock in zcull flush waiting elad 2019-03-02 16:55:17 +02:00
  • fc253165e2 Correctness fix for RSXIOMem elad 2019-03-02 13:35:07 +02:00
  • b7da3ea5cd Release ppu thread before ShowSaveDataDialog, Fixes #4031 elad 2019-03-02 11:14:33 +02:00
  • ce8c92262d Treat X8R8G8B8 format as A8R8G8B8 in image_in, Fixes #5510 elad 2019-03-02 10:27:08 +02:00
  • f272a5f779 sys_lwmutex fixup after #5680 elad 2019-03-02 08:13:46 +02:00
  • 61bd2ea799 Adds VID/PID for Guitar Hero guitar & drum RipleyTom 2019-02-28 02:38:03 +01:00
  • 3c9f03968c Yield before flushing io buffers in fsync (sys_fs) (#5506) elad 2019-03-08 18:07:14 +02:00
  • 4ea76def7c Update sys_lwmutex_lock and sys_lwmutex_unlock (liblv2 HLE) Nekotekina 2019-03-06 15:09:50 +03:00
  • 986c750fdc VFS: fix sys_fs_opendir on root Nekotekina 2019-03-05 21:47:28 +03:00
  • efe067bfa0 LLVM: handle cascadelake CPU name Nekotekina 2019-03-05 21:46:58 +03:00
  • e38b7aee5a check address in sys_rsx_context_iomap eladash 2019-02-21 13:14:00 +02:00
  • d82362fa1d Use sys_memory_allocate on rsx replayer to fix it eladash 2019-02-21 12:39:47 +02:00
  • ebb24375d1 LLVM: handle icelake-client and icelake-server CPU names Nekotekina 2019-03-01 00:20:04 +03:00
  • fb64b28886 SPU LLVM: reintroduce branch patchpoints Nekotekina 2019-02-28 01:08:18 +03:00
  • 7f6a410770 Add dummy __has_builtin macro, use rotate builtins if possible Nekotekina 2019-02-27 23:10:40 +03:00
  • 765d15f23f Optimize SPU trampolines Nekotekina 2019-02-27 23:09:09 +03:00
  • f143035af1 Fix sys_spu_thread_group_join wait condition Nekotekina 2019-02-10 18:22:48 +03:00