Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård d54e0b3231 Fix longstanding depth/stencil view issue in Vulkan. Cleans up validation.
We didn't specify DEPTH|STENCIL as aspects for views we rendered to,
only DEPTH. Who knows how many of the driver bugs we "found" are this.

DEPTH|STENCIL views can't be sampled though, so we create a separate
DEPTH view for that. This keeps Katamari working.
2020-08-27 21:23:41 +02:00
Henrik Rydgård b323397c54 Vulkan: Minor fix for depth/stencil pretransitions. Used DEPTH_ATTACHMENT_OPTIMAL by mistake in barrier. 2020-08-27 16:46:14 +02:00
Henrik Rydgård de4778358e AspectMask fix 2020-08-27 16:39:15 +02:00
Henrik Rydgård 3be729bfc5 Vulkan: Silly typo fix in barrier 2020-08-27 14:46:02 +02:00
Henrik Rydgård 6ef5c3e375 Merge pull request #13337 from unknownbrackets/sigaltstack
Exception: Don't trust sigaltstack()
2020-08-27 08:13:18 +02:00
Unknown W. Brackets 90344fdee5 Exception: Don't trust sigaltstack().
Let's just track our allocation separately and free it, always.
2020-08-26 21:44:38 -07:00
Henrik Rydgård b652f62d19 SavedataParam: Be careful with const char* to string. Might help #13187 2020-08-26 22:17:42 +02:00
Henrik Rydgård 3574a352df Update lang submodule 2020-08-25 12:19:01 +02:00
Henrik Rydgård 13552550bc Merge pull request #13330 from unknownbrackets/gpu-clear
TexCache: Force recreate texture on detach
2020-08-24 07:24:04 +02:00
Henrik Rydgård f7283ee993 Merge pull request #13331 from unknownbrackets/debugger
http: Avoid logging errors for would block
2020-08-24 07:18:07 +02:00
Unknown W. Brackets c98d96c78f http: Avoid logging errors for would block.
It's not an error, this case is expected.
2020-08-23 21:32:06 -07:00
Unknown W. Brackets f44717c4f5 TexCache: Force recreate texture on detach.
We could have multiple detaches, and we delete the texture on attach, so
we really must make sure we recreate.

Fixes #13320.
2020-08-23 21:29:53 -07:00
Henrik Rydgård a8059d53f9 Merge pull request #13322 from hrydgard/refactor-framebuffer-attach
Framebuffer manager refactor step 1: Split ApplyFramebuffer into Match and Apply steps.
2020-08-24 00:29:46 +02:00
Henrik Rydgård 055588c1a1 Framebuffer manager refactor step 1: Split ApplyFramebuffer into Match and Apply steps.
This should have no change in behavior, but prepares the ground for the
next steps. Want this merged separately.
2020-08-24 00:01:02 +02:00
Henrik Rydgård edb1d5e612 Merge pull request #13329 from hrydgard/texture-depth-color-matching
Framebuffer matching: Don't try to match depth buffers with color if the swizzle bits don't indicate it
2020-08-23 22:51:56 +02:00
Henrik Rydgård 35c5308c30 Framebuffer matching: Don't try to match depth buffers with color if the swizzle bits don't indicate it.
Fixes God of War issue reported in a comment of #13317.
2020-08-23 22:11:18 +02:00
Henrik Rydgård 6d117fb533 Merge pull request #13327 from unknownbrackets/gpu-clear
Fix clear detection mistake
2020-08-23 19:30:30 +02:00
Unknown W. Brackets 3b11b09621 Debugger: Check for no texture before debug bind.
This means a framebuffer texture that is somehow not attached, but better
to avoid the crash.
2020-08-23 08:24:46 -07:00
Unknown W. Brackets 5ade93a091 GPU: Properly detect clears.
The check was reversed before, oops.  Detected masked draws.

Must've gotten this backwards debugging Mana Khemia.
2020-08-23 08:23:39 -07:00
ANR2ME 051bbb6e14 Added 1 new NID of OpenPSID Service, also added Init & Shutdown function 2020-08-22 19:47:33 +07:00
Henrik Rydgård d465ce5123 Quick Vulkan crashfix 2020-08-22 10:50:39 +02:00
Henrik Rydgård bf18817fe4 Merge pull request #13319 from hrydgard/state-cleanup-cleanup
State cleanup cleanup
2020-08-22 08:31:07 +02:00
Henrik Rydgård 26ba65f385 Some minor logging improvements that get to tag along the previous commit 2020-08-22 00:32:51 +02:00
Henrik Rydgård 506a86300d More explicit invalidation of any cached state in Thin3D. Fixes #13307 2020-08-22 00:30:29 +02:00
Henrik Rydgård e8779fdc88 Merge pull request #13314 from unknownbrackets/warnings
GPU: Fix some case warnings
2020-08-20 09:03:57 +02:00
Henrik Rydgård dec8d2ca1d Merge pull request #13315 from unknownbrackets/ui-chat
UI: Use standard text wrapping for chat messages
2020-08-20 09:03:18 +02:00
Unknown W. Brackets 3c5d82d30e UI: Use standard text wrapping for chat messages.
This way they will actually wrap in a width-aware way, regardless of
screen size.  They should also better take into account non-Unicode.
2020-08-19 21:58:11 -07:00
Unknown W. Brackets aa14fef19d UI: Allow text to use native fonts.
Yes, it changes, but we want to show characters outside our atlas.  It's
not just ASCII.
2020-08-19 21:38:46 -07:00
Unknown W. Brackets 631924f3e0 UI: Split chat lines using Unicode. 2020-08-19 21:35:31 -07:00
Unknown W. Brackets 3055deeba6 GPU: Fix some case warnings.
Better to avoid the warnings.
2020-08-19 21:18:44 -07:00
Unknown W. Brackets d7fa5928d4 Kernel: Avoid two different Heap structs. 2020-08-19 20:56:05 -07:00
Unknown W. Brackets a60759cca3 Merge pull request #13309 from ANR2ME/initlocalhostip
Avoid using getaddrinfo during initialization
2020-08-19 02:08:32 -04:00
ANR2ME 0298f59fd5 Avoid using getaddrinfo during initialization as it could blocked the thread if there is no network 2020-08-19 12:33:20 +07:00
Henrik Rydgård 0752e7d158 Merge pull request #13302 from unknownbrackets/net-local
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Henrik Rydgård 2a9f4ac763 Merge pull request #13306 from unknownbrackets/warnings
Audiocodec: Fix warning on older clang
2020-08-18 19:01:51 +02:00
Unknown W. Brackets 1e2a904fb7 Audiocodec: Fix warning on older clang. 2020-08-18 07:21:11 -07:00
Unknown W. Brackets 31830dd4df native: Minor header cleanup. 2020-08-18 06:59:49 -07:00
Unknown W. Brackets b0ca635414 Windows: Show instance counter only with peers. 2020-08-18 06:59:49 -07:00
Unknown W. Brackets 09a3d1f7cb Net: Use locking consistently for instance counter. 2020-08-18 06:59:49 -07:00
Henrik Rydgård 60801e066f Improve JPEG file detection (mainly for background image use) 2020-08-18 15:31:16 +02:00
sum b4efca9480 Merge pull request #13305 from sum2012/kernel_minor2
Small mistake in sceKernelExitDeleteThread
2020-08-18 21:23:48 +08:00
sum2012 3f6c80fb07 Small mistake in sceKernelExitDeleteThread
oop
2020-08-18 21:22:12 +08:00
Henrik Rydgård 8c859ef0f8 Merge pull request #13304 from sum2012/kernel_minor
Add a check in sceKernelExitDeleteThread
2020-08-18 15:15:28 +02:00
sum2012 80283d3230 Add a check in sceKernelExitDeleteThread 2020-08-18 21:03:45 +08:00
Henrik Rydgård d8334ba66f Merge pull request #13301 from hrydgard/more-gl-state-leaks
More GL state leak fixing
2020-08-18 12:58:13 +02:00
Henrik Rydgård 06a528927e GL: Re-enable mipmaps for thin3d textures. 2020-08-18 12:57:43 +02:00
Unknown W. Brackets 495996e58b Windows: Make the instance counter go by 1, 2, 3. 2020-08-18 00:47:22 -07:00
Unknown W. Brackets 817dd33737 Merge pull request #13294 from hrydgard/software-side-clip
Software renderer clipper: Don't clip on the sides.
2020-08-18 03:31:01 -04:00
Henrik Rydgård 06ab2159e9 Windows: Auto-enable GL validation (debug messages) in debug builds 2020-08-18 09:18:50 +02:00
Henrik Rydgård 5313fc5b36 More work on GL state leaks. Some things really need a redesign. 2020-08-18 09:18:24 +02:00