mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 11:08:03 +02:00
panfrost: Set bound dimensions to framebuffer size
Otherwise CRC calculation will miss the pixels outside the extent bounds but still in a tile that is rendered. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11446>
This commit is contained in:
parent
e5d158881b
commit
8bc4ebb0f9
1 changed files with 3 additions and 4 deletions
|
|
@ -696,10 +696,9 @@ pan_emit_mfbd(const struct panfrost_device *dev,
|
|||
pan_section_pack(fbd, MULTI_TARGET_FRAMEBUFFER, PARAMETERS, cfg) {
|
||||
cfg.width = fb->width;
|
||||
cfg.height = fb->height;
|
||||
cfg.bound_min_x = fb->extent.minx;
|
||||
cfg.bound_min_y = fb->extent.miny;
|
||||
cfg.bound_max_x = fb->extent.maxx;
|
||||
cfg.bound_max_y = fb->extent.maxy;
|
||||
cfg.bound_max_x = fb->width - 1;
|
||||
cfg.bound_max_y = fb->height - 1;
|
||||
|
||||
cfg.effective_tile_size = tile_size;
|
||||
cfg.tie_break_rule = MALI_TIE_BREAK_RULE_MINUS_180_IN_0_OUT;
|
||||
cfg.render_target_count = MAX2(fb->rt_count, 1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue