summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2022-04-22Vulkan: Close the output stream on shader compile error before showing the ↵Pokechu22
panic alert This fixes the file showing up as 0 bytes in Windows Explorer (although the file would still display properly when opened).
2022-04-08Software: Fix zfreeze with CullMode::AllPokechu22
2022-04-08Software: Store offset in SlopePokechu22
This is needed since we need a separate offset for zfreeze to work correctly. It also makes the code a bit less jank.
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-03-29Software: Implement pixel engine alpha read modePokechu22
2022-03-24VideoBackends: fix opengl object label which was given an invalid ↵iwubcode
enumeration as the identifier parameter. Most implementations will warn in this case but there is an implementation that will crash (ANGLE)
2022-03-08Software/EfbInterface: Remove logspam for RGB565_Z16 being unsupportedPokechu22
This message would be logged, usually multiple times, for EVERY. SINGLE. PIXEL. That's pretty much useless and just makes the log unreadable. Plus, the current support (which acts as RGB8) is close enough that for end-user purposes, it's fine. I don't think the hardware backends support RGB565_Z16 and its antialiasing functionality correctly either, but they don't have similar logspam.
2022-02-23OGLRender: Log video backend info, in addition to showing it via OSDPokechu22
This is mainly intended for debugging fifo.ci.
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-08OGLMain: Set default value for bSupportsSettingObjectNamesOatmealDome
2022-02-04Merge pull request #10404 from iwubcode/vulkan_headers_updateMai M
Externals / Vulkan: update Vulkan headers to v1.3.204
2022-01-31Merge pull request #10422 from OatmealDome/opengl-shader-crashJMC47
VideoConfig: Add flag for whether the system supports setting object names
2022-01-31D3D12: Assume support for setting object namesOatmealDome
2022-01-31D3DMain: Assume support for setting object namesOatmealDome
2022-01-31VKShader: Only set shader name if supportedOatmealDome
2022-01-31VKTexture: Only set texture name if supportedOatmealDome
2022-01-31VulkanContext: Set bSupportsSettingObjectNames based on extension ↵OatmealDome
initialization result
2022-01-31VulkanEntryPoints: Make vkSetDebugUtilsObjectNameEXT an instance functionOatmealDome
2022-01-31Revert "Vulkan: Check for vkSetDebugUtilsObjectNameEXT before using it"OatmealDome
This reverts commit 2ab66390f8a461b074cb3cf6073b8f9d60875436.
2022-01-31OGLTexture: Only set texture name if supportedOatmealDome
2022-01-31OGLShader: Only set shader name if supportedOatmealDome
2022-01-31OGLRender: Set object name support on GL >4.3 and GL ES 3.2OatmealDome
2022-01-31VideoConfig: Add flag for whether the system supports setting object namesOatmealDome
2022-01-29Externals / Vulkan: update Vulkan headers to v1.3.204. Fix default present ↵iwubcode
mode in Vulkan swap chain
2022-01-20Merge pull request #10367 from Pokechu22/fmt-8.1.1JosJuice
Update to fmt 8.1.1
2022-01-14Fix static initialisation order fiasco issue for Version variablesLéo Lam
Fixes a crash that could occur if the static constructor function for the MainSettings.cpp TU happened to run before the variables in Common/Version.cpp are initialised. (This is known as the static initialisation order fiasco.) By using wrapper functions, those variables are now guaranteed to be constructed on first use.
2022-01-13Make all custom fmt::formatter's format functions constPokechu22
fmt 8.0.0 requires this.
2022-01-09Use HRWrap in remaining locationsPokechu22
Note that D3DCommon can't use DX11HRWrap or DX12HRWrap since it's shared between them.
2022-01-09VideoBackends/D3D12: Include HRESULT in error messagesPokechu22
2022-01-09VideoBackends/D3D11: Include HRESULT in error messagesPokechu22
2022-01-09VideoBackends/D3D: Eliminate CHECK in favor of ASSERT_MSGPokechu22
2022-01-09Treewide: Remove unused inclusions of <cinttypes>Pokechu22
Most of these became unneeded when fmt was introduced.
2022-01-03Vulkan: Check for vkSetDebugUtilsObjectNameEXT before using itJosJuice
Fixes a crash that has been present on Android (and probably also macOS) since f6883a0.
2022-01-03D3D12: Fix nullptr dereference when creating a shader with a name.Admiral H. Curtiss
2022-01-01Merge pull request #10311 from JosJuice/gles-sampler2dmsarrayLéo Lam
GLES: Fix missing precision for sampler2DMSArray
2021-12-28VulkanContext: Ensure present queue family is valid before incrementing ↵OatmealDome
queueCreateInfoCount
2021-12-28GLES: Fix missing precision for sampler2DMSArrayJosJuice
We don't use sampler2DMS, but we do use sampler2DMSArray. I can't reproduce it on my phone, but a user who was running GLES on a Tegra X1 reported a shader compilation error related to this.
2021-12-25SamplerCache: Check for bSupportsLodBiasInSampler instead of IsGLESOatmealDome
2021-12-25VideoConfig: Add bool for sampler LOD bias supportOatmealDome
2021-12-22Merge pull request #10215 from OatmealDome/shader-logic-opsJMC47
VideoCommon: Support shader logic ops on Metal (Apple GPUs) and OpenGL ES
2021-12-18Eliminate VarType for ComponentFormatPokechu22
2021-12-18Convert OpcodeDecoder::Opcode and OpcodeDecoder::Primitive to enum classPokechu22
2021-12-18Remove parameters to SWVertexLoader::SetFormatPokechu22
They haven't been used since efbe5bc4b65.
2021-12-10Treewide: Adjust order of includesPokechu22
2021-12-06ProgramShaderCache: Don't define FB_FETCH_VALUE for ↵OatmealDome
GL_EXT_shader_framebuffer_fetch We will automatically choose between real_ocol0 and ocol0 in the fragment shader.
2021-12-06ShaderCompiler: Add helpers for Metal framebuffer fetchOatmealDome
2021-12-06ShaderCompiler: Add new helper define for input attachment bindingOatmealDome
2021-11-24VulkanContext: Set Apple GPUs as supporting framebuffer fetchOatmealDome
2021-11-18Merge pull request #10222 from phire/fix-copy-filter-clampingJMC47
Fix copy filter clamping