summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan
AgeCommit message (Collapse)Author
2022-09-19VideoBackends:Vulkan: Dynamic vertex loader supportTellowKrinkle
2022-09-19VideoCommon: Add separate pipeline usage for UberShadersTellowKrinkle
2022-09-19VideoCommon: Add dynamic vertex loader to ubershadersTellowKrinkle
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-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-21VideoBackends:Multiple: Grammar fixesTellowKrinkle
2022-07-21VideoBackends:Metal: MSAA supportTellowKrinkle
2022-07-21VideoBackends: Add Metal rendererTellowKrinkle
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-09ShaderCompiler: Use compute shader header in compute shadersOatmealDome
2022-06-24VideoBackends / VideoCommon: refactor Vulkan to use new SPIRV functionalityiwubcode
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-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: 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
2022-04-19DriverDetails: Introduce new VENDOR_APPLE for Apple GPUsOatmealDome
2022-04-19VKPipeline: Add shader blending supportOatmealDome
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-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-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-29Externals / Vulkan: update Vulkan headers to v1.3.204. Fix default present ↵iwubcode
mode in Vulkan swap chain
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-03Vulkan: Check for vkSetDebugUtilsObjectNameEXT before using itJosJuice
Fixes a crash that has been present on Android (and probably also macOS) since f6883a0.
2021-12-28VulkanContext: Ensure present queue family is valid before incrementing ↵OatmealDome
queueCreateInfoCount
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-10Treewide: Adjust order of includesPokechu22
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-17VideoCommon: Skip textureQueryLevels if it doesn't existPokechu22
2021-11-17VideoCommon: Use coarse derivatives for Manual Texture Sampling if possiblePokechu22
2021-11-17VideoCommon: Expose SamplerState to shadersPokechu22
The benefit to exposing this over the raw BP state is that adjustments Dolphin makes, such as LOD biases from arbitrary mipmap detection, will work properly.
2021-11-13MoltenVK: Use an external project instead of a pre-compiled dylibOatmealDome
Also, update MoltenVK to match Vulkan SDK 1.2.189.
2021-10-24Convert LOG_TYPE and LOG_LEVELS to enum classPokechu22
2021-10-13Fix all uninitialized variable warnings (C26495)Pokechu22