Skip to content

anv: fix missing descriptor copy of bufferview/surfacestate content

Lionel Landwerlin requested to merge llandwerlin/mesa:review/anv-desc-fix into main

When doing copies of descriptors from one set to another, that contain either a UNIFORM_BUFFER or STORAGE_BUFFER, both the buffer view & surface state are allocated from the source descriptor. Therefore we need to copy their content otherwise we could run into lifecycle issues when the source descriptor is destroyed.

Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Cc: mesa-stable

Edited by Lionel Landwerlin

Merge request reports