mesa/src/intel
Kenneth Graunke f00143acc3 intel/compiler: Fold constants after distributing source modifiers
This can generate things like fneg! of load_const, which is silly.
Fold those away into an actual constant.  Only do so on the scalar
backend because there's a comment above that the vec4 backend doesn't
want any new constants this late, and I'm inclined to believe it.

fossil-db stats show a very minor improvement:

   Totals:
   Instrs: 203091223 -> 203091099 (-0.00%); split: -0.00%, +0.00%
   Cycles: 14410638075 -> 14410577067 (-0.00%); split: -0.00%, +0.00%

   Totals from 20 (0.00% of 665070) affected shaders:
   Instrs: 27067 -> 26943 (-0.46%); split: -0.47%, +0.01%
   Cycles: 2687958 -> 2626950 (-2.27%); split: -2.27%, +0.00%

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22881>
2023-05-09 00:16:40 -07:00
..
blorp anv,blorp,iris: Set PreferredSLMAllocationSize on gfx125+ 2023-04-06 10:54:47 +00:00
ci anv: Work around the spec question about pipeline feedback vs GPL. 2023-04-17 22:43:38 +00:00
common intel: enable protected context creation along with engines 2023-05-08 20:40:20 +00:00
compiler intel/compiler: Fold constants after distributing source modifiers 2023-05-09 00:16:40 -07:00
dev anv: make internal address space allocation more dynamic 2023-05-05 14:48:15 +03:00
ds anv: add utrace tracking of frame boundaries 2023-04-13 01:14:38 +00:00
genxml intel/genxml: Add the preferred slm size enum for gen125 2023-04-06 10:54:46 +00:00
isl isl: fix layout for comparing surf and view properties 2023-05-05 08:48:53 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel/perf: fix OA format selection on MTL 2023-04-03 23:34:17 +00:00
tools intel/tools: decode ACTHD printed by newer kernels 2023-05-05 14:55:41 +00:00
vulkan intel: enable protected context creation along with engines 2023-05-08 20:40:20 +00:00
vulkan_hasvk intel: enable protected context creation along with engines 2023-05-08 20:40:20 +00:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00