Commit Graph
34601 Commits
Author SHA1 Message Date
Lubos 353bdc2d3d OpenXR - Default config updated 2022-12-02 20:57:50 +01:00
Lubos 0060a14fa7 OpenXR - Adjust the render resolution for VR 2022-12-02 20:48:35 +01:00
Henrik Rydgård 116bc9d59a Merge pull request #16485 from unknownbrackets/softgpu-fog-nan
softgpu: Handle infnan fog coefficients better
2022-12-02 19:49:32 +01:00
Unknown W. Brackets 1121a6fb68 softgpu: Handle inf-end + negative constant slope. 2022-12-02 10:20:30 -08:00
Unknown W. Brackets 38de2f11af softgpu: Handle infnan fog coefficients better.
If we ended up with a dot product that had opposing inf signs, the add
would result in NAN and cause problems.
2022-12-02 10:15:15 -08:00
Unknown W. Brackets c5844c4174 GE Debugger: Add breakpoint symbol for prim count.
This way you can break when a register is changed and prim count is in a
certain range, which can be convenient.
2022-12-02 10:14:36 -08:00
Unknown W. Brackets 6619da2a0d Debugger: Add decimal constants.
For the GE debugger and CPU debugger, it's annoying sometimes to express
everything in hex.  This allows using an i or u prefix to get decimal.
2022-12-02 10:13:32 -08:00
Henrik Rydgård a349e2b85b Merge pull request #16481 from unknownbrackets/gedebugger
Cleanup some GE debugger logspam, small texture proj optimization
2022-12-02 11:10:49 +01:00
Henrik Rydgård 24aad50133 Merge pull request #16480 from unknownbrackets/softgpu-depth
softgpu: Cull verts outside post-viewport Z
2022-12-02 11:08:52 +01:00
Unknown W. Brackets 106d730a20 GPU: Optimize out common case texture proj.
NFS Most Wanted 5-1-0 uses this when it could use uv scale/offset.
2022-12-01 23:20:25 -08:00
Unknown W. Brackets 33abbca464 softgpu: Optimize out texture proj for UVs.
Seen in NFS Most Wanted 5-1-0.
2022-12-01 23:13:20 -08:00
Unknown W. Brackets d7224a8401 GE Debugger: Cleanup logspam on game exit.
If you're stopped on a frame and quit, it was previously logging every
command as it exited, thinking it was waiting on each.
2022-12-01 23:12:14 -08:00
Unknown W. Brackets cb7131b314 Merge pull request #16479 from JohnnyonFlame/vreinterpret-fix
Fix wrong vreinterpret neon intrinsic usage.
2022-12-01 22:39:03 -08:00
João Henrique 9fcc6857f6 Fix wrong vreinterpret neon intrinsic usage.
This fixes a compilation failure introduced on d0e8cfa365.
2022-12-02 03:10:57 -03:00
Unknown W. Brackets c5a98e62dd softgpu: Cull verts outside post-viewport Z.
Shouldn't have removed this before, points are still culled when depth
clamp is off and throughmode is off.

Fixes Crazy Taxi graphics glitches.
2022-12-01 21:57:48 -08:00
Henrik Rydgård 7f65ba115b Merge pull request #16478 from unknownbrackets/softgpu-line-z
softgpu: Interpolate Z for 3D lines
2022-12-01 23:44:14 +01:00
Unknown W. Brackets a1f6a40d10 softgpu: Interpolate Z for 3D lines.
Important for Me & My Katamari, see #16131.
2022-12-01 14:39:19 -08:00
Unknown W. Brackets 4866518b84 Merge pull request #16477 from hrydgard/invalidation-refactor
Add a flags parameter to InvalidateCachedState and rename it Invalidate.
2022-12-01 11:05:04 -08:00
Unknown W. Brackets 60771d70f4 Merge pull request #16476 from hrydgard/minor-opts
Minor optimizations
2022-12-01 10:40:31 -08:00
Henrik Rydgård 331d024a8c Add a flags parameter to InvalidateCachedState and rename it Invalidate.
Also rename the old InvalidationFlags enum to InvalidateCallbackFlags.
2022-12-01 19:15:38 +01:00
Henrik Rydgård d0e8cfa365 Add NEON impl too, mostly for exercise purposes 2022-12-01 17:52:02 +01:00
Henrik Rydgård e6f0f84a45 SSE optimize Float4ToUint8x4, some uses 2022-12-01 16:32:23 +01:00
Henrik Rydgård d02f46cb27 Minor VertexReader optimizations 2022-12-01 16:00:47 +01:00
Henrik Rydgård 423fa6d848 Couple more FormatMemWriteTagAt 2022-12-01 16:00:47 +01:00
Henrik Rydgård 6560123257 Restore optimization of memory info strings, avoiding allocations 2022-12-01 15:39:45 +01:00
Henrik Rydgård 2067ae127a Merge pull request #16475 from hrydgard/temp-disable-uwp-job
Temporarily disable the UWP github CI job
2022-12-01 15:28:35 +01:00
Henrik Rydgård 7f7af003ce UI: Darken game-as-background a bit more for UI legibility 2022-12-01 15:06:46 +01:00
Henrik Rydgård 14e7507145 Temporarily disable the UWP github CI job 2022-12-01 14:13:07 +01:00
Henrik Rydgård 9d9a64be8b Fix Aspect Ratio translation category 2022-12-01 13:38:35 +01:00
Henrik Rydgård 003323fe3c Merge pull request #16474 from TotalCaesar659/patch-1
Update Russian translation
2022-12-01 13:27:35 +01:00
TotalCaesar659 2073eed7b7 Update Russian translation 2022-12-01 15:20:10 +03:00
Henrik Rydgård 40ae99073b Remove std::string from VulkanTexture 2022-12-01 12:17:03 +01:00
Henrik Rydgård c05ec8b520 Remove std::string from VulkanProfiler (the scope profiler for uploads) 2022-12-01 12:17:01 +01:00
Henrik Rydgård 6a7682368d Merge pull request #16469 from unknownbrackets/softgpu-transfer
Correct block transfer overlap and wrapping behavior
2022-12-01 11:50:44 +01:00
Unknown W. Brackets f18afc5f51 headless: Update tests. 2022-12-01 01:36:30 -08:00
Unknown W. Brackets 5bc51cb01d GE Debugger: Remove dup block transfer record.
We already record it as a block transfer, we don't need to also do it as a
memcpy.
2022-12-01 01:36:27 -08:00
Unknown W. Brackets 73489349cc GPU: Oops, simplify an expression. 2022-12-01 01:34:48 -08:00
Unknown W. Brackets cbe96d3774 GPU: Use common block transfer logic in all cases. 2022-12-01 01:34:16 -08:00
Unknown W. Brackets 3589c1e826 softgpu: Handle block transfer VRAM wrapping.
Note: mirrors still act as mirrors, swizzle and all.
2022-12-01 01:31:44 -08:00
Unknown W. Brackets 1c5f0d575c softgpu: Improve meminfo detail on block transfer.
Gaps are useful to understand.
2022-12-01 01:31:44 -08:00
Unknown W. Brackets 68515aaee2 softgpu: Account for width!=stride in xfer checks. 2022-12-01 01:31:43 -08:00
Unknown W. Brackets 2adc18cfba softgpu: Correct src/dst overlap in block transfer.
If dest is inside src, it seems to consistently copy in blocks of 64
bytes.
2022-12-01 01:31:43 -08:00
Henrik Rydgård 9a108a46d4 Disable the PowerVR swapchain hack after driver version 1.386.1368.
See #15773
2022-12-01 10:17:53 +01:00
Henrik Rydgård c3aaf5b184 Merge pull request #16472 from unknownbrackets/fetch-fix
GLES: Correct unit tests for framebuffer fetch
2022-12-01 10:16:45 +01:00
Henrik Rydgård 4b7084401d Merge pull request #16470 from unknownbrackets/softgpu-inversion
softgpu: Correctly fix inversions, matching tests
2022-12-01 09:59:56 +01:00
Unknown W. Brackets fc5dcd0c16 GLES: Correct unit tests for framebuffer fetch. 2022-12-01 00:59:22 -08:00
Henrik Rydgård fd21a0957b Merge pull request #16471 from unknownbrackets/fetch-fix
GPU: Correct fetch assert
2022-12-01 09:23:41 +01:00
Unknown W. Brackets d763dca024 GPU: Correct fetch assert. 2022-12-01 00:17:14 -08:00
Unknown W. Brackets dc962094f8 softgpu: Correctly fix inversions, matching tests.
Inversions are allowed just fine, but if clipping results in coordinates
outside range, the triangle should be culled.  Fixes more wanted
inversions.
2022-11-30 23:20:39 -08:00
Henrik Rydgård b62790fd00 Fix translatability of the string "Stereo display shader".
See #16459
2022-11-30 23:02:11 +01:00