mesa/src/intel
Michel Dänzer 6c7400f4e8 vulkan: Fix GetPhysicalDeviceSparseImageFormatProperties definitions
To match the declarations (and the corresponding definition in Vulkan
headers).

Pointed out by GCC 13, e.g.:

../src/intel/vulkan_hasvk/anv_formats.c:1589:6: error: conflicting types for 'anv_GetPhysicalDeviceSparseImageFormatProperties' due to enum/integer mismatch; have 'void(struct VkPhysicalDevice_T *, VkFormat,  VkImageType,  uint32_t,  VkImageUsageFlags,  VkImageTiling,  uint32_t *, VkSparseImageFormatProperties *)' {aka 'void(struct VkPhysicalDevice_T *, VkFormat,  VkImageType,  unsigned int,  unsigned int,  VkImageTiling,  unsigned int *, VkSparseImageFormatProperties *)'} [-Werror=enum-int-mismatch]
 1589 | void anv_GetPhysicalDeviceSparseImageFormatProperties(
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../src/intel/vulkan_hasvk/anv_private.h:113,
                 from ../src/intel/vulkan_hasvk/anv_formats.c:24:
src/intel/vulkan_hasvk/anv_entrypoints.h:120:30: note: previous declaration of 'anv_GetPhysicalDeviceSparseImageFormatProperties' with type 'void(struct VkPhysicalDevice_T *, VkFormat,  VkImageType,  VkSampleCountFlagBits,  VkImageUsageFlags,  VkImageTiling,  uint32_t *, VkSparseImageFormatProperties *)' {aka 'void(struct VkPhysicalDevice_T *, VkFormat,  VkImageType,  VkSampleCountFlagBits,  unsigned int,  VkImageTiling,  unsigned int *, VkSparseImageFormatProperties *)'}
  120 |   VKAPI_ATTR void VKAPI_CALL anv_GetPhysicalDeviceSparseImageFormatProperties(VkPhysicalDevice physicalDevice, VkFormat format, VkImageType type, VkSampleCountFlagBits samples, VkImageUsageFlags usage, VkImageTiling tiling, uint32_t* pPropertyCount, VkSparseImageFormatProperties* pProperties);
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22718>
2023-05-01 14:15:15 +00:00
..
blorp anv,blorp,iris: Set PreferredSLMAllocationSize on gfx125+ 2023-04-06 10:54:47 +00:00
ci anv: Work around the spec question about pipeline feedback vs GPL. 2023-04-17 22:43:38 +00:00
common intel/tools: add ability to dump out raw kernels data 2023-04-26 10:00:54 +00:00
compiler intel/fs: fix per vertex input clamping 2023-04-27 20:29:16 +00:00
dev intel/debug: Control start/stop frame of batch debug 2023-04-28 04:37:05 +00:00
ds anv: add utrace tracking of frame boundaries 2023-04-13 01:14:38 +00:00
genxml intel/genxml: Add the preferred slm size enum for gen125 2023-04-06 10:54:46 +00:00
isl isl: Check all channels in isl_formats_have_same_bits_per_channel 2023-04-27 01:04:44 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel/perf: fix OA format selection on MTL 2023-04-03 23:34:17 +00:00
tools intel/tools: add ability to dump out raw kernels data 2023-04-26 10:00:54 +00:00
vulkan anv: Enable INTEL_DEBUG_BATCH_FRAME_START/_STOP 2023-04-28 04:37:05 +00:00
vulkan_hasvk vulkan: Fix GetPhysicalDeviceSparseImageFormatProperties definitions 2023-05-01 14:15:15 +00:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00