Commit Graph

36712 Commits

Author SHA1 Message Date
2a5c77f43f VideoCommon: Handle emboss texgen with only a single normal
Fixes a large number of effects in Rogue Squadron 2 and 3.
2022-04-22 16:54:38 -07:00
39b2854b98 VertexLoader: Convert count register to remaining register
This more accurately represents what's going on, and also ends at 0 instead of 1, making some indexing operations easier.  This also changes it so that position_matrix_index_cache actually starts from index 0 instead of index 1.
2022-04-22 16:54:38 -07:00
97d0ff58c8 Convert vertex loader position cache to std::array 2022-04-22 16:54:38 -07:00
f722bdf7f1 VertexLoaderX64: Refactor so that zfreeze is only in one place
(Specifically, the copy for VertexLoaderManager::position_cache.  The position matrix index happens elsewhere, and the float path still has special logic to copy to scratch3.)
2022-04-22 16:54:38 -07:00
6f1350ae51 VertexLoaderARM64: Fix z-freeze position matrix index
Before, it would always write to index 0 (which is unused).  Now it writes to the correct index.
2022-04-22 16:54:38 -07:00
04fdadd9d5 VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormal 2022-04-22 16:54:36 -07:00
88134a6786 VertexShaderGen: Simplify normal calculation
This is a readability change; there should be no functional or performance differences.
2022-04-22 16:51:58 -07:00
2e01dc0c82 Merge pull request #10592 from AdmiralCurtiss/pointerwrap-protections
Common/PointerWrap: Prevent reads/writes past the end of the buffer.
2022-04-21 17:32:13 -04:00
3172199d33 Merge pull request #10577 from shuffle2/libusb
update libusb to v1.0.26
2022-04-21 18:50:08 +02:00
902e45b6b7 Merge pull request #10595 from richarm4/patch-1
Minor text capitalization
2022-04-20 06:22:17 -04:00
c925f10892 Minor text capitalization
Changed "$Swords/Shields/boots/tunics" to "$Swords/Shields/Boots/Tunics" for consistent capitalization in the line.
2022-04-20 02:07:31 -07:00
ef760ee012 Common/PointerWrap: Prevent reads/writes past the end of the buffer. 2022-04-18 23:48:00 +02:00
70507c2237 update to libusb v1.0.26
moves libusb from vendored to submodule
2022-04-17 20:01:19 -07:00
853cf4f818 Common/PointerWrap: Hide internals. 2022-04-18 03:41:14 +02:00
3ed9d5a3c7 Merge pull request #10589 from JosJuice/android-more-init-checks
Android: Use AfterDirectoryInitializationRunner more comprehensively
2022-04-17 05:43:06 -04:00
342af6512c Android: Use AfterDirectoryInitializationRunner more comprehensively
Should fix the crash reported in https://bugs.dolphin-emu.org/issues/12885
2022-04-16 15:04:29 +02:00
0ec3f3a6ae Merge pull request #10563 from TryTwo/PR_MemoryWidget_Display_Types
Debugger MemoryWidget: More display types, use combo box for options
2022-04-16 14:35:29 +02:00
a2aecc3794 Debugger MemoryWidget: More display types, use combo box for display options. Add alignment and riw length options. 2022-04-15 22:00:51 -07:00
0a4805c0b9 Merge pull request #10582 from AdmiralCurtiss/fmt-float
Common/StringUtil: Use simpler formatting for floats and doubles.
2022-04-16 03:42:55 +02:00
c5c4169bc8 Merge pull request #10255 from Pokechu22/sw-zfreeze
Software: Fix zfreeze with CullMode::All
2022-04-15 11:12:49 +12:00
36678dca59 Merge pull request #10585 from Pokechu22/apple-m1-unit-tests-f-string
Apple M1: Fix "Building and running unit tests" message
2022-04-15 10:43:59 +12:00
9994363aa8 Apple M1: Fix "Building and running unit tests" message
For {arch} to be converted, the string needs to be an f-string.
2022-04-14 15:34:52 -07:00
3fdc6cbffe Merge pull request #10486 from ttttcrngyblflpp/negative-axis-scaling
Make pos/neg analog axes symmetrical
2022-04-13 12:18:41 +02:00
5c687fc2a3 Common/StringUtil: Use simpler formatting for floats and doubles. 2022-04-12 23:35:19 +02:00
edbb0f4df7 Merge pull request #10581 from shuffle2/win-pch
windows: buildfix if pch not used
2022-04-12 21:40:31 +02:00
ef8e461ca2 windows: buildfix if pch not used 2022-04-12 12:28:57 -07:00
62cc7cccfa Merge pull request #10579 from shuffle2/mbedtls-build
cmake: fix build of mbedtls from Externals
2022-04-12 10:35:56 +02:00
8466d438d3 cmake: fix build of mbedtls from Externals 2022-04-11 03:55:47 -07:00
2f90a2c689 Merge pull request #10574 from EternityShack/master
MemoryWidget: Load Files to Memory
2022-04-11 04:09:02 +02:00
c5b0b92513 MemoryWidget: Load Files to Memory 2022-04-10 21:02:33 -05:00
1f4df1dabf Merge pull request #10576 from JosJuice/moltenvk-curlies
MoltenVK: Fix pixel shader typo
2022-04-10 12:51:17 -07:00
abffa93a72 MoltenVK: Fix pixel shader typo 2022-04-10 20:51:20 +02:00
41a831de28 Translation resources sync with Transifex 2022-04-10 19:44:17 +02:00
e932a1bfb7 Merge pull request #10571 from AdmiralCurtiss/ffmpeg-custom-pix-fmt
VideoCommon/FrameDump: Allow user to specify a pixel format.
2022-04-09 14:19:39 -04:00
59f299d5d6 Software: Fix zfreeze with CullMode::All 2022-04-08 20:05:32 -07:00
164e0f742d Software: Store offset in Slope
This is needed since we need a separate offset for zfreeze to work correctly.  It also makes the code a bit less jank.
2022-04-08 20:05:32 -07:00
3a742e99bb Software: Remove config to disable ZComploc and ZFreeze
These aren't particularly useful, and make the code a bit more confusing.  If for some reason someone wants to test what happens when these functions are disabled, it's easier to just edit the code that implements them.  They aren't exposed in the UI, so one would need to restart Dolphin to do it anyways.
2022-04-08 20:05:32 -07:00
d7709d4122 Merge pull request #10398 from Pokechu22/viewport-rounding
Round viewport coordinates when vertex rounding is enabled
2022-04-08 19:17:35 -07:00
4e9a314776 Round viewport coordinates when vertex rounding is enabled
This should fix https://bugs.dolphin-emu.org/issues/9105
2022-04-08 18:30:59 -07:00
dbb857b175 VertexShaderManager: Use g_ActiveConfig.UseVertexRounding() 2022-04-08 18:30:59 -07:00
f6ab317374 Fix typo (GFX_HACK_VERTEX_ROUDING -> GFX_HACK_VERTEX_ROUNDING) 2022-04-08 18:30:59 -07:00
91192efe59 Merge pull request #10573 from AdmiralCurtiss/pr10472
DolphinQt/HacksWidget: Re-enable texture accuracy slider if it was disabled because of a custom value.
2022-04-08 21:24:59 -04:00
5516d468ce DolphinQt/HacksWidget: Re-enable texture accuracy slider if it was disabled because of a custom value.
Fixes https://bugs.dolphin-emu.org/issues/12771
2022-04-09 03:01:10 +02:00
f92b7f4c87 Merge pull request #10508 from JosJuice/android-pointer-down
Android: Only use getActionIndex for ACTION_POINTER_DOWN/ACTION_POINTER_UP
2022-04-08 20:53:52 -04:00
e3106e8cdd Merge pull request #10503 from JosJuice/android-directoryinitialization-thread
Android: Actually use a thread for DirectoryInitialization
2022-04-08 20:53:25 -04:00
417531f469 Merge pull request #10545 from OatmealDome/mbedtls-2.28.0
Externals: Update mbedtls to 2.28.0
2022-04-08 20:52:25 -04:00
004e834c14 Merge pull request #10558 from shuffle2/lang
windows: simplify handling of gettext
2022-04-08 20:51:36 -04:00
d4e4b56047 Merge pull request #10562 from JosJuice/android-double-tap-get
Android: Fix displaying the current value of double tap setting
2022-04-08 20:50:12 -04:00
dcf27b91ba Merge pull request #10572 from AdmiralCurtiss/ffmpeg-log-va-list
VideoCommon/FrameDump: Fix log messages with arguments.
2022-04-08 20:47:57 -04:00
df214af8a1 VideoCommon/FrameDump: Fix log messages with arguments. 2022-04-09 01:42:02 +02:00