Commit Graph
47140 Commits
Author SHA1 Message Date
Henrik Rydgård f85d7db5b1 Comment fixes, buildfix 2024-12-31 02:39:58 +01:00
Henrik Rydgård dee5fe6990 Fix issue in Midnight Club where Z now wrapped around at a distance, after removing the clamp. Might as well cull. 2024-12-31 02:30:05 +01:00
Henrik Rydgård 7ddd7024f4 Revert unintentional change. Warning fix 2024-12-31 02:17:33 +01:00
Henrik Rydgård e0991a7070 DepthRaster: Improved guardband rejection, fixing glitches. 2024-12-31 01:59:15 +01:00
Henrik Rydgård f5cc41caab More CrossSIMD (breaking change) 2024-12-31 01:59:11 +01:00
Henrik Rydgård bcab17fcf3 Parallelize triangle setup. However, some glitches appear... 2024-12-31 01:59:11 +01:00
Henrik Rydgård 36c5065d5d Add crude guardband culling to depth rasterizer 2024-12-31 01:59:11 +01:00
Henrik Rydgård c3ac798545 More crosssimd 2024-12-31 01:59:08 +01:00
Henrik Rydgård 0fa88652f1 Merge pull request #19784 from Felipefpl/master
Updated brazilian portuguese translation
2024-12-31 01:43:29 +01:00
Henrik Rydgård de09dec9d1 Move branches out of triangle setup 2024-12-31 01:41:25 +01:00
Henrik Rydgård 373569bf64 More prep. Add triangle loop. 2024-12-31 01:41:22 +01:00
Henrik Rydgård 2eed309d29 Simplify more 2024-12-31 01:41:22 +01:00
Henrik Rydgård d435945b7c Simplify 2024-12-31 01:41:22 +01:00
Henrik Rydgård 69b35e9146 Inline edge calculations 2024-12-31 01:41:05 +01:00
Felipe e46f728206 Updated brazilian portuguese translation
Included the latest added strings and changed the existing ones as needed.
2024-12-30 10:48:48 -03:00
Henrik Rydgård 1195c630c3 Some variable renaming 2024-12-29 14:03:06 +01:00
Henrik Rydgård f70889ad49 Better triangle area calculation, thanks fp64 for the reminder 2024-12-29 13:45:01 +01:00
Henrik Rydgård 49a18086e3 Merge pull request #19779 from hrydgard/more-depth-work
Depth raster: Some prep for parallelization
2024-12-29 13:28:26 +01:00
Henrik Rydgård 3743b5dea6 Add new minimal-overhead RunParallel function 2024-12-29 10:48:00 +01:00
Henrik Rydgård d325bb872b Prepare for tiled depth raster 2024-12-29 10:05:32 +01:00
Henrik Rydgård c23c3e8d03 Measure the available time for "background depth raster". The idea is viable. 2024-12-29 09:45:55 +01:00
Henrik Rydgård bb2b214d5e Minor FS logging 2024-12-29 09:31:50 +01:00
Henrik Rydgård 70cddec493 Merge pull request #19777 from hrydgard/improve-triangle-culling
Depth raster: Improve triangle culling in the "clipping" step
2024-12-29 09:26:03 +01:00
Henrik Rydgård ef934df0f2 Compute and cull by triangle area early before writing 4-groups of triangles 2024-12-29 01:21:16 +01:00
Henrik Rydgård 0b82405889 Merge pull request #19776 from hrydgard/depth-draw-queue
Implement queueing of depth raster draws
2024-12-29 01:13:19 +01:00
Henrik Rydgård e8786fc401 Cull 4-groups of triangles early 2024-12-29 01:12:53 +01:00
Henrik Rydgård 6d539cc5e0 More fixes 2024-12-28 23:50:42 +01:00
Henrik Rydgård aec17d8829 Actually queue up depth draws 2024-12-28 23:21:54 +01:00
Henrik Rydgård 4ef3ac474a Just minor cleanup and prep in depth raster 2024-12-28 23:16:59 +01:00
Henrik Rydgård 25d79afd47 Small rename, remove some obsolete reporting 2024-12-28 23:05:07 +01:00
Henrik Rydgård 0926e9cbf0 Merge pull request #19774 from hrydgard/depth-raster-refactor
Depth raster refactor
2024-12-28 22:59:23 +01:00
Henrik Rydgård 1e8eb88bf0 Unify the ends of the two depth draw paths 2024-12-28 19:22:23 +01:00
Henrik Rydgård 6136c7f5ef More reorg 2024-12-28 18:51:37 +01:00
Henrik Rydgård 66926e28c1 Simplify / fix through mode triangles 2024-12-28 18:51:37 +01:00
Henrik Rydgård 3c3dfe5273 Reorganize depth raster draw state handling 2024-12-28 18:51:34 +01:00
Henrik Rydgård eec7853efe More SIMD: Add some matrix operations to CrossSIMD (#19773)
* More CrossSIMD functionality

* Use the new SIMD API for the matrix multiplies
2024-12-28 18:45:14 +01:00
Henrik Rydgård 8b10ee3937 Depth Z: Add a stat for Z-culling, correctly distinguish the small/backface stats 2024-12-28 18:45:03 +01:00
Henrik Rydgård 449e3e1360 Very minor soft transform optimization 2024-12-28 18:45:03 +01:00
Henrik Rydgård 8c069917b5 Depth raster optimizations: Merge viewport into projection matrix, prepare for further SIMD-ification (#19769)
* Remove some old redundant reports

* Fix scissor off by one

* More CrossSIMD

* Move the viewport scale out to the proj matrix

* DepthRaster: Also merge the viewport translation into the projection matrix.

* Depth raster: Do the triangle clipping in batches of 4 triangles

* Cleanup
2024-12-28 10:36:39 +01:00
Henrik Rydgård 88b4991753 UI fixes: Rework savedata manager a bit, default keyboard focus to Cancel in confirmation dialogs (#19771)
* Savedata manager screen: Use TabbedUIDialogScreenWithGameBackground

This fixes some minor UI issues on this screen.

* PromptScreen (used for "Are you sure?"): Default keyboard focus to Cancel

Fixes #19770
2024-12-28 10:36:05 +01:00
Henrik Rydgård cc040ab251 Depth raster: Bugfix, minor opt (#19768)
* Correct two errors in CrossSIMD.h, thanks hiroyuki177

Fixes #19767

* DepthRaster: Merge offset into viewport X/Y
2024-12-26 20:23:52 +01:00
Luboš V. d1f8b78bbb OpenXR - Remove non-functional Vulkan implementation (#19766)
* OpenXR - Remove non-functional Vulkan implementation

* Forgotten to commit
2024-12-26 10:05:18 +01:00
Henrik Rydgård 5def50cca6 Merge pull request #19764 from hrydgard/even-more-depth-raster-stuff
Enable depth raster in all backends
2024-12-25 12:08:51 +01:00
Henrik Rydgård f8774a4d15 Merge pull request #19765 from DDinghoya/patch-29
Update ko_KR.ini
2024-12-25 09:05:25 +01:00
DDinghoya 72ceda067b Update ko_KR.ini 2024-12-25 10:01:51 +09:00
Henrik Rydgård 4aaea67766 Enable depth raster in all backends, not just Vulkan 2024-12-24 23:26:32 +01:00
Henrik Rydgård 032f51988d Delete unused files 2024-12-24 23:26:32 +01:00
Henrik Rydgård 0e59cd7641 DepthRaster: Fix typo breaking LESS depth comparison mode on x86(64) 2024-12-24 23:26:32 +01:00
Henrik Rydgård 34f3b724cd Merge pull request #19762 from Nemoumbra/volmem-tags
Volatile memory improvements
2024-12-23 23:02:33 +01:00
Nemoumbra 1a1f779ce7 Added memory tags for volatile memory 2024-12-23 21:22:55 +03:00