mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
radv/video: fix missing image offset when computing VA
Found by inspection. Cc: mesa-stable Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33496>
This commit is contained in:
parent
b08f9a2dbd
commit
13e987669c
1 changed files with 1 additions and 1 deletions
|
|
@ -1231,7 +1231,7 @@ radv_enc_ctx(struct radv_cmd_buffer *cmd_buffer, const VkVideoEncodeInfoKHR *inf
|
||||||
dpb_image_sizes(dpb, &luma_pitch, &luma_size, &chroma_size, &colloc_bytes);
|
dpb_image_sizes(dpb, &luma_pitch, &luma_size, &chroma_size, &colloc_bytes);
|
||||||
|
|
||||||
radv_cs_add_buffer(device->ws, cs, dpb->bindings[0].bo);
|
radv_cs_add_buffer(device->ws, cs, dpb->bindings[0].bo);
|
||||||
va = radv_buffer_get_va(dpb->bindings[0].bo);
|
va = radv_buffer_get_va(dpb->bindings[0].bo) + dpb->bindings[0].offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t swizzle_mode = 0;
|
uint32_t swizzle_mode = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue