summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
AgeCommit message (Collapse)Author
2022-02-12VideoCommon/Fifo: Use GPFifo::GATHER_PIPE_SIZE instead of magic 32Pokechu22
2022-02-12CommandProcessor: Remove redundant GATHER_PIPE_SIZE constantPokechu22
2022-02-08Treat alpha as 0 if alpha is 1 for blendingPokechu22
This removes the white box in fortune street again, without causing Mario Kart Wii to regress.
2022-02-08Use the same logic for lerp bias for color and alphaPokechu22
It doesn't make sense for alpha to add the bias ONLY when dividing by 2, while color doesn't apply the bias for divide by 2 only; hardware testing indicates that alpha should have the bias. This fixes the menus in Mario Kart Wii (https://bugs.dolphin-emu.org/issues/11909) but reintroduces the white rectangle in Fortune Street. This reverts commit 5aaa5141ed76acc3fffc70561a6b6e7fe3b9b470 (and several other matching changes elsewhere).
2022-02-07RenderState: Set source and destination alpha factors in logic op workaroundOatmealDome
2022-02-04Merge pull request #10417 from jordan-woyak/libavformat-59-build-fixAdmiral H. Curtiss
VideoCommon/FrameDump: Build fix for libavformat major version 59 and newer.
2022-01-31Merge pull request #10422 from OatmealDome/opengl-shader-crashJMC47
VideoConfig: Add flag for whether the system supports setting object names
2022-01-31VideoConfig: Add flag for whether the system supports setting object namesOatmealDome
2022-01-30VideoCommon/FrameDump: Build fix for libavformat major version 59 and newer. ↵Jordan Woyak
av_guess_format now returns a pointer to const.
2022-01-29Fix copy filter clamping when EFB VRAM copies are disabledPokechu22
2022-01-29IOFile: Make origin parameter to Seek() an enum class.Admiral H. Curtiss
2022-01-28Merge pull request #10401 from JosJuice/adreno-primitive-restartJMC47
DriverDetails: Disable primitive restart on Adreno
2022-01-28DriverDetails: Disable primitive restart on AdrenoJosJuice
Turning off primitive restart increases performance a lot on Adreno for some reason. We're talking numbers like 50%-100% faster in situations which are bottlenecked by rendering.
2022-01-27Merge pull request #10396 from Pokechu22/efb-copy-clampJMC47
Fix copy filter clamping (again)
2022-01-26UberShaderPixel: Fix typo in fog calculationPokechu22
2022-01-26Merge pull request #10387 from Pokechu22/geometry-shader-always-write-layerPokechu22
GeometryShaderGen: Write the layer for every vertex
2022-01-25Fix incorrect copy filter clampingPokechu22
We need to clamp to the center of pixels, or else things end up working out incorrectly. This also fixes an off-by-1 for the bottom line.
2022-01-25TextureConverterShaderGen: Add missing newlinePokechu22
2022-01-22VideoCommon: Move logging/seen check for unknown opcodes into CommandProcessorPokechu22
That way, they're in the same place the panic alerts are generated.
2022-01-22OpcodeDecoding: Don't raise panic alerts for unknown opcodes 0x01-0x07Pokechu22
A pop-up is no longer generated for the Wiggler capsule in Mario Party 5 (https://bugs.dolphin-emu.org/issues/8104).
2022-01-22GeometryShaderGen: Write the layer for every vertexPokechu22
At least in GLSL, after calling EmitVertex() the value of all 'out' variables (including gl_Layer and ps) becomes undefined. On OpenGL it seems like they were unchanged, but on Vulkan they became 0, resulting in bad rendering. Fixes https://bugs.dolphin-emu.org/issues/12001
2022-01-16GXPipelineUid: remove explicit shallow copy where it's the defaultShawn Hoffman
2022-01-13Fix non-constexpr format stringsPokechu22
2022-01-13Fix ambiguous uses of format_toPokechu22
At least in MSVC (which is not restricted from targetting C++20), these can be resolved to either std::format_to or fmt::format_to (though I'm not sure why the std one is available). We want the latter.
2022-01-13Make all fmt::formatter constructors constexprPokechu22
2022-01-13Make all custom fmt::formatter's format functions constPokechu22
fmt 8.0.0 requires this.
2022-01-13Use fmt::format_stringPokechu22
2022-01-13Replace uses of undocumented/deprecated fmt::format_to overloadPokechu22
This was deprecated in fmt 8.0.0.
2022-01-12PixelShaderGen: Fix invalid use of int3(0)Pokechu22
This syntax is allowed by GLSL, but HLSL doesn't allow it. This meant that games using R8 comparisons in equal mode would produce shaders that failed to compile. Super Mario Galaxy's water levels were affected by this.
2022-01-11Merge pull request #10356 from AdmiralCurtiss/config-port-core-4JMC47
Config: Port remaining Core settings to new config system (the rest).
2022-01-09Treewide: Remove unused inclusions of <cinttypes>Pokechu22
Most of these became unneeded when fmt was introduced.
2022-01-09Common/Assert: Switch to fmtPokechu22
2022-01-09Config: Port SyncGPU settings to new config system.Admiral H. Curtiss
2022-01-09Config: Port dual core setting to new config system.Admiral H. Curtiss
2022-01-06Merge pull request #10346 from iwubcode/fixed_shader_precompile_parallelizationJMC47
VideoCommon: Fix shader precompilization detection
2022-01-06Config: Port GPUDeterminismMode setting to new config system.Admiral H. Curtiss
2022-01-06Config: Port emulation speed setting to new config system.Admiral H. Curtiss
2022-01-04VideoCommon: assume the majority of os/drivers support parallel compiling of ↵iwubcode
shaders, we can create bugs if there are issues. Android is assumed buggy
2022-01-04Merge pull request #9414 from DevJPM/masterJMC47
Fix CPU Core Count detection and Enable Parallel Shader Compilation
2022-01-03Merge pull request #10332 from AdmiralCurtiss/config-port-generalLéo Lam
Config: Port remaining General settings to new config system.
2022-01-01VideoCommon: Add names for textures and shadersPokechu22
2022-01-01Config: Port remaining General settings to new config system.Admiral H. Curtiss
2021-12-30Config: Port Movie settings to new config system.Admiral H. Curtiss
2021-12-28GLES: Fix LOD bias int/float mismatchJosJuice
Another simple GLES shader compilation error.
2021-12-28Merge pull request #10292 from OatmealDome/lodbias-take-twoJMC47
PixelShaderGen: Use LOD bias when sampling texture on Metal and OpenGL ES
2021-12-28PixelShaderGen: Add LOD bias to texture() call on systems that don't support ↵OatmealDome
it in the sampler
2021-12-28ShaderGenCommon: Add bit for LOD biasOatmealDome
2021-12-25VideoConfig: Add bool for sampler LOD bias supportOatmealDome
2021-12-23GeomeryShaderGen: Set gl_ClipDistance on Vulkan as well as OpenGLPokechu22
Fixes https://bugs.dolphin-emu.org/issues/12548
2021-12-22LightingShaderGen: Make s_lighting_struct not inlinePokechu22
This generated warnings on the freebsd builder.