Commit Graph
31684 Commits
Author SHA1 Message Date
Henrik Rydgård 6446008a25 Merge pull request #15356 from stuken/libretro_2xbrz_option
Expose 2xBRZ texture filter option for libretro.
2022-01-27 09:38:08 +01:00
Henrik Rydgård 5634d9baf1 Merge pull request #15354 from unknownbrackets/tests-minor
Kernel: Fail threads with invalid priority
2022-01-27 09:33:42 +01:00
Stuart Kenny 1a3fed4344 Expose 2xBRZ texture filter option. 2022-01-27 08:27:04 +00:00
Unknown W. Brackets 9d1be08473 Kernel: Fail threads with invalid priority.
No real reports so far except what looks like garbage data, which
probably crashes anyway.
2022-01-27 00:02:18 -08:00
Unknown W. Brackets 49a17e9ab8 Merge pull request #15349 from hrydgard/list-hdr-formats
Vulkan: Add support for listing all the available surface formats in system info.
2022-01-26 06:48:55 -08:00
Henrik Rydgård 1bc60f6003 UWP buildfix 2022-01-26 14:33:09 +01:00
Henrik Rydgård 30756acf9d Quick hack attempt around build failures 2022-01-26 13:28:59 +01:00
Henrik Rydgård c955ea942a Merge pull request #15351 from unknownbrackets/tests-minor
Correct an Rtc test and a savedata test
2022-01-26 10:08:23 +01:00
Unknown W. Brackets 9e688eaa7c Rtc: Fix day of week stack bounds issue.
Also, add a couple other tests showing as passing now.
2022-01-26 00:43:05 -08:00
Unknown W. Brackets e75d2a097b Savedata: Fix indeterminate timing of field update.
This makes the test pass consistently, instead of depending on thread
timing.
2022-01-26 00:31:30 -08:00
Henrik Rydgård 54053b6b8b Merge pull request #15347 from unknownbrackets/samplerjit-opt
Improve samplerjit code a bit with mipmaps
2022-01-26 09:19:06 +01:00
Henrik Rydgård 678cc2c940 Merge pull request #15350 from unknownbrackets/softgpu-fixes
Fix a few broken tests in software renderer
2022-01-26 09:18:01 +01:00
Unknown W. Brackets f1254b1976 Ge: Fix sceGeBreak error case.
Seems to be some compiler optimization.
2022-01-25 19:50:35 -08:00
Unknown W. Brackets e82b54e4b6 softgpu: Cull no-pos and through s8 pos verts.
Seems like these just don't draw anything, ever.
2022-01-25 19:29:11 -08:00
Unknown W. Brackets 61e30e8f8b softgpu: Fix cull in throughmode.
Was only an issue for triangles used to draw rectangles, but caused our
test to fail.

Also move a test that was failing due to an outdated prx to passing.
2022-01-25 19:07:33 -08:00
Henrik Rydgård 8dc8fae16d Vulkan: Add support for listing all the available surface formats in system info.
Enabling the EXT_swapchain_colorspace extension lets the driver expose
all the formats it really supports.

Used this to discover that my Galaxy S21 supports Display-P3 which is a wider
gamut than sRGB. Might be able to do some color boosting mode for fun.

Or, use this stuff to play around with HDR?
2022-01-25 19:22:49 +01:00
Unknown W. Brackets 99d6d569f0 samplerjit: Reduce transfers in nearest texel calc.
This benefits a few games, mostly where there's lots of UI or similar.
2022-01-24 21:28:04 -08:00
Unknown W. Brackets c1e657ed47 samplerjit: Better vectorize UV linear calc.
Gives about 1-2% when mips are used.
2022-01-24 20:42:07 -08:00
Unknown W. Brackets 733046962f samplerjit: Reuse XMM reg for sizes.
Gives just under 1% overall improvement in games using mips.
2022-01-24 19:01:23 -08:00
Henrik Rydgård 0e2f5d66b6 Merge pull request #15345 from unknownbrackets/softgpu-blend
Fix some minor softgpu blending bugs
2022-01-24 09:37:59 +01:00
Henrik Rydgård fbc965fb59 Merge pull request #15343 from unknownbrackets/gpu-region
GPU: Log and report when region1 is non-zero
2022-01-24 09:18:17 +01:00
Henrik Rydgård 1c18c172a1 Merge pull request #15339 from unknownbrackets/softgpu-flags
Use dirty flags for softgpu state updates
2022-01-24 09:17:37 +01:00
Unknown W. Brackets 07b67ef572 softgpu: Fix pixel ID for invalid blend factors.
They should still be treated as FIX, we were accidentally using our
special values.
2022-01-24 00:08:33 -08:00
Unknown W. Brackets 6c723c0517 softjit: Fix src blend factor handling.
This was causing us to skip a shift, oops.
2022-01-24 00:05:00 -08:00
Henrik Rydgård c1b8fb737e Merge pull request #15344 from unknownbrackets/gpu-signal-jumps
GPU: Allow relative jumps and calls
2022-01-24 08:38:45 +01:00
Henrik Rydgård eba93f2ee0 Merge pull request #15340 from unknownbrackets/softgpu-textures
Correct UV rotation and through mipmaps, optimize texenv blend a bit
2022-01-24 08:19:34 +01:00
Henrik Rydgård 1267853e60 Merge pull request #15341 from unknownbrackets/softgpu-dither
softgpu: Correct clear mode dither
2022-01-24 08:18:45 +01:00
Henrik Rydgård 23b76aa155 Merge pull request #15342 from unknownbrackets/conv4444
Common: Fix conversion of 4444 to BGRA
2022-01-24 08:17:06 +01:00
Unknown W. Brackets e47ee79899 GE Debugger: Allow GPU stepping while CPU stepping.
This can happen if you step into an update stall address call or similar.
2022-01-23 23:06:33 -08:00
Unknown W. Brackets 511c822312 GPU: Allow relative jumps and calls.
These are tested in gpu/signals/jumps, so they ought to work.
Doesn't seem like games generally use them, though.
2022-01-23 23:03:30 -08:00
Unknown W. Brackets 8efb99801e GPU: Log and report when region1 is non-zero. 2022-01-23 19:38:51 -08:00
Unknown W. Brackets b4eab72015 Common: Fix conversion of 4444 to BGRA.
This was affecting tests emitting screenshots in 4444 as well as Direct3D
backends.
2022-01-23 19:22:32 -08:00
Unknown W. Brackets 818d17183b softgpu: Correct clear mode dither.
It does apply, but have to be careful about alpha.
2022-01-23 12:39:50 -08:00
Unknown W. Brackets 3010cd56d1 softgpu: Correct simple rectangles with mipmaps.
Might be used for fonts, we could potentially check for bias/slope, but
mipmaps are uncommon in direct through draws anyway.
2022-01-23 12:26:58 -08:00
Unknown W. Brackets d8c5c35b1a samplerjit: Optimize texenv blending a bit.
This reduces to a single multiply, which is much faster.
2022-01-23 11:43:34 -08:00
Unknown W. Brackets 648b71616e softgpu: Correct UV rotation for transformed rects. 2022-01-23 08:15:15 -08:00
Unknown W. Brackets d74001f4fa softgpu: Reuse transform state. 2022-01-23 08:08:41 -08:00
Unknown W. Brackets 9ea5367a8c softgpu: Add dirty flags for rasterization state. 2022-01-23 08:08:41 -08:00
Unknown W. Brackets a27da25cd6 softgpu: Use dirty flags for render overlap checks. 2022-01-23 08:08:40 -08:00
Unknown W. Brackets 77db9c818f softgpu: Fix state race on screen offset.
Caused glitches in Motorstorm.
2022-01-23 08:08:40 -08:00
Unknown W. Brackets 76f9103e97 softgpu: Add a table and initial dirty flags.
Not actually using the dirty flags to skip state, but have moved to
Execute_* functions and everything else like other graphics backends.
2022-01-23 08:08:40 -08:00
Henrik Rydgård 5a6bf8b435 Merge pull request #15338 from unknownbrackets/ge-debugger
Alow flushing at will via the GE debugger
2022-01-23 00:30:52 +01:00
Unknown W. Brackets eb95b99523 GE Debugger: Add option to auto flush.
This makes it easier to see what's happening in each draw.
2022-01-22 13:12:59 -08:00
Henrik Rydgård 130b7d71a9 Merge pull request #15337 from unknownbrackets/softgpu-fixes
samplerjit: Fix Linux x64 stack corruption
2022-01-22 21:01:13 +01:00
Unknown W. Brackets b840eec290 GE Debugger: Cut down on primary buttons.
Most of these are not commonly used, and it makes the interface feel a bit
cluttered.
2022-01-22 12:01:10 -08:00
Unknown W. Brackets a4a72ed7c1 GE Debugger: Add a menu to the GE debugger window.
This will allow adding more features without making the UI a mess.
2022-01-22 12:01:07 -08:00
Unknown W. Brackets 4262e657b4 samplerjit: Oops, forgot about 64 unpack.
Just a minor codegen tweak.  Always forget there are more of these than
pack instructions.
2022-01-22 10:49:36 -08:00
Unknown W. Brackets 0425b8d630 samplerjit: Fix Linux stack corruption.
Oops, nearest was not using the red zone correctly.
2022-01-22 10:47:32 -08:00
Unknown W. Brackets 36217e813c Build: Fix some minor warnings.
Just to get more warning clean.
2022-01-22 10:46:21 -08:00
Henrik Rydgård b5e8c21042 Merge pull request #15334 from unknownbrackets/headless
Update pspautotests, require passing in GitHub Actions
2022-01-22 09:36:30 +01:00