pvr: Implement vkCreateSampler and vkDestroySampler APIs.
authorRajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Thu, 17 Feb 2022 09:45:18 +0000 (09:45 +0000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 25 Mar 2022 12:12:08 +0000 (12:12 +0000)
commiteacf944e522e05a81b5c3c9571301fe9b8e973e8
tree57907d55672904e607b3e7540cfadcccea957a2b
parentb000abbe7fbf2319f8430ade8c86fbcf272f9eb0
pvr: Implement vkCreateSampler and vkDestroySampler APIs.

Implements vkCreateSampler and vkDestroySampler APIs.

Also fixes maxSamplerLodBias value from 15.0f to 16.0f
as it's the max supported by our hardware.

Also changing maxSamplerAnisotropy from 16.0f to 1.0f to
temporarily disable anisotropy as we are missing software
support for it.

Signed-off-by: Rajnesh Kanwal <rajnesh.kanwal@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15557>
src/imagination/common/pvr_device_info.c
src/imagination/common/pvr_device_info.h
src/imagination/vulkan/pvr_device.c
src/imagination/vulkan/pvr_private.h