| Age | Commit message (Collapse) | Author |
|
|
|
We have TOO many video backends.
|
|
TextureCacheBase: Eliminate static state
|
|
Vulkan: Fix crash where a potentially deleted buffer is referenced
|
|
This happened when the geometry shader was disabled, and the uniform
buffer was grown to a larger size. The update would be skipped, leaving
the old buffer to be included in the descriptor set.
|
|
|
|
|
|
|
|
Gets rid of duplicated alignment code.
|
|
Vulkan: Minor fixes
|
|
|
|
At least on NV, some of these don't seem to have the intended effect. One
known instance of this is in texture conversion.
|
|
This could have been causing a large number of command buffer
submissions per frame, depending on when the readbacks occured.
|
|
Using a texel buffer as the copy destination removes the need to copy to
an intermediate texture first.
|
|
|
|
|
|
|
|
|
|
Greatly simplifies things, and we weren't using the linear texture
implementation anyway.
|
|
|
|
This also moves the pipeline and descriptor set layouts used for texture
conversion (texel buffers) to ObjectCache, and shares a binding location
with the SSBO set.
|
|
There is a caveat, Host GPU must be checked prior to starting the game, as
we can't enable the extension at runtime without recreating the instance.
|
|
Only have experienced this on a few occasions when using the anv driver.
|
|
|
|
|
|
|
|
Happened when loading the pipeline UID cache.
|
|
This is safe now because we invalidate the pointers after submitting a
command buffer.
|
|
Should we ever introduce anything else that has to be done when a command
buffer is executed (e.g. invalidating constants from previous commit), we
don't have to update all the callers.
|
|
If a draw caused a command buffer submission, the current uniform storage
should not be used for the new command buffer.
|
|
This could happen because the vertex memory was already committed, if a
uniform buffer allocation failed and caused a command buffer to be
executed, it would be associated with the previous command buffer rather
than the buffer containing the draw that consumed these vertices.
|
|
This was happening when a fence wait happened mid-frame. The data written
between the fence being queued and the allocation occuring was incorrectly
assumed to be consumed by the GPU.
|
|
VideoBackends: Internal resolution frame dumping
|
|
|
|
This ensures that if a user changes adapters or vendors we're not passing
invalid data to the driver.
|
|
The user could switch back again, and this would mean this data would be
lost. Disk space is cheap, and it's not going to be much.
|
|
This stores enough information to recreate the pipeline, including the
shader UIDs, blend/depth/rasterization state, primitive and vertex format.
|
|
We have the s_backbuffer_{width,height} fields to represent this, so
there's no point in passing them as parameters every time.
|
|
|
|
Vulkan: Fix black borders in frame dumps
|
|
Making changes to ConfigManager.h has always been a pain, because
it means rebuilding half of Dolphin, since a lot of files depend on
and include this header.
However, it turns out some includes are unnecessary. This commit
removes ConfigManager includes from files which don't contain
SConfig or GPUDeterminismMode or GPU_DETERMINISM (which means the
ConfigManager include is not used).
(I've also had to get rid of some indirect includes.)
|
|
Where src_rect.width * 2 != dst_stride.
|
|
Fixes the black borders in frame dumps when the window was not sized to
the framebuffer aspect ratio.
|
|
Instead of resetting two command buffers, now we only have to call
vkResetCommandPool once at the start of a frame.
NV's recommends using one pool per frame/thread. May offer a very small
boost in performance on some systems.
|
|
|
|
|
|
Vulkan: Handle maxImageCount of zero when creating swap chain
|
|
Vulkan: Don't use FIFO_RELAXED present mode for vsync.
|
|
anv seems to set this to zero, which is fine according to the spec, but
we were using it as a maximum, which was resulting in a swap chain
without any buffers being created.
|
|
|