mesa/src/intel/vulkan_hasvk
Antonio Ospite 6ffe6c2aef anv: fix returning _Bool instead of pointer
When building for C23 the compiler warns about returning a boolean when
a different type is expected instead.

Change the code to return NULL instead of false, fixing the following
error:

-----------------------------------------------------------------------
../src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c: In function ‘nir_deref_find_descriptor’:
../src/intel/vulkan_hasvk/anv_nir_apply_pipeline_layout.c:230:14: error: incompatible types when returning type ‘_Bool’ but ‘nir_intrinsic_instr *’ {aka ‘struct nir_intrinsic_instr *’} was expected
  230 |       return false;
      |              ^~~~~
-----------------------------------------------------------------------

Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36323>
2025-07-29 14:07:06 +00:00
..
layers
tests
anv_allocator.c
anv_android.c hasvk: use AHARDWAREBUFFER_USAGE_CAMERA_MASK 2025-07-09 03:47:07 +00:00
anv_android.h
anv_android_stubs.c
anv_batch_chain.c anv/hasvk: sort out debug options 2025-04-04 15:18:28 +00:00
anv_blorp.c intel: Add and use isl_surf_from_mem() 2025-05-13 15:13:04 +00:00
anv_bo_sync.c
anv_cmd_buffer.c
anv_descriptor_set.c
anv_device.c hasvk: adopt wsi_common_get_memory 2025-07-13 07:49:10 +00:00
anv_formats.c hasvk: Implement VK calls and formats. 2025-03-31 16:56:13 +00:00
anv_gem.c
anv_gem_stubs.c
anv_genX.h
anv_image.c hasvk: adopt wsi_common_get_memory 2025-07-13 07:49:10 +00:00
anv_measure.c
anv_measure.h
anv_nir.h anv: Remove NIR_PASS_V usage 2025-07-14 19:25:52 +00:00
anv_nir_apply_pipeline_layout.c anv: fix returning _Bool instead of pointer 2025-07-29 14:07:06 +00:00
anv_nir_compute_push_layout.c anv: Remove NIR_PASS_V usage 2025-07-14 19:25:52 +00:00
anv_nir_lower_multiview.c treewide: Switch to nir_progress 2025-02-26 15:19:53 +00:00
anv_nir_lower_ubo_loads.c
anv_nir_lower_ycbcr_textures.c
anv_perf.c
anv_pipeline.c anv: Remove NIR_PASS_V usage 2025-07-14 19:25:52 +00:00
anv_pipeline_cache.c
anv_private.h hasvk: adopt wsi_common_get_memory 2025-07-13 07:49:10 +00:00
anv_queue.c
anv_util.c
anv_utrace.c
anv_wsi.c
genX_blorp_exec.c
genX_cmd_buffer.c anv/ds: Associate the VkCommandBuffer some anv-only renderstage events. 2025-05-08 01:21:25 +00:00
genX_gpu_memcpy.c
genX_pipeline.c
genX_query.c hasvk: Use unreachable instead of assert(!"...") 2025-03-13 20:11:10 +00:00
genX_state.c
gfx7_cmd_buffer.c
gfx8_cmd_buffer.c hasvk: Pre-plumbing needed for VK_KHR_maintenance5 2025-03-31 16:56:13 +00:00
meson.build hasvk: only run tests on x86 (32 & 64 bit) 2025-06-20 19:32:18 +00:00