anv: turn on samplerAnisotropy in VkPhysicalDeviceFeatures
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 7 Oct 2016 12:53:04 +0000 (13:53 +0100)
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>
Mon, 10 Oct 2016 08:25:38 +0000 (09:25 +0100)
commit014bd4acb8b130fb31ec00f6125b8a91881bebdf
tree43f11eb983199cda2932e76a5e000a7045baef88
parentba43768a1e9740076825a873001e1d7a3259742b
anv: turn on samplerAnisotropy in VkPhysicalDeviceFeatures

According to the Vulkan spec 5.63.4 :

  samplerAnisotropy indicates whether anisotropic filtering is supported. If
  this feature is not enabled, the maxAnisotropy member of the
  VkSamplerCreateInfo structure must be 1.0.

Since we already set maxAnisotropy to 16 and program the hardware according
to the VkSamplerCreateInfo.maxAnisotropy, it seems we can turn this on.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/TODO
src/intel/vulkan/anv_device.c