mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-27 13:30:06 +00:00
rasterizer_cache: Remove MSAA from fill-surfaces and display-transfers
This commit is contained in:
parent
2653528d28
commit
cc7d2f6576
@ -274,7 +274,6 @@ bool RasterizerCache<T>::AccelerateDisplayTransfer(const Pica::DisplayTransferCo
|
|||||||
src_params.height = config.output_height;
|
src_params.height = config.output_height;
|
||||||
src_params.is_tiled = !config.input_linear;
|
src_params.is_tiled = !config.input_linear;
|
||||||
src_params.pixel_format = PixelFormatFromGPUPixelFormat(config.input_format);
|
src_params.pixel_format = PixelFormatFromGPUPixelFormat(config.input_format);
|
||||||
src_params.sample_count = sample_count;
|
|
||||||
src_params.UpdateParams();
|
src_params.UpdateParams();
|
||||||
|
|
||||||
SurfaceParams dst_params;
|
SurfaceParams dst_params;
|
||||||
@ -346,7 +345,6 @@ bool RasterizerCache<T>::AccelerateFill(const Pica::MemoryFillConfig& config) {
|
|||||||
params.size = params.end - params.addr;
|
params.size = params.end - params.addr;
|
||||||
params.type = SurfaceType::Fill;
|
params.type = SurfaceType::Fill;
|
||||||
params.res_scale = std::numeric_limits<u16>::max();
|
params.res_scale = std::numeric_limits<u16>::max();
|
||||||
params.sample_count = sample_count;
|
|
||||||
|
|
||||||
SurfaceId fill_surface_id = slot_surfaces.insert(runtime, params);
|
SurfaceId fill_surface_id = slot_surfaces.insert(runtime, params);
|
||||||
Surface& fill_surface = slot_surfaces[fill_surface_id];
|
Surface& fill_surface = slot_surfaces[fill_surface_id];
|
||||||
|
Loading…
Reference in New Issue
Block a user