mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 06:20:22 +01:00
nvk: Pass the pipe_format to copy_remap_format()
This changed in 76c6157902f1 ("nil/copy: Base swizzling on the per-plane
pipe_format") but I missed the case for linear render targets.
Fixes: 76c6157902f1 ("nil/copy: Base swizzling on the per-plane pipe_format")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35887>
This commit is contained in:
parent
c733f07378
commit
bb3274f0d8
1 changed files with 2 additions and 1 deletions
|
|
@ -682,7 +682,8 @@ nvk_linear_render_copy(struct nvk_cmd_buffer *cmd,
|
|||
src_plane->nil.sample_layout),
|
||||
};
|
||||
|
||||
copy.remap = nouveau_copy_remap_format(image->vk.format);
|
||||
assert(src_plane->nil.format.p_format == dst_plane->nil.format.p_format);
|
||||
copy.remap = nouveau_copy_remap_format(src_plane->nil.format.p_format);
|
||||
nouveau_copy_rect(cmd, ©);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue