Skip to content

venus: subtract appended header size in vn_CreatePipelineCache

Yiwei Zhang requested to merge zzyiwei/mesa:cache_size_fix into main

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")

/cc @olv @ryanneph

Edited by Yiwei Zhang

Merge request reports

Loading