Otherwise, we're trusting in the execbuf_add_bo which sets EXEC_OBJECT_WRITE to to always be the first one that gets called. This is likely true for fences but it seems somewhat fragile.
6ebf677cfd8 anv: Always add in EXEC_OBJECT_WRITE when specified in extra_flags
src/intel/vulkan/anv_batch_chain.c | 5 +++++
1 file changed, 5 insertions(+)