mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
Vulkan: Fix bug with palette converted EFB copies
This happened when the source texture was an EFB copy, therefore it had not been populated prior to the draw command buffer being executed, and the conversion was occurring in the init command list.
This commit is contained in:
@ -26,9 +26,10 @@ public:
|
||||
|
||||
bool Initialize();
|
||||
|
||||
void ConvertTexture(StateTracker* state_tracker, VkRenderPass render_pass,
|
||||
VkFramebuffer dst_framebuffer, Texture2D* src_texture, u32 width, u32 height,
|
||||
void* palette, TlutFormat format);
|
||||
void ConvertTexture(StateTracker* state_tracker, VkCommandBuffer command_buffer,
|
||||
VkRenderPass render_pass, VkFramebuffer dst_framebuffer,
|
||||
Texture2D* src_texture, u32 width, u32 height, void* palette,
|
||||
TlutFormat format);
|
||||
|
||||
private:
|
||||
static const size_t NUM_PALETTE_CONVERSION_SHADERS = 3;
|
||||
|
Reference in New Issue
Block a user