mesa/src/intel/vulkan
Lionel Landwerlin 40a6de176d anv: fix uninitialized variable access
Found with valgrind :

  ==415016== Conditional jump or move depends on uninitialised value(s)
  ==415016==    at 0x513C22B: anv_cache_lock (anv_pipeline_cache.c:346)
  ==415016==    by 0x513C2A0: anv_pipeline_cache_search (anv_pipeline_cache.c:364)
  ==415016==    by 0x50E7C88: lookup_blorp_shader (anv_blorp.c:38)
  ==415016==    by 0x5D20A98: blorp_params_get_clear_kernel (blorp_clear.c:60)
  ==415016==    by 0x5D23EFD: blorp_ccs_ambiguate (blorp_clear.c:1358)
  ==415016==    by 0x50EDE25: anv_image_ccs_op (anv_blorp.c:1882)
  ==415016==    by 0x555D92F: transition_color_buffer (genX_cmd_buffer.c:1179)
  ==415016==    by 0x5598B71: cmd_buffer_begin_subpass (genX_cmd_buffer.c:5060)
  ==415016==    by 0x559AB00: gen9_CmdBeginRenderPass (genX_cmd_buffer.c:5772)
  ==415016==    by 0x11DACE: begin_render_pass (vr-test.c:375)
  ==415016==    by 0x11DF55: set_state (vr-test.c:529)
  ==415016==    by 0x11F7A1: clear (vr-test.c:1228)

v2: Don't break external sync feature

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5823>
2020-07-10 17:54:35 +00:00
..
tests anv/tests: Silence unused parameter warnings in main 2020-05-14 16:47:08 +00:00
anv_allocator.c anv/allocator: Compare to start_offset in state_pool_free_no_vg 2020-06-09 22:52:26 +00:00
anv_android.c anv: use the correct format on Android 2020-05-13 23:20:50 +00:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c anv: add an option to disable secondary command buffer calls 2020-06-16 20:23:52 +00:00
anv_blorp.c anv/blorp: Do less hard-coding of aux usages 2020-04-24 16:17:44 +00:00
anv_cmd_buffer.c anv: Use new helper functions to pick SIMD variant for CS 2020-05-27 18:16:31 -07:00
anv_descriptor_set.c anv: Fix descriptor set clean-up on BO allocation failure 2020-05-14 16:14:34 +00:00
anv_device.c anv: fix uninitialized variable access 2020-07-10 17:54:35 +00:00
anv_dump.c tree-wide: replace MAYBE_UNUSED with ASSERTED 2019-07-31 09:41:05 +01:00
anv_entrypoints_gen.py anv: Use resolve_device_entrypoint for dispatch init 2020-06-19 19:13:56 +00:00
anv_extensions.py anv: Bump the advertised patch version to 145 2020-06-22 23:24:25 +00:00
anv_extensions_gen.py anv: use the common code for generating extensions and dispatch tables 2020-05-13 08:45:28 +02:00
anv_formats.c anv: update fallthrough comment so gcc sees it 2020-07-02 12:11:30 +10:00
anv_gem.c anv/dg1: Don't use SET_TILING kernel uapi. 2020-06-22 11:42:00 -07:00
anv_gem_stubs.c anv: pass the fd directly to anv_gem_reg_read() 2020-05-20 21:49:10 +00:00
anv_genX.h anv: Plumb deref block size through to 3DSTATE_SF 2020-01-30 18:46:28 -06:00
anv_icd.py anv: fix typo 2019-06-29 22:41:06 +01:00
anv_image.c anv/dg1: Don't use SET_TILING kernel uapi. 2020-06-22 11:42:00 -07:00
anv_intel.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_nir.h anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +00:00
anv_nir_add_base_work_group_id.c anv: Rework push constant handling 2019-11-18 18:35:14 +00:00
anv_nir_apply_pipeline_layout.c anv: Set alignments on descriptor and constant loads 2020-03-30 15:46:19 +00:00
anv_nir_compute_push_layout.c anv: Emit pushed UBO bounds checking code in the back-end compiler 2020-04-17 14:48:06 +00:00
anv_nir_lower_multiview.c anv/gen12: Lower VK_KHR_multiview using Primitive Replication 2020-04-07 17:16:09 +00:00
anv_nir_lower_ycbcr_textures.c anv: use common nir_convert_ycbcr 2020-04-20 22:01:43 +00:00
anv_pass.c anv: call base finish only if pass given in DestroyRenderPass 2020-05-08 08:36:45 +03:00
anv_perf.c intel/perf: move query_mask and location out of gen_perf_query_counter 2020-07-06 21:43:59 +00:00
anv_pipeline.c intel/compiler: Always apply sample mask on Vulkan. 2020-06-19 20:24:11 -05:00
anv_pipeline_cache.c anv: fix uninitialized variable access 2020-07-10 17:54:35 +00:00
anv_private.h anv: fix uninitialized variable access 2020-07-10 17:54:35 +00:00
anv_queue.c anv: garbage collect timeline semaphore when querying value 2020-07-06 22:33:46 +00:00
anv_util.c anv: Take a device in anv_perf_warn 2020-01-20 22:08:52 +00:00
anv_wsi.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_wsi_display.c vulkan,anv: Add a common base object type for VkDevice 2020-05-04 14:06:27 +00:00
anv_wsi_wayland.c anv: drop unused includes 2018-10-24 18:15:05 +01:00
anv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
gen7_cmd_buffer.c anv: Split graphics and compute bits from anv_pipeline 2020-03-12 13:18:54 -07:00
gen8_cmd_buffer.c anv: Handle clamping of inverted depth ranges 2020-07-07 21:38:03 +00:00
genX_blorp_exec.c anv: store the workaround address 2020-05-20 15:58:22 +00:00
genX_cmd_buffer.c anv/cmd_buffer: Split GPGPU_WALKER out to emit_gpgpu_walker 2020-06-24 00:14:36 +00:00
genX_gpu_memcpy.c anv:gpu_memcpy: Emit 3DSTATE_VF_INDEXING on Gen8+ 2020-05-18 21:42:05 +00:00
genX_pipeline.c anv/pipeline: Split VFE/INTERFACE_DESCRIPTOR out to emit_media_cs_state 2020-06-24 00:14:35 +00:00
genX_query.c anv: Implement VK_KHR_performance_query 2020-05-20 14:02:27 +03:00
genX_state.c anv: Make use of devinfo has_aux_map field 2020-06-22 22:32:03 +00:00
meson.build vulkan: automatically compile the display platform when available 2020-07-10 13:48:24 +00:00
TODO anv: Implement pipeline statistics queries 2017-03-17 12:12:50 -07:00
vk_format_info.h anv: Add HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED in vk_format 2019-06-24 08:28:18 +03:00