kd-11
ab17b49e15
scheduler stuff
...
- more threads for rsx
- better 1600
2018-01-22 11:43:35 +03:00
kd-11
fcd702c8a6
rsx: Texture format fixes
...
- Implement low bit decode override flags for 2-component textures
- Properly implement alot of texture remaps according to the autotest results
rsx: Do not unnecessarily shuffle WZYX->RGBA unless we have proof
- From looking at format swizzles, this is incorrect
2018-01-22 11:43:35 +03:00
kd-11
743928b379
vk/gl: Preserve clamped z precision to some extent
...
- Use edges of depth range to map clamped stuff
Disable range compression on regular draws vs extended range draws
- Some applications require full 0-1 usage without compromises.
-- TODO: This leaves the extended range z values to fight with regular draws in the .99 - 1.0 range
2018-01-22 11:43:35 +03:00
elad
f908daf323
SPU/MFC: check for sync command before doing a list transfer
...
fixes #3828
2018-01-20 03:32:48 +04:00
Zion Nimchuk
49e64b9e82
install icons to /usr/share and load them from there
2018-01-19 12:44:01 +03:00
kd-11
6828fbf658
rsx/texture_cache: Remove hacks; it has been proven that in offsets are in x16 fixed point
2018-01-19 12:03:57 +03:00
kd-11
0a2992839b
rsx/gl/vk: Simulate z clipping with selective depth clamp
...
- The scale offset matrix is fine but on real hardware the z results seem to be independent of near/far clipping distances
-- If depth falls within near/far, clamp depth value to [0,1]
2018-01-19 12:03:57 +03:00
kd-11
1a6e53ec98
overlay: Fixes
...
- Add fallback fonts including attempting to find glyphs in dev_flash
- Fix vulkan hang on startup if icons are not present
2018-01-19 12:03:57 +03:00
kd-11
9ec2337192
rsx: Synchronization improvements
...
- Always flush the primary queue and wait if not involking readback from rsx thread
-- Should fix some instances of device_lost when using WCB
-- Marked remaining case as TODO
-- TODO: optimize amount of time rsx waits for external threads trying to read
2018-01-19 12:03:57 +03:00
kd-11
cbc8bf01a1
cell/scheduler: Manage thread placement depending on cpu hardware
2018-01-19 12:03:57 +03:00
Megamouse
d238791b7d
RSX: properly handle disconnected pads
2018-01-18 21:18:56 +03:00
scribam
fbac1c304a
Improve cellSearch implementation
2018-01-18 18:40:57 +04:00
kd-11
71f69d1d48
rsx/overlays: Introduce 'native' HUD UI and implement some common dialogs ( #4011 )
2018-01-17 19:14:00 +03:00
scribam
34c49c77b2
Fix #3950
2018-01-17 15:17:06 +00:00
Megamouse
7aa1707c2c
Qt/Input: use name_string instead of hard coded strings
...
hopefully prevents any more need for fixups like this lol
+ tend to some warnings for rebase
2018-01-17 13:23:51 +00:00
Megamouse
d6c4d8eec0
Qt/Input: enable XInput configs with disconnected devices
2018-01-17 00:43:08 +04:00
elad
24e97b9e03
SPU: Allow writing to the WrSRR0 channel
2018-01-16 04:34:15 +04:00
elad
5848864f55
SPU: Allow reading of the RdSRR0 channel
...
stupid bug
2018-01-16 04:34:15 +04:00
TGEnigma
28a96f1543
Add option to disable on-disk shader cache ( #4041 )
2018-01-15 19:23:36 +03:00
Nekotekina
435ea8d553
Fix "cellGame: cellGameDataCheck arg validate"
...
Fixes #4058
2018-01-14 22:23:48 +03:00
myfreeweb
15d0bdb7cf
Detect Vulkan Xlib/Wayland surface support at runtime ( #4048 )
...
Detect Vulkan Xlib/Wayland surface support at runtime
2018-01-14 22:16:06 +03:00
Jake
d216398596
cellGame: cellGameDataCheck arg validate
2018-01-14 20:50:55 +03:00
Jake
0477f8ed3c
rsx: add log for potential source of error
2018-01-14 20:50:55 +03:00
Jake
7ca2c444cc
rsx: Fix depth clipping
2018-01-14 20:50:55 +03:00
Jake
c5074ba81f
d3d12: fix invalid framebuffer crash and shader compile
2018-01-14 20:50:55 +03:00
Jake
ac53fc54dc
rsx: fix image_in arg and swizzle fix
2018-01-14 20:50:55 +03:00
Megamouse
2053de0885
handle some warnings
2018-01-13 23:38:23 +04:00
Unknown
155f7a7d76
improve cellPad
...
fix input regression and fix input for FIFA games
fix input in NASCAR [BLUS30932]
fix port status query -> disconnected devices don't cripple following devices by decreased now_connect
2018-01-13 22:48:52 +04:00
Greg V
fbceec47b8
Add support for Vulkan on Wayland
...
The variable VK_USE_PLATFORM_WAYLAND_KHR is actually used by the Vulkan
header, so use it here too.
2018-01-11 12:26:41 +03:00
Unknown
51a2b43d81
Qt/Input: Introduce profiles
2018-01-10 03:17:02 +04:00
Zion Nimchuk
4231ea2eb6
Also stub some similar cellGameUpdate functions
2018-01-09 04:56:06 +04:00
Zion Nimchuk
8ee0ed84e4
Better stub cellGameUpdateCheckStartAsyncEx/FinishAsyncEx, fixes PAIN
2018-01-09 04:56:06 +04:00
TGEnigma
d770a42349
Fix debug build
2018-01-06 04:45:55 +04:00
Nekotekina
83b541ea9d
SPU: rewrite ROTH (AVX-512)
2018-01-03 01:04:04 +03:00
Nekotekina
af3e1fc580
Improve Restart function
...
Don't erase boot args
Should now work correctly with game launchers
2018-01-03 01:04:04 +03:00
Nekotekina
7050575fdb
Add Start Threshold parameter (ALSA)
2018-01-03 01:04:04 +03:00
kd-11
ee009ec99c
rsx: Robustness fixes
...
- Track last working state and reset to it if RSX starts to desync
-- This is especially useful when running vulkan since the renderer will easily outpace the rest of the system when merely recording draw commands
- Ignore empty sets
-- Mark empty/invalid IB sets as having 0 element counts.
2018-01-02 21:17:56 +03:00
Nekotekina
198e9dce1d
Fix #4005 regression
...
Delay unregister EH frames (Linux)
2018-01-01 10:41:07 +03:00
VelocityRa
383c501a35
[gui] Show total number of llvm compilation dialogs
...
- Doesn't account for dynamic libraries loaded after the fact,
but usually good enough since
1) Those aren't even present in some games
2) They usually only have about 1 or 2 fragments (dialogs) each.
2017-12-31 22:08:17 +03:00
VelocityRa
7c64c2f703
MsgDialog: Add SetMsg() for changing main text
2017-12-31 22:08:17 +03:00
lewmpk
d64e79bd9f
fix clang warning: logical-op-parentheses
2017-12-31 22:08:17 +03:00
VelocityRa
489ded43b1
Trophy: Return correct disk space requirements
...
Closes #3763
2017-12-31 22:08:17 +03:00
Nekotekina
d40aaf0391
PPU: use shared jit_compiler instance
...
(Linux) Fix deregisterEHFrames error message
2017-12-31 22:08:17 +03:00
kd-11
1ea5e7404a
rsx: Workaround for nvidia linux
...
- For some reason, using 1.E-x notation does not work on nvidia linux. Could be a bug in spir-v generator or the driver itself
2017-12-31 12:43:40 +03:00
kd-11
55c324e062
rsx: Invalidate surface configuration if stencil state is changed
...
- Stencil state afects validity of a depth/stencil surface same as depth state
2017-12-31 12:43:40 +03:00
kd-11
d496dbecad
rsx: Implement depth clamping
2017-12-31 12:43:40 +03:00
kd-11
4872be9de3
rsx/vk: Synchronize access to queue submit calls
...
- Should prevent concurrent access on the present/graphics queue
2017-12-31 12:43:40 +03:00
kd-11
688569e5c8
gl: Remove flag test optimization as it does not work properly
...
- Most texture cache operations will break sampler state and the extra complexity is not worth the very small speed bump
2017-12-31 12:43:40 +03:00
Nekotekina
78f7020ce6
Warn about corrupted PARAM.SFO
2017-12-29 20:05:06 +03:00
Nekotekina
a92bf39efa
Trophy: check both bdvd and hdd locations
2017-12-29 20:04:40 +03:00
Nekotekina
e836c33f37
cellGame: don't write empty TITLE_IDs in PARAM.SFO
2017-12-29 20:04:10 +03:00
Nekotekina
f271b650da
SPU: minor addition for CFLTU, CUFLT
2017-12-29 03:09:35 +03:00
Nekotekina
14929a1497
Fix game category issues
...
Fix cellGameDataCheckCreate2 PARAM.SFO
Fix trophy initialization for gamedata (game patch)
Implement psf::assign
Potentially fix cellGameSetParamString
2017-12-29 03:09:35 +03:00
Nekotekina
e768bdc80f
Remove /app_home/ dependency
...
Should also fix exitspawn
2017-12-27 02:51:58 +03:00
Nekotekina
a605919729
Fix lv2_socket id_base
2017-12-27 02:51:58 +03:00
Nekotekina
39a3ed2d03
SPU: minor additions for AVX2+
2017-12-27 02:51:58 +03:00
Nekotekina
0a89f1db39
Fix primary stack size
2017-12-25 21:08:15 +03:00
Ofek
3cf0fb60a4
Set lv2_socket id_base ( #3983 )
2017-12-25 15:47:28 +04:00
Megamouse
fc2ef5529d
Fix cellPadSetPortSetting ( #3980 )
...
* Don't skip setting port settings when no controller is connected
* DS4: fix error message
2017-12-24 14:47:36 +00:00
Ofek
a6208d2bd7
Reset initial seek position in MSELF files ( #3977 )
2017-12-23 23:18:55 +04:00
kd-11
8b31a9448a
vulkan: Tweaks to sampler state fallback paths
...
- Make all texture access on non-existent textures return 0
- If border color is closer to 0, then set alpha to 0 as well (might break some corner cases with alpha test)
- Zero initialize null sampler
2017-12-22 20:08:14 +03:00
kd-11
4819847c46
rsx: Modify semaphore_acquire timeout detection
...
- Take paused state into account
- Make timeout configurable
2017-12-22 20:08:14 +03:00
kd-11
d6bc6ec2c1
rsx: fix initial swizzle ordering for render target data
2017-12-22 20:08:14 +03:00
kd-11
320fb5f94c
rsx/fp: Fix alphakill
2017-12-22 20:08:14 +03:00
kd-11
4a0c4259f0
c++ is hard
...
- Remove unnecessary const definitions
2017-12-22 20:08:14 +03:00
Ani
5e04a5f21d
_sys_process_exit: Fix logging ( #3963 )
2017-12-21 19:48:21 +00:00
Unknown
106de04485
Input: Fix connection count
...
and some minor commenting
2017-12-21 18:42:53 +04:00
Unknown
114dd2a723
Input: improve evdev settings dialog / change threshold behaviour
2017-12-21 18:42:53 +04:00
Unknown
6891371a79
Input: improve MMJOY settings dialog / change threshold behaviour
2017-12-21 18:42:53 +04:00
Nekotekina
f24491de84
SPU: fixes
2017-12-20 01:21:59 +03:00
Nekotekina
83da7f9b63
PPU: remove SSSE3 dependency
2017-12-20 01:21:15 +03:00
Nekotekina
1ae8850b3f
PPU: rewrite VMHRADDSHS without SSSE3
2017-12-20 00:04:09 +03:00
Nekotekina
140a581d23
PPU: redesign LVSL, LVSR instructions
2017-12-20 00:04:09 +03:00
Nekotekina
d3198ddf60
SPU: reorder some instructions for better throughput
2017-12-20 00:04:09 +03:00
Nekotekina
6d34dcd75f
SPU: add some AVX-512 variants
2017-12-20 00:04:09 +03:00
Nekotekina
4aee4ed6d7
SPU: remove SSSE3 dependency
2017-12-20 00:04:08 +03:00
Nekotekina
61de20a633
RSX: remove SSSE3 dependency
2017-12-20 00:04:08 +03:00
kd-11
de5dab35e0
rsx: Raise semaphore timeout duration bacause some games are very slow
2017-12-18 10:45:37 +03:00
kd-11
47060cdc5f
rsx/fp: Fix typo
2017-12-18 10:45:37 +03:00
kd-11
7dd349ae8e
Update FragmentProgramDecompiler.cpp
2017-12-18 10:45:37 +03:00
kd-11
4e80858bed
rsx/fp: Hotfix for TEXBEM/TXPBEM
2017-12-18 10:45:37 +03:00
kd-11
e89a035e8b
rsx/fp: Implement TXPBEM
2017-12-18 10:45:37 +03:00
kd-11
f7c52d3bb7
rsx/fp: Implement TEXBEM (untested)
2017-12-18 10:45:37 +03:00
kd-11
6f8dd20f03
rsx/fp: Stuff
...
- Implement BEM
- Add LG2 to special instructions
2017-12-18 10:45:37 +03:00
kd-11
b1a1c0251f
rsx: Implement variable point size
2017-12-18 10:45:37 +03:00
kd-11
0d0821e914
rsx: Pause FIFO queue when changing ctrl registers
2017-12-18 10:45:37 +03:00
kd-11
6891323c18
rsx: framebuffer textures do not have mipmaps!
...
- Force mipmap count to 1 if sampling from an RTV/DSV
- TODO: Better wcb flush detection, it should be better to re-upload the texture after it has been dwnloaded if expected mipmaps are > 1
2017-12-18 10:45:37 +03:00
kd-11
71c8885678
rsx/cfg: Lower the default scaling threshold to 16x16
2017-12-18 10:45:37 +03:00
kd-11
7c7cd4153e
rsx: Framebuffer setup fixes
...
- Sometimes square renders are done to surfaces with pitch=64 and re-uploaded with swizzle scanning
-- This setup avoids discarding targets if they are square and pitch == 64
2017-12-18 10:45:37 +03:00
kd-11
ff0f1510e5
rsx: Minor fixes
...
- Abort nv406e semaphore acquire if the rsx thread stalls/crashes
- Fix texture size approximation to take mipmaps into account. Fixes some games hanging with WCB
2017-12-18 10:45:37 +03:00
kd-11
3338fdb936
rsx: Fix RGB565 blits. Data is byteswapped on input
...
- Fixes messed up BG on retroarch glyphs
2017-12-18 10:45:37 +03:00
kd-11
6dfe32c6d2
fix linux builds
2017-12-18 10:45:37 +03:00
kd-11
95966a467e
rsx: Texture cache fixes
...
- Handle blit resources in a more consistent way
- TODO: Handle some corner cases (piyotama)
2017-12-18 10:45:37 +03:00
kd-11
ac0022483a
rsx: Implement delayed swizzle remap for blit engine resources
...
- Fixes remap vectors for memory copied via blit engine as it has no context
2017-12-18 10:45:37 +03:00
Zion
17bfb3beaf
various memory access violation fixes (and friends) ( #3930 )
...
* various memory access violation fixes
* Another fix, for motorstorm demo
* Better stub cellGameUpdateCheckStartAsync and FinishAsync, Fixes #3934
2017-12-16 04:03:49 +04:00
scribam
6e9b064a0f
Add new functions to cellSysutil
2017-12-11 01:36:22 +04:00
scribam
50f2be57f7
Spaces to tabs
2017-12-10 16:48:33 +04:00
elad335
3aefd14b3d
disasm: display db[x]cyc
2017-12-10 16:19:36 +04:00
Jake
d0013679c0
rsx: fix image_in swizzled texture crash
2017-12-08 15:19:17 +04:00
kd-11
0b3fbf1d4c
rsx: Narrow the race condition window further
...
- Needs aliased paging to be implemented to fix properly or a re-entrant global IO lock
2017-12-06 12:55:49 +03:00