mesa/src/intel
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
..
blorp intel/blorp: Drop the TODO file 2023-03-26 00:16:25 +00:00
ci ci: rename .lava-test to .lava-test-deqp to describe it correctly 2023-03-24 21:58:22 +00:00
common anv: Create Xe engines 2023-03-23 13:27:39 +00:00
compiler intel: Drop some author comments and update Faith's name 2023-03-26 00:16:25 +00:00
dev intel/dev: use GFX_VERx10 to detect genX compilation 2023-03-23 23:23:52 +00:00
ds anv: add utrace support for queue debug utils 2023-03-24 09:38:20 +02:00
genxml anv/video: fix chroma qp to be a integer value. 2023-03-14 07:32:00 +00:00
isl intel/isl: Support Yf/Ys/Tile-64 in isl_surf_get_image_offset_sa 2023-03-22 08:32:52 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel/perf: Hide extended metrics by default 2023-03-11 05:05:06 +00:00
tools intel/dev: create a helper dependency for libintel_dev 2023-03-02 00:01:27 +00:00
vulkan anv: call nir_shader_gather_info early 2023-03-28 14:41:54 +00:00
vulkan_hasvk anv,hasvk: remove stale comments 2023-03-27 07:48:17 +00:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00