| Age | Commit message (Collapse) | Author |
|
VideoBackends:Metal: Default to presentDrawable when vsync is on
|
|
This only actually fails on specific Metal drivers, this way doing it will actually fail the CI and we'll notice
|
|
These cause a lot of warnings when compiling with clang.
And the example VmaUsage.h appears to disable them
|
|
default to layer 0
|
|
copying more than one layer doesn't make sense given that we provide both the source/destination layer
|
|
GL_EXT_shader_framebuffer_fetch is not restricted to GLES (although GL_ARM_shader_framebuffer_fetch is), and is available on Intel GPUs.
|
|
Software: Remove alpha=1 blending special-case
|
|
|
|
VideoCommon: De-globalize VertexShaderManager class.
|
|
This was added in #10394 for both the hardware and software backends to work around an issue with Mario Kart Wii, Fortune Street, and Baten Kaitos. However, it seems like the software renderer handles blending well enough that we don't need this (and in any case, it's easy to change blending in the software renderer).
Some experimentation with #11387 (not pushed) showed that the software renderer's logic would also produce correct results on the hardware backends with this hack removed, but would require fbfetch (currently); if a better solution is found the hack can also be removed from the hardware backends.
|
|
VideoBackends:Vulkan: Migrate to VK_EXT_debug_utils
|
|
|
|
|
|
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.
|
|
Surely this is fixed by now.
|
|
With the upgrade to C++20, std::countl_zero and std::countr_zero can replace these home-spun implementations from the BitUtil.h library.
|
|
Common: Use C++20 <bit> header in BitSet.h
|
|
VideoBackends: Query fixes and cleanups
|
|
|
|
|
|
HW/Memmap: Refactor Memory to class, move to Core::System.
|
|
VideoBackends:Vulkan: Synchronize presentation
|
|
|
|
|
|
|
|
HOST barriers need to be issued regardless of
whether the memory type is coherent
and we need to properly synchronize writes to the buffer.
|
|
|
|
Fixes both checking whether queries are done
and actually resets query pools.
|
|
|
|
|
|
|
|
Synchronize with the submission thread
if the last present is not done yet.
|
|
VideoCommon/Statistics: Require semicolons after statistics macros
|
|
|
|
Passing -1 means the driver has to call strlen().
|
|
This fixes GL_INVALID_VALUE errors when using GPU texture decoding.
|
|
[ VUID-VkDescriptorPoolCreateInfo-maxSets-00301 ] Object 0:
handle = 0x7f1,b8d,3cd,e70, type = VK_OBJECT_TYPE_DEVICE; |
MessageID = 0xa1,70e,236 | vkCreateDescriptorPool():
pCreateInfo->maxSets is not greater than 0.
The Vulkan spec states: maxSets must be greater than 0
|
|
This is clearer and reduces IntelliSense problems.
|
|
BindFramebuffer depends on the pipeline which might not be set yet.
That's why the framebuffer dirty flag exists in the first place.
I assume BindFramebuffer was called directly here, in order to handle
the texture state transitions necessary for DiscardResource.
The state is tracked anyway, so we can just issue those transitions there
too and defer binding the actual framebuffer.
Fixes an issue in Zelda Twilight Princess with EFB depth peeks.
Dolphin would bind a frame buffer which doesn't have an integer format
descriptor for the color target before binding the new pipeline.
So it would accidentally use the 0 descriptor.
Debug layer error:
D3D12 ERROR: ID3D12CommandList::OMSetRenderTargets:
Specified CPU descriptor handle ptr=0x0000000000000000 does not refer to
a location in a descriptor heap. pRenderTargetDescriptors[0] is the issue.
[ EXECUTION ERROR #646: INVALID_DESCRIPTOR_HANDLE]
|
|
Fixes the following error in the D3D12 debug layer:
D3D12 WARNING: ID3D12Device::CreateCommittedResource:
Ignoring InitialState D3D12_RESOURCE_STATE_UNORDERED_ACCESS.
Buffers are effectively created in state D3D12_RESOURCE_STATE_COMMON.
[ STATE_CREATION WARNING #1328: CREATERESOURCE_STATE_IGNORED]
|
|
visible heap
Fixes the following error in the D3D12 debug layer:
D3D12 ERROR: ID3D12DescriptorHeap::GetGPUDescriptorHandleForHeapStart:
GetGPUDescriptorHandleForHeapStart is invalid to call on a descriptor
heap that does not have DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE set.
If the heap is not supposed to be shader visible, then
GetCPUDescriptorHandleForHeapStart would be the appropriate method
to call. That call is valid both for shader visible and non shader
visible descriptor heaps.
[ STATE_GETTING ERROR #1315: DESCRIPTOR_HEAP_NOT_SHADER_VISIBLE]
|
|
|
|
VideoBackends:Vulkan: Improve backend multithreading
|
|
|
|
Various Metal renderer improvements
|
|
VideoCommon: Add vertex shader point/line expansion
|
|
|
|
|
|
|
|
|