summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-06-09Merge pull request #11900 from Filoppi/add_float_config_tooltip_sliderAdmiral H. Curtiss
Qt: Add float config tooltip slider
2023-06-09Qt: Add float config tooltip sliderFiloppi
2023-06-09PPCAnalyst: Reduce number of iterations in ReorderInstructionsCoreJosJuice
We can utilize the fact that if swapping two instructions causes another swap to become possible, that swap involves one of the two instructions we just swapped. There's need to search for new swap opportunities as far back as the beginning of the block; we can just go one step back.
2023-06-09Merge pull request #11699 from Pokechu22/gl-check-maximum-samplesAdmiral H. Curtiss
OpenGL: Check the list of supported AA modes instead of hardcoding
2023-06-09Merge pull request #11859 from iwubcode/backend-multi-outputAdmiral H. Curtiss
VideoBackends: add support to allow rendering to multiple output targets
2023-06-09Merge pull request #11912 from iwubcode/asset_error_checkingAdmiral H. Curtiss
VideoCommon: add additional error logs for asset loading and don't crash when asset no longer exists on reload
2023-06-08EnhancementsWidget: Handle gaps in AA mode listPokechu22
Mesa (llvmpipe) only reports 4x MSAA, and doesn't report 2x (or 1x, but we implicitly add that). The old logic did not handle this correctly, causing selecting 4x to fail and fall back to None. This also removes VideoUtils::GetAvailableAntialiasingModes, and thus VideoUtils entirely, as its only other function was removed in 1f74653501fec1dd059705f8a3eff1edb259d4d9.
2023-06-08OpenGL: Check the list of supported AA modes instead of hardcodingPokechu22
2023-06-08VideoCommon: Pass WindowSystemInfo to InitBackendInfoPokechu22
2023-06-08VideoCommon: update DirectFilesystemAssetLibrary to not throw exceptions ↵iwubcode
when a file no longer exists
2023-06-08VideoCommon: add logging for loading texture assetsiwubcode
2023-06-08VideoBackends:Metal: Enable shouldMaximizeConcurrentCompilation when availableTellowKrinkle
2023-06-08Merge pull request #11681 from iwubcode/asset_managementAdmiral H. Curtiss
VideoCommon: migrate texture packs to use the asset loader system
2023-06-08Merge pull request #11910 from lioncash/constructJosJuice
PowerPC/ConditionRegister: Mark PPCToInternal() as constexpr
2023-06-08Merge pull request #11908 from lioncash/strcopyAdmiral H. Curtiss
Debugger: Remove some trivial string copies
2023-06-08Merge pull request #11902 from Minty-Meeo/regex-best-practicesAdmiral H. Curtiss
static const std::regex
2023-06-08Merge pull request #11909 from lioncash/spansAdmiral H. Curtiss
GCMemcardUtils: Make use of std::span where applicable
2023-06-08Merge pull request #11907 from lioncash/pragmaAdmiral H. Curtiss
DolphinQt/InfinityBaseWindow: Minor changes
2023-06-08Merge pull request #11905 from Notexe/sms-goop-graphicsmodAdmiral H. Curtiss
Data: Add missing Super Mario Sunshine goop map texture to graphics mod
2023-06-08PowerPC/ConditionRegister: Mark PPCToInternal() as constexprLioncash
This allows the compiler to eliminate a static constructor that initializes the table, and instead precompute all of the data ahead of time. e.g. We get something like so on GCC without constexpr: _GLOBAL__sub_I_PowerPC::ConditionRegister::s_crTable: movdqa xmm0, XMMWORD PTR .LC0[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip], xmm0 movdqa xmm0, XMMWORD PTR .LC1[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+16], xmm0 movdqa xmm0, XMMWORD PTR .LC2[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+32], xmm0 movdqa xmm0, XMMWORD PTR .LC3[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+48], xmm0 movdqa xmm0, XMMWORD PTR .LC4[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+64], xmm0 movdqa xmm0, XMMWORD PTR .LC5[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+80], xmm0 movdqa xmm0, XMMWORD PTR .LC6[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+96], xmm0 movdqa xmm0, XMMWORD PTR .LC7[rip] movaps XMMWORD PTR PowerPC::ConditionRegister::s_crTable[rip+112], xmm0 ret PowerPC::ConditionRegister::s_crTable: .zero 128 .LC0: .quad -9223372032559808511 .quad -8646911280256385023 .LC1: .quad -9223372032559808512 .quad -8646911280256385024 .LC2: .quad 4294967297 .quad 576460756598390785 .LC3: .quad 4294967296 .quad 576460756598390784 .LC4: .quad -4611686014132420607 .quad -4035225261828997119 .LC5: .quad -4611686014132420608 .quad -4035225261828997120 .LC6: .quad 4611686022722355201 .quad 5188146775025778689 .LC7: .quad 4611686022722355200 .quad 5188146775025778688 and with constexpr, this all get collapsed into: PowerPC::ConditionRegister::s_crTable: .quad -9223372032559808511 .quad -8646911280256385023 .quad -9223372032559808512 .quad -8646911280256385024 .quad 4294967297 .quad 576460756598390785 .quad 4294967296 .quad 576460756598390784 .quad -4611686014132420607 .quad -4035225261828997119 .quad -4611686014132420608 .quad -4035225261828997120 .quad 4611686022722355201 .quad 5188146775025778689 .quad 4611686022722355200 .quad 5188146775025778688 completely eliminating the static constructor. MSVC also exhibits this, whereas clang is a little better and does this anyway, even without constexpr.
2023-06-08GCMemcardManager: Shorten-up EnumMap definitionsLioncash
We can make a small alias that gets rid of the need to repeat the long constant.
2023-06-08GCMemcardUtils: Make use of std::span where applicableLioncash
Generifies bits of the interface so that some functions aren't explicitly tied down to only using std::vector.
2023-06-08InfinityBaseWindow: Move core headers into cpp fileLioncash
Restricts the headers to the cpp file where they're needed and prevents the headers from "leaking" into other translation units.
2023-06-08MemoryViewWidget: Use QStringView with ConvertTextToBytesLioncash
Allows for avoiding string copies. While we're at it, we can also mark ConvertTextToBytes as const.
2023-06-08CodeDiffDialog: Construct Diff instance in CalculateSymbolsFromProfile() ↵Lioncash
when necessary We can move the construction of the Diff instance into the body of the if statement, so that we only construct this if the condition is true. While we're at it, we can move the symbol description string into the instance, getting rid of a copy. The function itself can also be const qualified.
2023-06-08CodeDiffDialog: Pass QString by const reference to create_itemLioncash
Avoids churning string copies when updating
2023-06-08BreakpointWidget: Pass QString by const reference to create_itemLioncash
Avoids churning string copies when performing updates.
2023-06-08BreakpointDialog: Pass QString by const reference to invalid_inputLioncash
Gets rid of redundant copying.
2023-06-08InfinityBaseWindow: Collapse lambda into direct member pointerLioncash
The parameters to this match the requirements of the toggled() function exactly, so we can pass the function directly into the connect call.
2023-06-08InfinityBaseWindow: Remove redundant string copiesLioncash
tr() already returns a QString, so we don't need to construct a QString around it, and FindFigure() already returns a std::string.
2023-06-08InfinityBaseWindow: Add missing header guardLioncash
Prevents potential inclusion issues.
2023-06-08Prefer static const std::regexget
std::regex has a relatively expensive constructor, and these are unchanging regexes.
2023-06-08Merge pull request #11899 from Filoppi/patch-20Admiral H. Curtiss
Video: Fix Post Process shader options issues
2023-06-08Merge pull request #11901 from Filoppi/add_texture_typesAdmiral H. Curtiss
Video: add R10B10G10A2 and R16G16B16A16F texture types
2023-06-08Merge pull request #11898 from Filoppi/patch-19Admiral H. Curtiss
Video: Fix crash when getting the AA modes
2023-06-08Merge pull request #11896 from AdmiralCurtiss/mbedtls-cmakeAdmiral H. Curtiss
Fix lingering CMAKE_REQUIRED_INCLUDES variable from FindMBEDTLS.
2023-06-08Merge pull request #11897 from JosJuice/spurious-two-analogAdmiral H. Curtiss
InputCommon: Don't treat two analog inputs as a spurious trigger combo
2023-06-08Data: Add missing Super Mario Sunshine goop map texture to graphics modNotexe
2023-06-08Video: add R10B10G10A2 and R16G16B16A16F texture types (needed by PR 11850)Filoppi
2023-06-08Video: Fix Post Process shader options issuesFilippo Tarpini
-An assert would be erroneously thrown when shaders declared an array of 4 int or float options, despite 4 being the max supported (a simple <= / < mistake) -When changing the type of a shader option (e.g. from bool to float), the serialization would be stuck appending the value from the previous option type, making the shader fail to build permanently until the cache were cleaned
2023-06-08Video: Fix crash when getting the AA modesFilippo Tarpini
DX12 would often crash when starting and stopping the emulation many times, due to the device enumerator failing for some reason. Checking for success fixes it.
2023-06-07InputCommon / VideoCommon: remove dynamic input reloading the texture cache, ↵iwubcode
this is no longer needed, assets reload automatically!
2023-06-07VideoCommon: introduce linked assets in TCacheEntry, allowing for assets to ↵iwubcode
be reloaded
2023-06-07Merge pull request #11081 from Minty-Meeo/gcc10Admiral H. Curtiss
Remove old GCC version workarounds
2023-06-06Remove old GCC version workaroundsMinty-Meeo
The minimum GCC version is now GCC 10.
2023-06-06Merge pull request #11874 from AdmiralCurtiss/vi-clock-boundsMai
VI: Prevent out-of-bounds access when clock register is a nonstandard value.
2023-06-06InputCommon: Don't treat two analog inputs as a spurious trigger comboJosJuice
I've received a report from an Android user with a gamepad (a "BSP-D3") where one physical trigger is controlling two analog axes at the same time. This was causing RemoveSpuriousTriggerCombinations to delete both axes, which is clearly not a desireable outcome. With this change, now the axis with the greatest smoothness is kept, or both in case they have the same smoothness.
2023-06-06Merge pull request #11694 from jnaidu360/skylanders-portal-windowAdmiral H. Curtiss
Skylanders Portal Menu Navigational Improvements
2023-06-06Fix lingering CMAKE_REQUIRED_INCLUDES variable from FindMBEDTLS, this breaks ↵Admiral H. Curtiss
any further can-compile checks.
2023-06-06Merge pull request #11894 from t895/interface-fixJosJuice
android: Fix compilation error from Kotlin changes