intel: protect against empty invalidate ranges
It's legal for an application to call vkInvalidateMappedMemoryRanges() / vkFlushMappedMemoryRanges() with zero sized ranges.
Signed-off-by: Lionel Landwerlin lionel.g.landwerlin@intel.com Fixes: b91971c2 ("anv: use the right helper to invalidate memory") Cc: mesa-stable Closes: #6852 (closed)