mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-13 10:18:02 -05:00
VideoCore: Unify interface to OpenGL and SW rasterizers
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
This commit is contained in:
@ -267,7 +267,7 @@ static void StartConversion(Service::Interface* self) {
|
||||
// dst_image_size would seem to be perfect for this, but it doesn't include the gap :(
|
||||
u32 total_output_size = conversion.input_lines *
|
||||
(conversion.dst.transfer_unit + conversion.dst.gap);
|
||||
VideoCore::g_renderer->hw_rasterizer->InvalidateRegion(
|
||||
VideoCore::g_renderer->rasterizer->InvalidateRegion(
|
||||
Memory::VirtualToPhysicalAddress(conversion.dst.address), total_output_size);
|
||||
|
||||
LOG_DEBUG(Service_Y2R, "called");
|
||||
|
Reference in New Issue
Block a user