summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2022-10-08VideoBackends:Multiple: More GPUs with broken subgroup opsTellowKrinkle
2022-10-06Common/PointerWrap: Remove DoPODPokechu22
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.
2022-10-01VideoCommon: Remove special treatment for Android in video settingsRobin Kertels
2022-10-01VideoCommon: Update EFB peek cache on draw done and tokensRobin Kertels
Massively improves performance in Mario Galaxy on Android.
2022-09-30Merge pull request #11084 from K0bin/qcom-workaroundJMC47
Vulkan: Workaround slow vkCmdCopyImageToBuffer on QCom
2022-09-30VideoBackends:Vulkan: Workaround slow vkCmdCopyImageToBuffer on QCom driverRobin Kertels
2022-09-29Merge pull request #11100 from Pokechu22/software-settings-mergeMai
Use the same settings for the software renderer as other backends
2022-09-26Software: Remove dedicated texture/frame dumping infrastructurePokechu22
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.
2022-09-26VideoCommon: Add statistics for draw done and token commandsPokechu22
2022-09-23Merge pull request #11073 from Hibyehello/Fix-Metal-initAdmiral H. Curtiss
Add Metal as backend option with Vulkan Disabled
2022-09-20Merge pull request #10781 from tellowkrinkle/UberVertexLoaderJMC47
VideoCommon: Add dynamic vertex loader for ubershaders to reduce pipeline count
2022-09-19VideoCommon: Use std::array in PortableVertexDeclarationTellowKrinkle
2022-09-19VideoBackends:D3D12: Dynamic vertex loader supportTellowKrinkle
2022-09-19VideoCommon: Add separate pipeline usage for UberShadersTellowKrinkle
2022-09-19VideoCommon: Compile a few extra pipelinesTellowKrinkle
2022-09-19VideoCommon: Add dynamic vertex loader to ubershadersTellowKrinkle
2022-09-19VideoBackends - Enable Metal without VulkanJosh
2022-09-18VertexLoaderARM64: Fix direct normal+tangent+binormal with index3 setPokechu22
Fixes https://bugs.dolphin-emu.org/issues/12952
2022-09-18VertexLoaderARM64: Specify the register to use as a parameter to ReadVertexPokechu22
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.
2022-09-18VertexLoaderARM64: Merge GetAddressImm into GetVertexAddrPokechu22
This way it more closely matches VertexLoaderX64, and is in general easier to understand.
2022-09-18VertexLoaderARM64: Always use unscaled load/store instructionsPokechu22
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.
2022-09-18VertexLoaderARM64: Use EnumMap for normal scalesPokechu22
2022-09-18VertexLoaderX64: Fix direct normal+tangent+binormal with index3 setPokechu22
Fixes https://bugs.dolphin-emu.org/issues/12952
2022-09-18VertexLoaderX64: Use EnumMap for normal scalesPokechu22
2022-09-19OpcodeDecoding: Get vertex size from the loaderRobin Kertels
2022-09-19VertexLoaderManager: Clean up and slightly speed up with templatesRobin Kertels
2022-09-15VertexLoaderManager: Fix backwards preprocess checkRobin Kertels
Spotted by Pokechu22.
2022-09-15VertexLoader: Inline GetSizeRobin Kertels
2022-09-15VertexLoader: Optimize GetVertexSizeRobin Kertels
GetComponentSizes was unused, so we simplify this and get rid of the branches.
2022-09-08Merge pull request #11007 from PEmu2/enjAdmiral H. Curtiss
Edit error message
2022-09-08Merge pull request #10881 from iwubcode/graphics-mod-draw-fb-texture-namesAdmiral H. Curtiss
VideoCommon: fix graphics target texture names for efb/xfb
2022-09-08Merge pull request #10549 from Pokechu22/sw-tev-enum-mapPokechu22
Refactor various bits of graphics code for readability
2022-08-29TextureInfo: Reorder members in constructorMerry
m_stage is initialized last
2022-08-29GraphicsModManager: Reorder DecoratedAction members to initialization orderMerry
m_action_impl is initialized before m_mod in constructor
2022-08-29Fifo analyzer: Fix various XF mistakesPokechu22
* '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
2022-08-29Fifo analyzer: Improve some BP descriptionsPokechu22
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.
2022-08-29UberShaderPixel: Fix typoPokechu22
2022-08-29BPMemory: Make TevKSel more clearPokechu22
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.
2022-08-29BPMemory: Use even/odd in TwoTevStageOrders instead of 0/1Pokechu22
2022-08-29BPMemory: Improve consistency of hex offset commentsPokechu22
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.
2022-08-23Use `__VA_OPT__(, ) __VA_ARGS__` instead of `##__VA_ARGS__`Pokechu22
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).
2022-08-22Edit error messagePEmu2
Edit error message to be less sarcastic. I doubt many users appreciate this when Dolphin has just crashed.
2022-08-20VideoCommon: Fix OpenGL ES GPU texture decodingJosJuice
2022-08-18Fix crashes in dual core mode on a PI_FIFO_RESETCasualPokePlayer
2022-08-10Common:X64ABI: Make proper stack framesTellowKrinkle
2022-08-06VideoCommon: update ubershader pixel to not enforce d3d when writing color ↵iwubcode
output that has been defined as uints
2022-08-06VideoCommon: fix uint shader compiler error in specialized shaders. This ↵iwubcode
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.
2022-08-06VideoCommon: fix graphics target not properly setting 'draw_started' texture ↵iwubcode
names for efb/xfb
2022-08-05Merge pull request #10946 from Pokechu22/remove-iLogScott Mansell
VideoCommon: Remove old iLog field
2022-08-04VideoCommon: Remove old iLog fieldPokechu22
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.