summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp
AgeCommit message (Collapse)Author
2022-12-27VideoBackends:Vulkan: Replace debug_report with debug_utilsRobin Kertels
The former is deprecated and pretty much all modern drivers support VK_EXT_debug_utils. Android drivers dont support it. On those drivers, we use the implementation provided by the validation layers.
2022-10-24Merge pull request #11028 from tellowkrinkle/MetalFixesJMC47
Various Metal renderer improvements
2022-10-23Merge pull request #10890 from tellowkrinkle/VertexLineExpandJMC47
VideoCommon: Add vertex shader point/line expansion
2022-10-23VideoBackends:Vulkan: Clean up unused memory allocation codeRobin Kertels
2022-10-22VideoBackends:Vulkan: Add support for vertex shader point and line expansionTellowKrinkle
2022-10-23VideoBackends:Vulkan: Set up VMARobin Kertels
Co-authored-by: iwubcode <iwubcode@users.noreply.github.com>
2022-10-08VideoBackends:Multiple: More GPUs with broken subgroup opsTellowKrinkle
2022-10-01VideoBackends:Vulkan: Fix validation error around surface_capabilities2Robin Kertels
2022-09-19VideoBackends:Vulkan: Dynamic vertex loader supportTellowKrinkle
2022-09-19VideoCommon: Add dynamic vertex loader to ubershadersTellowKrinkle
2022-07-21VideoBackends:Metal: MSAA supportTellowKrinkle
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-06-14VideoCommon: Fix Intel GPUs on Metal/Vulkan locking up in ubershadersTellowKrinkle
2022-04-24Merge pull request #10251 from Pokechu22/negative-scissorJMC47
Rework scissor handling
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-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-01-31VulkanContext: Set bSupportsSettingObjectNames based on extension ↵OatmealDome
initialization result
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-10Treewide: Adjust order of includesPokechu22
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-10-24Convert LOG_TYPE and LOG_LEVELS to enum classPokechu22
2021-09-20VulkanContext: Don't assume anv for Intel GPUs on macOSOatmealDome
2021-09-16VulkanContext: Disable subgroup reduction on macOS with AMD GPUsOatmealDome
2021-08-30VideoBackends / VideoCommon: allow the ability to set debug names for ↵iwubcode
shaders / textures. These names are visible in applications like RenderDoc
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2020-12-02General: Convert PanicAlerts over to fmt equivalentLioncash
Converts lingering panic alert calls over to the fmt-capable ones.
2020-11-09Vulkan: Migrate logging over to fmtLioncash
Migrates the vulkan backend over to the fmt-capable logger.
2020-10-08DriverDetails: Remove bug for broken GPU Texture DecodingTechjar
2020-10-01Vulkan: Use VK_LAYER_KHRONOS_validation for validationStenzek
VK_LAYER_LUNARG_standard_validation is deprecated.
2020-09-07VideoBackends: Disable GPU Texture Decoding under MoltenVKTechjar
It's broken and causes spectacular artifacts and crashes.
2020-04-07Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT()Stenzek
Since we are calling this off the UI thread, we can't use anything which accesses the underlying NSView object. We create and set the Metal layer on the UI thread before the video backend is initialized. This extension is both compatible with MoltenVK and gfx-portability for accepting a layer at surface creation.
2019-11-28Common: Unify logging namespace with CommonLioncash
Previously the logging was a in a little bit of a disarray. Some things were in namespaces, and other things were not. Given this code will feature a bit of restructuring during the transition over to fmt, this is a good time to unify it under a single namespace and also remove functions and types from the global namespace. Now, all functions and types are under the Common::Log namespace. The only outliers being, of course, the preprocessor macros.
2019-10-31Vulkan: Exclusive fullscreen support via VK_EXT_full_screen_exclusiveStenzek
2019-10-31Vulkan: Explicitly enable VK_KHR_get_physical_device_properties2Stenzek
This was missing from the subgroup PR way back.
2019-10-31Vulkan: Allow runtime querying of enabled extensionsStenzek
2019-10-02Vulkan: Add a DriverDetails bug for "slow cached readback memory"Stenzek
Using the cached memory type appears to be slower on Mali drivers, with ~10-15% CPU spent in the __pi___inval_cache_range kernel function.
2019-10-02Vulkan: Add strict flag to memory type selectionStenzek
2019-07-19Merge pull request #8249 from lioncash/rectConnor McLaughlin
VideoCommon: Remove unused MathUtil.h include from VideoCommon.h
2019-07-18Vulkan: Use reversed depth range in viewportStenzek
Also adds a DriverDetails bug to disable on drivers where this is still broken.
2019-07-16VideoCommon: Remove unused MathUtil.h include from VideoCommon.hLioncash
This header doesn't actually make use of MathUtil.h within itself, so this can be removed. Many other source files used VideoCommon.h as an indirect include to include MathUtil.h, so these includes can also be adjusted. While we're at it, we can also migrate valid inclusions of VideoCommon.h into cpp files where it can feasibly be done to minimize propagating it via other headers.
2019-04-16AbstractPipeline: Support returning "cache data"Stenzek
"Cache data" can be used to assist a driver with creating pipelines by using previously-compiled shader ISA.
2019-03-30Vulkan: Fix crash when checking subgroup support on MesaStenzek
2019-03-29Vulkan: Support subgroup reduction operations via GL_KHR_shader_subgroupStenzek
2019-03-09VideoConfig: Add SupportsPartialDepthCopies to backend infoStenzek
D3D11 doesn't support partial copies of depth buffers via CopySubResource(), so we need to use a different path for the EFB cache.
2019-02-19Move most backend functionality to VideoCommonStenzek