anv/device: Fix max buffer range limits
authorNanley Chery <nanley.g.chery@intel.com>
Wed, 6 Jul 2016 18:13:48 +0000 (11:13 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Jul 2016 17:35:40 +0000 (10:35 -0700)
commita5748cb9204f872cbaa6764b95a33ef20c4dd5da
treefd3502f23abb0eb3fa187caa8712703c8437cb90
parent028f6d8317f00a94b09df81e8f2cb944077e64a7
anv/device: Fix max buffer range limits

Set limits that are consistent with ISL's assertions in
isl_genX(buffer_fill_state_s)() and Anvil's format-DescriptorType
mapping in anv_isl_format_for_descriptor_type().

Fixes the following new crucible tests:
* stress.limits.buffer-update.range.uniform
* stress.limits.buffer-update.range.storage

These tests are in this patch: https://patchwork.freedesktop.org/patch/98726/

Cc: 12.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_device.c