Skip to content
Snippets Groups Projects
Commit 0db1699e authored by Yiwei Zhang's avatar Yiwei Zhang Committed by Eric Engestrom
Browse files

venus: subtract appended header size in vn_CreatePipelineCache


Use header->header_size to offset cache data as well in case the header
struct extends on a newer driver but the cache data was appended with
an old header.

Fixes: 723f0bf7 ("venus: initial support for module and pipelines")

Signed-off-by: default avatarYiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: default avatarChia-I Wu <olvaffe@gmail.com>
Part-of: <mesa/mesa!14463>
(cherry picked from commit 48712b8c)
parent 886b86f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment