mesa/src/intel/vulkan
Iván Briano d32a26b3e6 anv: remove unused/misleading/wrong parameters from the RT trampoline
Since the shader parameters are passed as inline data, push constants
are no longer used and so, not actually set on dispatch. But the
nr_params = 4 was still making the shader emit the code to load them,
causing page faults on simulation, and would also on HW if we didn't
always have a scratch page set.

The uses_inline_data parameter will be set from brw_compile_cs(), called
shortly after this point, so we don't need it here.

The subgroup_size is misleading, as we don't actually require that size
and the code that checks for it isn't even running for this shader.

Fixes: 97b17aa0b1 ("brw/nir: rework inline_data_intel to work with compute")

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12152

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32150>
2024-11-14 19:23:42 -08:00
..
grl anv: Build for Xe3 2024-10-26 07:39:30 +00:00
i915 intel/perf: Extend intel_perf_stream_set_metrics_id() to syncronize metrics id changes 2024-11-05 19:25:53 +00:00
layers anv: reuse object string for RMV token 2024-08-05 21:12:59 +00:00
tests intel/tests: Reduce load from anv_tests 2024-09-09 12:54:34 +00:00
xe anv: Enable perf metrics id set syncronization 2024-11-05 19:25:53 +00:00
anv_allocator.c anv: Protect against OOB access to anv_state_pool::buckets 2024-08-21 19:45:17 +00:00
anv_android.c anv/android: resolve ANB swapchain images on bind 2024-08-05 20:06:06 +00:00
anv_android.h anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_android_stubs.c anv/android: refactor out u_gralloc tiling query 2024-08-05 20:06:06 +00:00
anv_api_version.h anv: split instance from anv_device.c 2024-07-22 18:46:05 +00:00
anv_astc_emu.c anv: move astc_emu to use descriptors2 calls 2024-01-02 22:12:02 +00:00
anv_batch_chain.c anv,hasvk,genxml: Rename genxml files using verx10 2024-11-09 00:04:47 +00:00
anv_blorp.c anv: Enable MCS_CCS compression on Gfx12+ 2024-11-12 12:27:21 +00:00
anv_bo_sync.c anv: Add missing ANV_BO_ALLOC_INTERNAL 2024-04-19 13:15:01 +00:00
anv_buffer.c anv: allocate sparse descriptor buffers from the correct heap 2024-09-27 04:49:22 +00:00
anv_buffer_view.c anv: split buffer view from anv_image.c 2024-07-22 18:46:05 +00:00
anv_cmd_buffer.c anv: utilize ray query bo per queue for Wa_14022863161 2024-11-13 04:54:32 +00:00
anv_descriptor_set.c anv: fix descriptor asserts 2024-11-14 13:45:19 +00:00
anv_device.c anv: utilize ray query bo per queue for Wa_14022863161 2024-11-13 04:54:32 +00:00
anv_event.c anv: split events from anv_device.c 2024-07-22 18:46:05 +00:00
anv_formats.c anv: add VK_EXT_host_image_copy support 2024-10-18 07:43:37 +00:00
anv_gem.c anv: remove some wrapping around mmap 2024-03-05 07:03:13 +00:00
anv_gem_stubs.c anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_genX.h anv: Refactor clear color loading functions 2024-10-28 17:43:21 +00:00
anv_image.c anv: Enable MCS_CCS compression on Gfx12+ 2024-11-12 12:27:21 +00:00
anv_image_host_copy.c anv: fix extent computation in image->image host copies 2024-11-07 22:44:41 +00:00
anv_image_view.c anv: Access more colors in fast_clear_memory_range 2024-10-28 17:43:21 +00:00
anv_instance.c anv: Avoid null ptr dereference 2024-11-14 01:05:01 +00:00
anv_internal_kernels.c anv: implement Wa_16011107343/22018402687 for generated draws 2024-11-12 22:48:39 +00:00
anv_internal_kernels.h anv: implement Wa_16011107343/22018402687 for generated draws 2024-11-12 22:48:39 +00:00
anv_kmd_backend.c anv: Add gem VM bind and unbind to backend 2023-03-11 17:56:01 +00:00
anv_kmd_backend.h anv: make device initialization more asynchronous 2024-06-13 08:29:25 +00:00
anv_measure.c anv/measure: ignore events from reused command buffers 2024-08-05 23:45:41 +00:00
anv_measure.h
anv_mesh_perprim_wa.c treewide: Merge num_mesh_vertices_per_primitive and u_vertices_per_prim into mesa_vertices_per_prim 2023-10-26 09:35:04 +00:00
anv_nir.h anv: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_apply_pipeline_layout.c anv: stop using a binding table entry for gl_NumWorkgroups 2024-10-17 19:35:59 +00:00
anv_nir_compute_push_layout.c anv: stop using a binding table entry for gl_NumWorkgroups 2024-10-17 19:35:59 +00:00
anv_nir_lower_load_patch_vertices_in.c anv: simplify loading driver internal constants 2024-08-22 19:44:39 +00:00
anv_nir_lower_multiview.c treewide: use nir_def_replace sometimes 2024-06-21 15:36:56 +00:00
anv_nir_lower_resource_intel.c treewide: use nir_metadata_control_flow 2024-06-17 16:28:14 -04:00
anv_nir_lower_ubo_loads.c nir: change signature of nir_src_is_divergent() 2024-10-24 10:06:17 +00:00
anv_nir_push_descriptor_analysis.c anv: add pipeline/shader support for descriptor buffers 2024-02-29 07:05:06 +00:00
anv_perf.c anv: Enable perf metrics id set syncronization 2024-11-05 19:25:53 +00:00
anv_physical_device.c anv: update shader descriptor resource limits 2024-11-12 22:01:52 +00:00
anv_pipeline.c anv: remove unused/misleading/wrong parameters from the RT trampoline 2024-11-14 19:23:42 -08:00
anv_pipeline_cache.c anv: Protect memcpy/memset/qsort calls against NULL arguments 2024-11-14 01:05:01 +00:00
anv_private.h anv: utilize ray query bo per queue for Wa_14022863161 2024-11-13 04:54:32 +00:00
anv_queue.c anv: Optimize vkQueueWaitIdle() on Xe KMD 2024-09-19 23:12:45 +00:00
anv_rmv.c anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_rmv.h anv: initial RMV support 2024-01-23 17:24:19 +00:00
anv_sampler.c anv: split sampler from anv_device.c 2024-07-22 18:46:05 +00:00
anv_sparse.c anv: wrap binding address setting 2024-10-18 07:43:37 +00:00
anv_util.c anv: move pipe control debug to anv_util.c 2024-11-06 12:20:23 +00:00
anv_utrace.c anv,hasvk,genxml: Rename genxml files using verx10 2024-11-09 00:04:47 +00:00
anv_va.c anv: get rid of the second dynamic state heap 2024-07-19 12:21:46 +00:00
anv_video.c anv/video: support VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR. 2024-10-01 10:45:14 +09:00
anv_wsi.c intel: move debug identifier out of libintel_dev 2024-05-11 01:52:01 +00:00
genX_acceleration_structure.c Revert "anv: Disable Ray Tracing on xe2 until our compiler supports Xe2 RT" 2024-05-28 18:45:49 +00:00
genX_blorp_exec.c anv: implement workaround for Wa_18038825448 2024-08-09 07:30:03 +03:00
genX_cmd_buffer.c anv: Enable MCS_CCS compression on Gfx12+ 2024-11-12 12:27:21 +00:00
genX_cmd_compute.c anv: extend Wa_14017794102 with lineage Wa_14023061436 2024-11-13 04:54:32 +00:00
genX_cmd_draw.c anv: use mi_builder in CmdBeginTransformFeedbackEXT 2024-10-03 16:20:40 +00:00
genX_cmd_draw_generated_flush.h intel: Use _brw suffix for genX headers that rely on brw 2024-02-24 00:24:32 +00:00
genX_cmd_draw_generated_indirect.h anv: implement Wa_16011107343/22018402687 for generated draws 2024-11-12 22:48:39 +00:00
genX_cmd_draw_helpers.h anv: create new helper for small allocations 2024-02-29 07:05:06 +00:00
genX_cmd_video.c anv: check that inline query pool is VK_NULL_HANDLE 2024-10-24 08:17:11 +00:00
genX_cmd_video_enc.c anv: inline query for vulkan video encode 2024-10-24 08:17:11 +00:00
genX_gfx_state.c anv: implement VF_STATISTICS emit for Wa_16012775297 2024-10-22 20:19:48 +00:00
genX_gpu_memcpy.c anv: implement WA 14018283232 2024-06-05 15:22:25 +00:00
genX_init_state.c anv: extend Wa_14017794102 with lineage Wa_14023061436 2024-11-13 04:54:32 +00:00
genX_internal_kernels.c anv: implement Wa_16011107343/22018402687 for generated draws 2024-11-12 22:48:39 +00:00
genX_mi_builder.h anv: predicate emission of STATE_BASE_ADDRESS 2024-06-18 20:44:51 +00:00
genX_pipeline.c anv: fix binding table entry count for compute shaders 2024-10-23 18:54:39 +00:00
genX_query.c anv: Fix condition to clear query pool with blorp 2024-09-19 17:54:24 +00:00
genX_simple_shader.c intel: Switch to COMPUTE_WALKER_BODY 2024-10-29 15:54:43 +00:00
meson.build anv: Build for Xe3 2024-10-26 07:39:30 +00:00