mesa/src/intel/vulkan
Marcin Ślusarz 0c76e088f2 anv: call nir_shader_gather_info early
Shader info is needed for mesh in linking (in nir_lower_io_to_scalar_early,
see commit 5e144454) and will be needed once MR !17622 (anv: work around
for per-prim attributes corruption) lands.

We still need to call nir_shader_gather_info in anv_pipeline_lower_nir,
because the information got stale between anv_graphics_pipeline_load_nir
and anv_pipeline_lower_nir. Some examples:
- some FS inputs were marked as per-primitive during linking
  (brw_nir_link_shaders) affecting per_primitive_inputs mask
- some inputs and outputs were removed, because they are not used
  (nir_remove_unused_varyings) affecting outputs_written and inputs_read

This fixes func.mesh.ext.outputs.per_primitive.unused crucible test on DG2.
(I didn't know this test wasn't fixed by 5e144454, because I was testing
with !17622 merged-in, which added its own nir_shader_gather_info before
nir_lower_io_to_scalar_early).

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21787>
2023-03-28 14:41:54 +00:00
..
grl intel/vk/grl: don't install libgrl.a 2023-03-27 18:00:48 +00:00
i915 anv: add utrace support for queue debug utils 2023-03-24 09:38:20 +02:00
layers anv: Add layer with work-around for Doom 64 texture corruption 2023-01-02 15:05:06 +00:00
shaders anv: add gfx9 generated draw support 2023-03-03 11:30:54 +00:00
tests anv: Use intel_device_info memory alignment 2023-03-20 17:18:04 +00:00
xe anv: Fetch max_context_priority from drm_xe_query_config 2023-03-24 21:28:47 +00:00
anv_allocator.c anv: Use intel_device_info memory alignment 2023-03-20 17:18:04 +00:00
anv_android.c vulkan: Use static_assert for check HWVULKAN_DISPATCH_MAGIC == ICD_LOADER_MAGIC 2023-02-10 07:21:31 +00:00
anv_android.h anv: move VkImage object allocation to anv_CreateImage 2021-10-06 02:18:39 +00:00
anv_android_stubs.c anv: move VkImage object allocation to anv_CreateImage 2021-10-06 02:18:39 +00:00
anv_batch_chain.c anv: fixup locking for utrace submission increments 2023-03-24 09:38:13 +02:00
anv_blorp.c anv,hasvk: cleanup unused enum 2023-03-22 15:00:16 +00:00
anv_bo_sync.c anv: Add a tracepoint for the fallback implicit sync wait path. 2023-01-12 20:21:03 +00:00
anv_cmd_buffer.c anv: add gfx9 generated draw support 2023-03-03 11:30:54 +00:00
anv_descriptor_set.c anv/hasvk: speed up null image/view descriptor writes 2023-03-02 15:03:25 +00:00
anv_device.c anv: Fetch max_context_priority from drm_xe_query_config 2023-03-24 21:28:47 +00:00
anv_formats.c anv: more formats for acceleration structure vertices 2023-03-14 09:34:27 +00:00
anv_gem.c anv: Add gem_mmap to kmd backend 2023-02-15 23:30:58 +00:00
anv_gem_stubs.c anv: Add gem VM bind and unbind to backend 2023-03-11 17:56:01 +00:00
anv_generated_indirect_draws.c anv: fix sends_count_expectation assert on simd32 2023-03-07 14:37:31 +00:00
anv_generated_indirect_draws.h anv: add gfx9 generated draw support 2023-03-03 11:30:54 +00:00
anv_genX.h anv: move 3DSTATE_VERTEX_ELEMENT emission to dynamic path 2023-02-14 09:05:35 +00:00
anv_image.c anv: VK_EXT_image_sliced_view_of_3d 2023-03-04 06:12:46 +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: add utrace support for queue debug utils 2023-03-24 09:38:20 +02:00
anv_measure.c anv: Emit CS stall on INTEL_MEASURE timestamp 2023-01-04 22:43:36 +00:00
anv_measure.h anv: add a custom AcquireNextImage2KHR func 2022-02-17 22:15:23 +00:00
anv_nir.h anv: add analysis for push descriptor uses and store it in shader cache 2022-10-14 23:03:16 +00:00
anv_nir_apply_pipeline_layout.c anv: Drop our manual SSBO size handling 2023-02-24 20:37:10 +00:00
anv_nir_compute_push_layout.c anv,hasvk: migrate to ROUND_DOWN_TO from util 2023-01-06 17:22:16 +00:00
anv_nir_lower_multiview.c blorp,anv,hasvk: Use umod_imm 2023-03-22 06:18:18 +00:00
anv_nir_lower_ubo_loads.c anv: invalidate all metadata in anv_nir_lower_ubo_loads 2022-04-19 11:43:55 +00:00
anv_nir_push_descriptor_analysis.c anv: return properly typed value for no ubo promoted 2023-01-09 23:00:24 +00:00
anv_perf.c anv/iris: report counter symbols with debug option 2023-03-08 12:45:43 +00:00
anv_pipeline.c anv: call nir_shader_gather_info early 2023-03-28 14:41:54 +00:00
anv_pipeline_cache.c anv: Perform load_constant address math in 32-bit rather than 64-bit 2023-02-02 02:45:04 +00:00
anv_private.h anv,hasvk: remove stale comments 2023-03-27 07:48:17 +00:00
anv_queue.c anv: Create Xe engines 2023-03-23 13:27:39 +00:00
anv_util.c anv: Handle bits to flush data-port's Untyped L1 data cache 2022-08-05 10:43:50 +03:00
anv_utrace.c anv: add utrace support for queue debug utils 2023-03-24 09:38:20 +02:00
anv_video.c anv/video: fix video memory bindings. 2023-02-08 06:42:09 +00:00
anv_wsi.c anv: always pick graphics queue to execute prime blits on. 2023-03-01 03:37:36 +00:00
genX_acceleration_structure.c anv: Handle all fields in VkAccelerationStructureBuildRangeInfoKHR 2023-02-24 07:08:05 +00:00
genX_blorp_exec.c anv: Skip BTI RT flush if we're doing an op that doesn't use render targets. 2023-02-27 21:44:56 +00:00
genX_cmd_buffer.c intel: use generated helpers for Wa_1409433168/Wa_16011107343 2023-03-15 23:31:08 +00:00
genX_cmd_draw_generated_indirect.h anv: add gfx9 generated draw support 2023-03-03 11:30:54 +00:00
genX_cmd_draw_helpers.h anv: fix incorrect parameter 2023-03-03 11:30:54 +00:00
genX_gpu_memcpy.c anv: fix preemption enable emission in gpu_memcpy 2023-01-20 22:35:41 +02:00
genX_pipeline.c intel: Drop some author comments and update Faith's name 2023-03-26 00:16:25 +00:00
genX_query.c anv: Use vk_acceleration_structure 2023-02-22 11:58:57 +00:00
genX_state.c anv: Replace I915_ENGINE_CLASS_VIDEO by INTEL_ENGINE_CLASS_VIDEO 2023-03-23 13:27:39 +00:00
genX_video.c anv: fix image height for field pictures. 2023-03-14 13:34:53 +00:00
gfx8_cmd_buffer.c anv: Implement Wa_14015297576 2023-03-24 22:37:09 +00:00
meson.build anv: Implement Xe version of execute_simple_batch() 2023-03-23 13:27:39 +00:00