| Age | Commit message (Collapse) | Author |
|
Vulkan: Use BlendingState from VideoCommon
|
|
Remove the internal BlendState union. Also fixes Kirby's Return to
Dreamland shadows.
|
|
This is invalid and was causing the NVIDIA driver to throw an error.
|
|
|
|
Keeps associated data together. It also eliminates the possibility of out
parameters not being initialized properly. For example, consider the
following example:
-- some FramebufferManager implementation --
void FBMgrImpl::GetTargetSize(u32* width, u32* height) override
{
// Do nothing
}
-- somewhere else where the function is used --
u32 width, height;
framebuffer_manager_instance->GetTargetSize(&width, &height);
if (texture_width != width) <-- Uninitialized variable usage
{
...
}
It makes it much more obvious to spot any initialization issues, because
it requires something to be returned, as opposed to allowing an
implementation to just not do anything.
|
|
|
|
|
|
At least on NV, some of these don't seem to have the intended effect. One
known instance of this is in texture conversion.
|
|
|
|
Greatly simplifies things, and we weren't using the linear texture
implementation anyway.
|
|
|
|
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.
|
|
Where src_rect.width * 2 != dst_stride.
|
|
|
|
|
|
|
|
There's not a lot of point in passing these around or storing them
(texture cache/state tracker mainly) as there will only ever be a single
instance of the class.
Also adds downcast helpers such as Vulkan::Renderer::GetInstance().
|
|
Infrequent, but still happened.
|
|
Adds headers where necessary to eliminate indirect includes.
Also adds headers to ensure certain standard constructs always
resolve correctly
|
|
|
|
|