| Age | Commit message (Collapse) | Author |
|
|
|
This was added in 385d8e2b15c8accce3b4e4b4f3dc90f63e3fbee4, but became somewhat redundant with Do in 4c7bbd96e435a7516b05d3e8c791ab41505e2e0f, and completely redundant now that std::is_trivially_copyable_v is well-supported.
|
|
|
|
Massively improves performance in Mario Galaxy on Android.
|
|
Vulkan: Workaround slow vkCmdCopyImageToBuffer on QCom
|
|
|
|
Use the same settings for the software renderer as other backends
|
|
Texture dumping can already be done using VideoCommon's system (and in fact the same setting already enabled *both* of these). Dumping objects/TEV stages/texture fetches doesn't currently have an equivalent, but could be added to the FIFO player instead.
|
|
|
|
Add Metal as backend option with Vulkan Disabled
|
|
VideoCommon: Add dynamic vertex loader for ubershaders to reduce pipeline count
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fixes https://bugs.dolphin-emu.org/issues/12952
|
|
This also means that both a register and a vertex are always specified, though right now if the register is scratch1_reg the offset is always 0.
|
|
This way it more closely matches VertexLoaderX64, and is in general easier to understand.
|
|
The source and destination offsets will always be less than 255, so we can get rid of a lot of the complexity by doing this.
|
|
|
|
Fixes https://bugs.dolphin-emu.org/issues/12952
|
|
|
|
|
|
|
|
Spotted by Pokechu22.
|
|
|
|
GetComponentSizes was unused, so we simplify this and get rid
of the branches.
|
|
Edit error message
|
|
VideoCommon: fix graphics target texture names for efb/xfb
|
|
Refactor various bits of graphics code for readability
|
|
m_stage is initialized last
|
|
m_action_impl is initialized before m_mod in constructor
|
|
* 'hangle' was a typo
* Light colors include an alpha value, so they should be 8 characters, not 6
* The XF command format adds 1 to the count internally (so 0 is one word), but we need to subtract that back to produce a valid command
* XFMEM_POSTMATRICES was calculating the row by subtracting XFMEM_POSMATRICES (POS vs POST), resulting in incorrect row numbering
|
|
Mainly, the improvements are passing in the current command ID so that e.g. stage numbers can be directly included, instead of saying 0/1 or even/odd.
|
|
|
|
It stores both the konst selection value for alpha and color channels (for two tev stages per ksel), and half of a swap table row (there are 4 total swap tables, which can be used for swizzling the rasterized color and the texture color, and indices selecting which tables to use are stored per tev stage in the alpha combiner). Since these are indexed very differently, the old code was hard to follow.
|
|
|
|
I search for these somewhat often with control+f, but tend to default to adding a 0x prefix, which means I don't find them until I remove it.
|
|
Per https://en.cppreference.com/w/cpp/preprocessor/replace#.23_and_.23.23_operators the `##` behavior is a nonstandard extension; this extension seems to be supported by all compilers we care about, but IntelliSense in visual studio doesn't correctly handle it, resulting in false errors in the IDE (but not when compiling).
Per https://en.cppreference.com/w/cpp/preprocessor/replace#Function-like_macros C++20 introduced a workaround, where `__VA_OPT__(, )` generates a comma if and only if `__VA_ARGS__` is non-empty.
This PR replaces all occurrences, with the exception of Externals, DSPSpy (which is not likely to be edited in MSVC and does not target C++20 currently), and JitArm64_Integer.cpp (which uses `Function(__VA_ARGS__)`, and thus does not ever need a comma).
|
|
Edit error message to be less sarcastic. I doubt many users appreciate this when Dolphin has just crashed.
|
|
|
|
|
|
|
|
output that has been defined as uints
|
|
error is in renderers that use uint for their color output (for logic ops). Remove D3D check for uint output since other backends could use uint output as well.
|
|
names for efb/xfb
|
|
VideoCommon: Remove old iLog field
|
|
Prior to 7854bd71098fe556ddc9839ad08d27fab7ecba33, this was used by the debugger for the OpenGL and D3D9 plugins to control logging (via PRIM_LOG and INFO_LOG/DEBUG_LOG in VideoCommon code; PRIM_LOG was changed in 77215fd27ccb7cdeb82fed24a7a8d4d4ad4c33a4), and also framedumping (removed in 64927a2f81fe64503060c949ead525995fd63a2a and 2d8515c0cf754806dc38222c4461053e12df1194), shader dumping (removed in 2d8515c0cf754806dc38222c4461053e12df1194 and this commit), and texture dumping (removed in 54aeec7a8ff6b6e5d050637b6cce8df6d9a8b633). Apart from shader dumping, all of these features have modern alternatives, and shader source code can be seen in RenderDoc if "Enable API Validation Layers" is checked (which also enables source attachment), so there's no point in keeping this around.
|