Commit Graph
45601 Commits
Author SHA1 Message Date
Unknown W. Brackets cee8bfd5cf riscv: Avoid a jit warning.
We'll end up doing the same as arm64, most likely.
2023-01-01 10:28:54 -08:00
Unknown W. Brackets 87aa4e127c Build: Update to glslang v11.13.0, use upstream.
This switches the submodule origin.
2023-01-01 10:28:53 -08:00
Unknown W. Brackets 77849d3eed riscv: Add disassembler.
From https://github.com/anthony-coulter/riscv-disassembler.
Modified slightly to pull in less headers in the h, prefix funcs.
2023-01-01 10:28:53 -08:00
Henrik Rydgård a4d3e0ead8 Add range checks in replaced memcpy/memset functions. (#16693)
* Add range checks in replaced memcpy/memset functions.

Keep seeing especially Replace_memcpy as a semi-rare crash in the
reports. Hopefully this will take care of it, though if games hit this,
they're probably on their way to failing somehow anyway.

* Alternate approach, correctly causing memory exceptions if not ignoring
2023-01-01 18:25:40 +00:00
Unknown W. Brackets 7ed238a0b7 Font: Avoid late load on save state.
If they weren't loaded yet, we can stay that way.
2023-01-01 10:25:05 -08:00
Unknown W. Brackets 3ce2c4b380 Vulkan: Update headers to 1.3.236. 2023-01-01 10:21:17 -08:00
Unknown W. Brackets 9434df1968 Build: Update to SPIRV-Cross sdk-1.3.236.0. 2023-01-01 10:21:16 -08:00
Henrik Rydgård 5a71db8808 Merge pull request #16692 from unknownbrackets/osk-confirm-btn
Dialog: Fix confirm/cancel button reversal
2023-01-01 18:51:45 +01:00
Unknown W. Brackets 87172f9dd5 Dialog: Fix confirm/cancel button reversal. 2023-01-01 09:34:13 -08:00
Unknown W. Brackets dadde7a5b7 Merge pull request #16691 from hrydgard/more-minor-fixes
Change a couple of Crash() to _assert_/_assert_msg_
2023-01-01 09:20:01 -08:00
Henrik Rydgård f7df69f50c Change a Crash() to an _assert_msg_ 2023-01-01 17:23:24 +01:00
Henrik Rydgård 71aa4c318d Merge pull request #16690 from unknownbrackets/softgpu-init
softgpu: Detect binner alloc fail and bail
2023-01-01 16:53:58 +01:00
Henrik Rydgård 1353817afa Merge pull request #16689 from unknownbrackets/vk-shutdown
Vulkan: Avoid race in compile thread exit
2023-01-01 15:59:55 +01:00
Unknown W. Brackets be84bc9934 softgpu: Detect binner alloc fail and bail. 2023-01-01 06:59:14 -08:00
Unknown W. Brackets 6c79d94814 Vulkan: Avoid race in compile thread exit. 2023-01-01 06:40:26 -08:00
Henrik Rydgård 40386bca08 Merge pull request #16688 from unknownbrackets/debugger
Debugger: Correct check of pending list item
2022-12-31 19:39:28 +01:00
Unknown W. Brackets bfc659ab5f Debugger: Correct check of pending list item.
Since updating is async now, setting the check state should be too.
2022-12-31 09:58:24 -08:00
Henrik Rydgård 6faed721ad Merge pull request #16678 from unknownbrackets/breakpoint-errors
Debugger: Correct errors in breakpoint create
2022-12-31 18:15:45 +01:00
Henrik Rydgård 71deec1d02 Merge pull request #16685 from unknownbrackets/replace-crash
Replacement: Verify out stride
2022-12-31 16:11:47 +01:00
Unknown W. Brackets 152c82e6d0 Replacement: Verify out stride. 2022-12-31 06:31:45 -08:00
Henrik Rydgård fd5a27f985 Some more paranoia. Name the EmuThread on Android, just because. 2022-12-31 15:18:14 +01:00
Henrik Rydgård caa5e67396 Merge pull request #16683 from hrydgard/minor-fixes
Assorted fixes after looking at crash data
2022-12-31 12:41:51 +01:00
Henrik Rydgård 9ceffa284d Vulkan: Add robustness against bad shader module compiles 2022-12-31 12:21:53 +01:00
Henrik Rydgård d2feb444b7 Bunch of defensive programming around shaders 2022-12-31 12:21:51 +01:00
Henrik Rydgård ebaef49516 NativeShutdownGraphics: Check screenManager for nullptr. 2022-12-31 11:53:16 +01:00
Henrik Rydgård 25cf61f8c7 Merge pull request #16680 from unknownbrackets/zip-thread
Make sure we don't multithread libzip access
2022-12-31 08:37:30 +01:00
Henrik Rydgård 360ef22b2d Merge pull request #16681 from unknownbrackets/mic-safety
Cleanup some mic data reading
2022-12-31 08:35:26 +01:00
Unknown W. Brackets ff3e70be2f UsbMic: Fix copy on resize shrink. 2022-12-30 21:31:33 -08:00
Unknown W. Brackets 1a85370c0a UsbMic: Avoid some temp buffers, check range. 2022-12-30 21:29:26 -08:00
Unknown W. Brackets 48504ffcc9 VFS: Use a lock for zip asset reading.
We can't read multiple at once.
2022-12-30 20:34:52 -08:00
Unknown W. Brackets b1f0c44e8a Replacement: Lock libzip file access.
We can't have two threads seeking on the same fd at the same time.
2022-12-30 20:25:58 -08:00
Unknown W. Brackets 94a7a32234 Debugger: Correct errors in breakpoint create. 2022-12-30 15:07:02 -08:00
Henrik Rydgård f069de2dd2 Pass the vertex decoder into the vertex shader IDs generator
Instead of just the vertex type.

This will allow things like the vertex decoder supplying defaults, in
order to reduce the number of unique vertex shaders at the cost of
slightly larger vertex data.

This doesn't actually do that yet though, it's just a refactor that can
be done separately.

Part of #16567
2022-12-30 22:57:05 +01:00
Henrik Rydgård ba2fab5b22 Merge pull request #16677 from unknownbrackets/d3d11-pause
D3D11: Fix Draw state issues on pause screen
2022-12-30 21:51:55 +01:00
Unknown W. Brackets fdf5fefa91 GPU: Normalize CopyDisplayToOutput across backends. 2022-12-30 12:33:02 -08:00
Unknown W. Brackets 492cf3f123 D3D11: Fix Draw state issues on pause screen. 2022-12-30 12:27:49 -08:00
Henrik Rydgård 492c0b4ab3 Update version number v1.14.2 2022-12-30 13:37:04 +01:00
Henrik Rydgård 545c2a0e25 Update README.md for 1.14.2 2022-12-30 13:17:25 +01:00
Henrik Rydgård f0148e39d1 Merge pull request #16673 from hrydgard/bluescreen-fix
Show bluescreen properly on memory errors that we failed to ignore.
2022-12-30 13:03:47 +01:00
Henrik Rydgård 97fadbcecb Show bluescreen properly on memory errors that we failed to ignore.
Previously we just wouldn't draw it but still would be in the error
state.
2022-12-30 12:29:23 +01:00
Henrik Rydgård 5708dd98b3 Merge pull request #16671 from hrydgard/larger-alt-stack-size
Add some extra room to the alt stack for exception handlers.
2022-12-30 12:06:30 +01:00
Henrik Rydgård cee71cbfc3 Add some extra room to the alt stack for exception handlers.
Motivated by some crashes seen in Google Play reports.
2022-12-30 11:25:45 +01:00
Unknown W. Brackets 47e85cd2bf Merge pull request #16670 from hrydgard/memory-leak-fix
DrawContext destructor: Need to call DestroyPresets earlier.
2022-12-29 12:22:41 -08:00
Henrik Rydgård d83f84fdfd DrawContext destructor: Need to call DestroyPresets earlier. 2022-12-29 17:32:49 +01:00
Henrik Rydgård bd2a0c99bb Merge pull request #16644 from hrydgard/additional-android-cleanup
Additional Android cleanup
2022-12-29 17:05:58 +01:00
Henrik Rydgård 10c0b3f2ae Comment improvements 2022-12-29 00:39:59 +01:00
Henrik Rydgård 67cba831dd Slightly more useful assert message in Hashmaps.h 2022-12-29 00:39:59 +01:00
Henrik Rydgård 708162a2b0 Vulkan validation layers: Cap outputting the same message at 10 times. 2022-12-29 00:39:59 +01:00
Henrik Rydgård 463d703feb More assorted cleanup 2022-12-29 00:39:59 +01:00
Henrik Rydgård 6927c44fba Remove unused functions, log and comment fixes 2022-12-29 00:39:59 +01:00