HiZ update performs a read/write on different buffers, this lead to write-after-write hazards as the resources where added multiple times in the same pipeline barrier with different access masks. This is fixed by merging pipeline barriers based on their resource. Pull Request: https://projects.blender.org/blender/blender/pulls/124036