Skip to content

aux/tc: use renderpass tracking to optimize texture_subdata calls

Mike Blumenkrantz requested to merge zmike/mesa:tc-subdata into main

if it's known that a renderpass is active and the driver wants to do renderpass optimizing, help out by not forcing a sync and instead doing what the driver would do: create a staging buffer and copy it to the image

this requires that the driver already handles buffer -> image copies with resource_copy_region

Merge request reports