Skip to content

st/dri: Set next in template instead of after creation.

This should prevent horrors like Iris has with the delayed calls to iris_resource_finish_aux_import just because info is not available at allocation time.

AFAICT all drivers just copy the template except radeonsi/r600 which reset the next pointer.

AFAICT there is also no other place we get a state tracker setting next ptrs on a resource.

Merge request reports