mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-18 08:19:59 +00:00
Vulkan: Remove parameters/members of single-instance classes
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().
This commit is contained in:
parent
ab9f539233
commit
b066d51dfa
21 changed files with 336 additions and 303 deletions
|
@ -47,7 +47,7 @@ void BufferMemoryBarrier(VkCommandBuffer command_buffer, VkBuffer buffer,
|
|||
|
||||
// Completes the current render pass, executes the command buffer, and restores state ready for next
|
||||
// render. Use when you want to kick the current buffer to make room for new data.
|
||||
void ExecuteCurrentCommandsAndRestoreState(StateTracker* state_tracker, bool execute_off_thread,
|
||||
void ExecuteCurrentCommandsAndRestoreState(bool execute_off_thread,
|
||||
bool wait_for_completion = false);
|
||||
|
||||
// Create a shader module from the specified SPIR-V.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue