summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2022-04-22Convert vertex loader position cache to std::arrayPokechu22
2022-04-22VertexLoaderX64: Refactor so that zfreeze is only in one placePokechu22
(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-22VertexLoaderARM64: Fix z-freeze position matrix indexPokechu22
Before, it would always write to index 0 (which is unused). Now it writes to the correct index.
2022-04-22VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormalPokechu22
2022-04-22VertexShaderGen: Simplify normal calculationPokechu22
This is a readability change; there should be no functional or performance differences.
2022-04-20DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUsOatmealDome
2022-04-19DriverDetails: Introduce new VENDOR_APPLE for Apple GPUsOatmealDome
2022-04-19UberShaderPixel: Add support for non-dual source shader blendingOatmealDome
2022-04-19PixelShaderGen: Add support for non-dual source shader blendingOatmealDome
2022-04-18Common/PointerWrap: Prevent reads/writes past the end of the buffer.Admiral H. Curtiss
2022-04-18Common/PointerWrap: Hide internals.Admiral H. Curtiss
2022-04-16Implement ImGui window for scissor rectanglesPokechu22
This is mainly for debugging, and is only exposed by manually editing the configuration.
2022-04-16VideoCommon: Rework scissor handlingPokechu22
This increases accuracy, fixing the white rendering in Major Minor's Majestic March. However, the hardware backends can only have one viewport and scissor rectangle at a time, while sometimes multiple are needed to accurately emulate what is happening. If possible, this will need to be fixed later.
2022-04-16VideoCommon: Remove bSupportsOversizedViewportsPokechu22
I think this is a relic of D3D9. D3D11 and D3D12 seem to work fine without it. Plus, ViewportCorrectionMatrix just didn't work correctly (at least with the viewports being generated by the new scissor code).
2022-04-16VideoCommon: Create dedicated structs for scissor pos/offsetPokechu22
2022-04-15Merge pull request #10255 from Pokechu22/sw-zfreezeScott Mansell
Software: Fix zfreeze with CullMode::All
2022-04-10MoltenVK: Fix pixel shader typoJosJuice
2022-04-09Merge pull request #10571 from AdmiralCurtiss/ffmpeg-custom-pix-fmtMai M
VideoCommon/FrameDump: Allow user to specify a pixel format.
2022-04-08Software: Fix zfreeze with CullMode::AllPokechu22
2022-04-08Software: Remove config to disable ZComploc and ZFreezePokechu22
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-08Round viewport coordinates when vertex rounding is enabledPokechu22
This should fix https://bugs.dolphin-emu.org/issues/9105
2022-04-08VertexShaderManager: Use g_ActiveConfig.UseVertexRounding()Pokechu22
2022-04-08Fix typo (GFX_HACK_VERTEX_ROUDING -> GFX_HACK_VERTEX_ROUNDING)Pokechu22
2022-04-09VideoCommon/FrameDump: Fix log messages with arguments.Admiral H. Curtiss
2022-04-09VideoCommon/FrameDump: Allow user to specify a pixel format.Admiral H. Curtiss
2022-04-07Merge pull request #10412 from Pokechu22/sw-efb-peek-alphaJMC47
Software: Implement pixel engine alpha read mode
2022-04-07Merge pull request #10485 from JosJuice/real-ocol0-logic-opsJosJuice
Shadergen: Use real_ocol0 workaround for shader logic ops
2022-03-29framedump: enable compat with utvideo codecShawn Hoffman
2022-03-29FrameDump: improve debug loggingShawn Hoffman
2022-03-29windows: move ffmpeg bins to submoduleShawn Hoffman
udpate ffmpeg to b1cbeabf5e4b3234e895a58bafa371bfb792baf0 enable ffmpeg on arm64
2022-03-29PixelEngine: Convert to BitField and enum classPokechu22
2022-03-29PixelEngine: Remove old commentPokechu22
This comment was added in 76d24f2c0d8 (the link was updated in 5799824b226, but both are dead now). An archived version is at https://web.archive.org/web/20090830050441/http://developer.nvidia.com/object/General_FAQ.html#t6 but it's about the number of available texture units, which doesn't seem relevant to PixelEngine.
2022-03-25RenderBase: Add call to IMGUI_CHECKVERSION()Pokechu22
2022-03-21VideoCommon: Remove redundant in qualifiersJosJuice
ANGLE raises a compilation error otherwise.
2022-02-28Shadergen: Use real_ocol0 workaround for shader logic opsJosJuice
Previously we were using this workaround when using framebuffer fetch to emulate dual source blending, but it seems like we also need to use it when using framebuffer fetch to emulate logic ops, otherwise some Adreno devices get a crash when compiling OpenGL ES ubershaders. Using the workaround in specialized shaders doesn't seem to be necessary, but I've made the same change there for consistency. This gets us closer to fixing https://bugs.dolphin-emu.org/issues/12791 but doesn't actually fix it.
2022-02-28Merge pull request #10441 from OatmealDome/improved-logic-op-workaroundJMC47
BlendingState: Set source and destination alpha factors in logic op workaround
2022-02-28PixelShaderGen: Check uid_data for use_shader_logic_opJosJuice
On devices which have hardware support for dual source blending but not logic ops, this lets us skip performing the framebuffer fetch in situations where the game isn't actually using logic ops.
2022-02-21FramebufferManager: Flush pending EFB pokes in PopulateEFBCachePokechu22
I.e. flush pokes before running an EFB peek, if the cache tile isn't present. If the cache tile is present, then EFB pokes should have been written to the cache tile and thus don't need to be flushed.
2022-02-18Merge pull request #10455 from Pokechu22/directly-map-fifo-breakpointLéo Lam
CommandProcessor: Add FIFO_BP_LO/HI to directly_mapped_vars
2022-02-18Merge pull request #10460 from Dentomologist/convert_option_type_to_enum_classLéo Lam
VideoCommon: Convert OptionType to enum class
2022-02-18Merge pull request #10376 from shuffle2/uidctorLéo Lam
GXPipelineUid: remove explicit shallow copy where it's the default
2022-02-18ShaderGenCommon: Add missing <functional> includeTechjar
2022-02-17VideoCommon: Convert OptionType to enum classDentomologist
2022-02-16JitRegister: Use fmtMerry
Prefer fmt to printf-style formatting.
2022-02-15CommandProcessor: Add FIFO_BP_LO/HI to directly_mapped_varsPokechu22
directly_mapped_vars was added in #69 (4129b30494757a79daf8a07e6a07ea937ba1c94b), but for some reason FIFO_BP_LO/HI were split out from it in in #885 (65af90669bd5f9e02bbaa994d51d5c83d147b868). As far as I can tell, this code (and the code that existed at the time) is identical, so there's no reason to have it handled separately.
2022-02-13CommandProcessor: Log ignored unknown opcodes at warn levelPokechu22
Large amounts of logging can have an impact on performance, so moving the ones that have been determined to not matter to the warn level gives a way to hide those messages without hiding actual errors (and also gives a fast visual way of distinguishing between ignored and non-ignored ones due to the different colors).
2022-02-13CommandProcessor: Move unknown opcode log message before the panic alertPokechu22
This way, the extra information is already in the log by the time the panic alert appears, which is slightly more convenient for debugging.
2022-02-12CommandProcessor: Ignore unknown opcode for 0x3fPokechu22
2022-02-12CommandProcessor: Log PC and LR on unknown opcodesPokechu22
2022-02-12CommandProcessor: Move contents of second unknown opcode panic alert to the logPokechu22
This way, the information is always available, and users don't have to deal with a wall of meaningless information.