anv/device: Set the compressed texture feature flags correctly
authorNanley Chery <nanley.g.chery@intel.com>
Fri, 15 Apr 2016 20:36:31 +0000 (13:36 -0700)
committerNanley Chery <nanley.g.chery@intel.com>
Wed, 27 Apr 2016 18:28:30 +0000 (11:28 -0700)
commit5f7e8eac426a53df25721f07c11f109ca4a56138
tree94f6fb97440e50624e777f99671085faeae38a7c
parente0806930ad2406d611a0d2fa1d3420a74122921c
anv/device: Set the compressed texture feature flags correctly

Sampling from an ETC2 texture is supported on Bay Trail and
from Gen8 onwards. While ASTC_LDR is supported on Gen9, the
logic to handle such formats has not yet been implemented in
the driver.

Fixes dEQP-VK.api.info.format_properties.compressed_formats.

v2: Enable ETC2 for Bay Trail (Kenneth Graunke)

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94896
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/vulkan/anv_device.c