anv/meta: Fix CopyBuffer when size matches HW limit
authorNanley Chery <nanley.g.chery@intel.com>
Thu, 31 Dec 2015 00:00:47 +0000 (16:00 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Mon, 25 Jan 2016 20:26:39 +0000 (12:26 -0800)
commit2c94f659e8453bb584e1d50b188d4199fe7b8194
treed274f1ce4d0bd70300435a5b2e7cd1d186494fc4
parentc21de2bf04c774870f5e58eb160794ca83d96346
anv/meta: Fix CopyBuffer when size matches HW limit

Perform a copy when the copy_size matches the HW limit (max_copy_size).
Otherwise the current behavior is that we fail the following assertion:

      assert(height < max_surface_dim);

because the values are equal.
src/vulkan/anv_meta.c