summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends
AgeCommit message (Collapse)Author
2022-08-29SW/Tev: Use TevColorRef/TevAlphaRef instead of raw s16 pointersPokechu22
2022-08-28SW/Rasterizer: Fix indirect stage using texture coordinates/maps >= 4Pokechu22
The masking was incorrect. This affects the main menu of The Last Avatar, though that menu also relies on copy filter functionality that is not correctly handled in the software renderer so the difference is not obvious; that game shuffles textures across all indices for some reason, so this issue would presumably result in subtle flickering.
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-17D3DCommon: Remove unused swap chain functionsPokechu22
These were added in ea15080d8f59a62ba347ff4c6037116035bc69b4 (which added D3DCommon), but never were used.
2022-08-17Vulkan: Remove unused swap chain functionsPokechu22
These were added in 5e29508b8f4747e92e8de68b75971f26e4a78cd4 and 1f2d43c8709e5fab2f8c3c7de81bdf160b5f6363, but were replaced with CONFIG_CHANGE_BIT_VSYNC and CONFIG_CHANGE_BIT_STEREO_MODE in e4b205c76937d379cd9043939e2cef1651b1a21b.
2022-07-23MTLUtil: Include TargetConditionalsOatmealDome
2022-07-23MTLMain: Include TargetConditionalsOatmealDome
2022-07-23MTLMain: Only compile NSView manipulation code on macOSOatmealDome
2022-07-23MTLUtil: Return invalid for non-supported texture formats on non-macOS platformsOatmealDome
2022-07-23MTLUtil: Don't attempt to get all GPUs on non-macOS platformsOatmealDome
2022-07-23CMakeLists: Link videometal with FoundationOatmealDome
2022-07-21VideoBackends:Multiple: Grammar fixesTellowKrinkle
2022-07-21VideoBackends:Metal: Remove unified memory configTellowKrinkle
Not worth the extra code
2022-07-21VideoBackends:Metal: Avoid submitting draw calls with no vertices/indicesTellowKrinkle
2022-07-21VideoBackends:Metal: Implement PerfQueryTellowKrinkle
2022-07-21VideoBackends:Metal: Use unified memory path by default on all GPUsTellowKrinkle
2022-07-21VideoBackends:Metal: MSAA supportTellowKrinkle
2022-07-21VideoBackends:Metal: Use base vertexTellowKrinkle
2022-07-21VideoBackends:Metal: Cache pipelinesTellowKrinkle
Metal pipelines hold less stuff than Dolphin pipelines, so duplicates will appear
2022-07-21VideoBackends:Metal: Create samplers on demandTellowKrinkle
2022-07-21VideoBackends:Metal: FBFetch for Intel GPUsTellowKrinkle
2022-07-21VideoBackends:Metal: Use DriverDetails for bugsTellowKrinkle
2022-07-21VideoBackends: Add Metal rendererTellowKrinkle
2022-07-17Merge pull request #10747 from tellowkrinkle/LateUIDFixupJMC47
Add a post-cache shader UID fixup pass
2022-07-16Software: Use hardware-verified numbers for RGB->YUV conversionPokechu22
2022-07-16Restructure parameters to TetxureConverterShaderGen/TextureConversionShaderPokechu22
This will be used for later refactoring for increased accuracy.
2022-07-13VideoCommon: Better driver bug handlingTellowKrinkle
Adds a pass to process driver deficiencies between UID caching and use, allowing a full view of the whole pipeline, since some bugs/workarounds involve interactions between blend modes and the pixel shader
2022-07-10Merge pull request #10749 from tellowkrinkle/IntelUbershadersJMC47
VideoCommon: Fix ubershaders on MoltenVK Intel
2022-07-10Merge pull request #10829 from AdmiralCurtiss/spirv-cross-cmake-fixJosJuice
Fix CMake Windows build after #10673 (HLSL from SPIRV).
2022-07-09ShaderCompiler: Use compute shader header in compute shadersOatmealDome
2022-07-10D3DCommon: Add glslang include directories in CMake.Admiral H. Curtiss
2022-07-08Merge pull request #10673 from iwubcode/spirv-backendsJMC47
D3D: Generate HLSL from SPIRV*
2022-06-30Resolve GCC WarningsMinty-Meeo
2022-06-24VideoBackends / VideoCommon: refactor Vulkan to use new SPIRV functionalityiwubcode
2022-06-24D3D: update BoundingBox to match generated shader codeiwubcode
2022-06-24D3D / VideoCommon: generate HLSL from SPIRViwubcode
2022-06-16VideoCommon: Fix SSBO layout and remove associated "bug"TellowKrinkle
2022-06-14VideoCommon: Fix Intel GPUs on Metal/Vulkan locking up in ubershadersTellowKrinkle
2022-06-01VKMain: Remove check for macOS 10.14OatmealDome
2022-05-22cmake: Don't use PCH with Qt6.Admiral H. Curtiss
2022-05-18Show a panic alert if the CP matrix indices don't match the XF matrix indicesPokechu22
This almost certainly never happens, but if it does we want to know.
2022-04-24Merge pull request #10251 from Pokechu22/negative-scissorJMC47
Rework scissor handling
2022-04-24Merge pull request #10601 from Pokechu22/vulkan-shader-compile-errorPokechu22
Vulkan: Improve shader compile error handling
2022-04-24Merge pull request #10290 from OatmealDome/m1-earlyz-bugJMC47
DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUs
2022-04-22VideoCommon: Add comment explaining why only the first normal gets normalizedPokechu22
Co-authored-by: Scott Mansell <phiren@gmail.com>
2022-04-22VideoCommon: Handle emboss texgen with only a single normalPokechu22
Fixes a large number of effects in Rogue Squadron 2 and 3.
2022-04-22VideoCommon: Rename norm0/norm1/norm2 to normal/tangent/binormalPokechu22
2022-04-22Vulkan: Include the info log in the shader compile error panic alertPokechu22
The other backends do this, and it is helpful for quickly identifying errors during development.
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-20DriverDetails: Add broken discard with early-Z bug on Apple Silicon GPUsOatmealDome