OSDN Git Service

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)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 21 Jul 2016 11:24:55 +0000 (12:24 +0100)
commit826117a1c483bc5503b40a670133278654363d28
treee4013177bcefb6a17979c37aee02757b80ee1c5a
parentf334b6deaae1e86c41a6628a099a518fbce20a78
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>
(cherry picked from commit a5748cb9204f872cbaa6764b95a33ef20c4dd5da)
src/intel/vulkan/anv_device.c