mesa/src/amd/vulkan
Bas Nieuwenhuizen be784cc77b radv: Implement vkGetSwapchainGrallocUsage2ANDROID.
This was implemented in version 6 of the VK_ANDROID_native_buffer
extension and we only implement version 5. However, the Android
Vulkan loader only checks whether vkGetInstanceProcAddr for the
function is not NULL.

This all went wrong when we switched to the layer code from ANV.
Because the function may now be different per device, it adds fallback
functions that dispatch to the dispatch table. So if we didn't implement
the function we still returned a pointer to the dispatch function,
which made the Android Vulkan loader believe it was supported.

Dispatch functions:
d555794f30/src/amd/vulkan/radv_entrypoints_gen.py (L328)

Fixes: d555794f30 "radv: update entrypoints generation from ANV"
Gitlab: https://gitlab.freedesktop.org/mesa/mesa/-/issues/2936
Acked-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5198>
2020-05-25 15:34:44 +00:00
..
layers radv/sqtt: handle thread trace capture in sqtt_QueuePresentKHR() 2020-03-16 15:42:04 +00:00
winsys radv/winsys: Remove extra sizeof multiply. 2020-05-25 11:12:07 +00:00
.editorconfig
Android.mk android: radv: fix vk_format_table.c generated source build 2019-12-27 09:20:44 +01:00
gfx10_format_table.py radv: Remove RANGE_SIZE usage 2020-05-05 00:28:00 +00:00
Makefile.sources radv: initial implementation of the driver internal layer SQTT 2020-03-10 09:57:59 +01:00
meson.build meson: inline inc_common 2020-03-28 21:36:54 +01:00
radv_android.c radv: Implement vkGetSwapchainGrallocUsage2ANDROID. 2020-05-25 15:34:44 +00:00
radv_cmd_buffer.c radv: Remove dead code. 2020-05-25 11:12:07 +00:00
radv_constants.h radv: Remove RANGE_SIZE usage 2020-05-05 00:28:00 +00:00
radv_cs.h radv: add radeon_set_context_reg_rmw() helper 2020-04-14 11:31:33 +02:00
radv_debug.c radv: report correct backend IR in hang reports when ACO is used 2020-05-08 08:45:26 +02:00
radv_debug.h radv: use nir_lower_discard_to_demote to work around game bugs 2020-03-09 12:29:32 +00:00
radv_descriptor_set.c radv: use the base object struct types 2020-05-13 08:23:23 +02:00
radv_descriptor_set.h radv: use the base object struct types 2020-05-13 08:23:23 +02:00
radv_device.c radv: Do not close fd -1 when NULL-winsys creation fails. 2020-05-25 11:12:07 +00:00
radv_entrypoints_gen.py radv/entrypoints: declare a driver internal layer for SQTT 2020-03-10 09:57:49 +01:00
radv_extensions.py radv: advertise VK_AMD_texture_gather_bias_lod 2020-05-25 08:51:10 +02:00
radv_formats.c radv: add support for querying which formats support texture gather LOD 2020-05-25 08:51:10 +02:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: use the base object struct types 2020-05-13 08:23:23 +02:00
radv_llvm_helper.cpp radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_meta.c radv: Handle failing to create .cache dir. 2020-05-25 11:12:07 +00:00
radv_meta.h radv: rename decompress/resummarize depth/stencil functions 2020-04-08 07:55:10 +02:00
radv_meta_blit.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_blit2d.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_buffer.c radv: set alignment for load_ssbo/store_ssbo in meta shaders 2019-11-25 13:59:11 +00:00
radv_meta_bufimage.c spirv,nir: add new lod parameter to image_{load,store} intrinsics 2020-01-09 07:58:33 +01:00
radv_meta_clear.c radv: fix random depth range unrestricted failures due to a cache issue 2020-03-18 11:36:24 +00:00
radv_meta_copy.c radv: Add device argument for dcc compression check. 2019-08-07 02:13:07 +02:00
radv_meta_decompress.c radv: cleanup creating the decompress/resummarize pipelines 2020-04-08 07:55:14 +02:00
radv_meta_fast_clear.c radv/sqtt: describe layout transitions with user markers 2020-03-12 17:04:55 +00:00
radv_meta_fmask_expand.c spirv,nir: add new lod parameter to image_{load,store} intrinsics 2020-01-09 07:58:33 +01:00
radv_meta_resolve.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_meta_resolve_cs.c radv: update VK_KHR_depth_stencil_resolve for Vulkan 1.2 2020-01-15 08:42:25 -06:00
radv_meta_resolve_fs.c radv: do not recursively begin/end render pass for meta operations 2020-03-11 07:54:43 +00:00
radv_nir_lower_ycbcr_textures.c radv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
radv_nir_to_llvm.c radv: remove useless assignment in build_streamout_vertex() 2020-05-24 18:28:07 +00:00
radv_pass.c radv: use the base object struct types 2020-05-13 08:23:23 +02:00
radv_pipeline.c radv: Support VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT_EXT. 2020-05-19 18:40:04 +00:00
radv_pipeline_cache.c radv: Support VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT. 2020-05-19 18:40:04 +00:00
radv_private.h radv: Support VK_PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT. 2020-05-19 18:40:04 +00:00
radv_query.c radv: use the base object struct types 2020-05-13 08:23:23 +02:00
radv_radeon_winsys.h radv: Provide a better error for permission issues with priorities. 2020-05-15 03:16:29 +02:00
radv_rgp.c drm-uapi,radv,radeonsi: Add amdgpu_drm.h header. 2020-04-27 12:27:02 +00:00
radv_shader.c radv: advertise VK_AMD_texture_gather_bias_lod 2020-05-25 08:51:10 +02:00
radv_shader.h radv: Support VK_PIPELINE_COMPILE_REQUIRED_EXT. 2020-05-19 18:40:04 +00:00
radv_shader_args.c radv/gfx10: implement NGG GS queries 2020-01-29 17:40:48 +01:00
radv_shader_args.h radv/gfx10: implement NGG GS queries 2020-01-29 17:40:48 +01:00
radv_shader_helper.h radv/gfx10: use the correct target machine for Wave32 2019-08-02 09:37:38 +02:00
radv_shader_info.c radv: Use smaller esgs_itemsize for ACO. 2020-04-29 11:51:04 +00:00
radv_sqtt.c ac: update register and packet definitions for preemption 2020-05-23 03:45:07 -04:00
radv_util.c radv: Add startup debug option. 2018-05-31 11:51:23 +02:00
radv_util.h
radv_wsi.c radv: use the common base object type for VkDevice 2020-05-13 08:23:23 +02:00
radv_wsi_display.c drm-uapi,radv,radeonsi: Add amdgpu_drm.h header. 2020-04-27 12:27:02 +00:00
radv_wsi_wayland.c
radv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c ac: update register and packet definitions for preemption 2020-05-23 03:45:07 -04:00
vk_format.h radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_layout.csv radv: Add ycbcr subsampled & multiplane formats to csv. 2019-04-25 19:56:20 +00:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py util: rename PIPE_ARCH_*_ENDIAN to UTIL_ARCH_*_ENDIAN 2019-11-05 16:39:55 +00:00