mesa/src
Emma Anholt 467ee94001 iris: Disable GLSL lower_const_arrays_to_uniforms.
We want to use nir_opt_large_constants() instead (which is already
enabled), since that doesn't involve uploading the large immediate data
array again on each CB0 update.  The downside is a bit of addressing math,
since constant_data is accessed using 64-bit global addresses.

The shader-db results are a bit all over:

All Iris driver platforms had similar results. (Ice Lake shown)
total instructions in shared programs: 19910185 -> 19913931 (0.02%)
instructions in affected programs: 225374 -> 229120 (1.66%)
helped: 3 / HURT: 348

total cycles in shared programs: 856004856 -> 855016808 (-0.12%)
cycles in affected programs: 22832422 -> 21844374 (-4.33%)
helped: 277 / HURT: 101

total spills in shared programs: 6580 -> 6609 (0.44%)
spills in affected programs: 516 -> 545 (5.62%)
helped: 1 / HURT: 4

total fills in shared programs: 8235 -> 8267 (0.39%)
fills in affected programs: 1022 -> 1054 (3.13%)
helped: 1 / HURT: 3

total sends in shared programs: 1039347 -> 1039095 (-0.02%)
sends in affected programs: 16367 -> 16115 (-1.54%)
helped: 251 / HURT: 0

LOST:   5
GAINED: 2

LOST:
- 3 SIMD16 fragment shaders (Superposition)
- 2 SIMD16 compute shaders (Aztec Ruins)

GAINED:
- fake news... 2 SIMD8 compute shaders that replace the lost SIMD16
  compute shaders.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16539>
2022-11-01 14:55:33 -07:00
..
amd radv: move GDS counters after reserved GDS offsets for streamout 2022-11-01 19:47:07 +00:00
android_stub
asahi asahi: Identify counts for compute kernels 2022-10-29 19:23:51 +00:00
broadcom v3dv: split event implementation to a separate file 2022-10-28 10:55:37 +00:00
c11 c11: Getting the macro guard of HAVE_PTHREAD in c11/threads.h to be consistence with util/u_uthread.h 2022-10-20 03:04:56 +00:00
compiler nir/types: Add some asserts to glsl_get_struct_field() 2022-11-01 14:48:41 +00:00
drm-shim drm-shim: drop gnu99 override 2022-09-16 02:06:38 +00:00
egl egl: Add EGL_EXT_protected_content support 2022-10-27 10:53:18 +00:00
etnaviv util/mesa/wide: Rename _SIMPLE_MTX_INITIALIZER_NP to SIMPLE_MTX_INITIALIZER 2022-10-14 03:27:41 +00:00
freedreno freedreno/pps: loop countables by references 2022-11-01 20:22:36 +00:00
gallium iris: Disable GLSL lower_const_arrays_to_uniforms. 2022-11-01 14:55:33 -07:00
gbm Android: Use libgbm_mesa name for SDK30+ 2022-09-12 07:37:27 +00:00
getopt
glx glx: clean-ups in drisw_glx.c 2022-10-27 03:26:08 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: setup buffer and image format feature bits 2022-10-31 11:07:30 +00:00
imgui
intel intel/compiler: Run nir_opt_large_constants before scalarizing consts 2022-11-01 14:55:21 -07:00
loader loader/dri3: Add DRI performance option to wait for next buffer on swap 2022-10-25 08:30:35 +00:00
mapi mapi: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER in stub.c 2022-10-20 01:32:47 +00:00
mesa Revert "mesa/st: ARB_vertex_attrib_64bit depend on glsl>=410" 2022-10-28 19:13:27 +00:00
microsoft dzn: Set factory flags before creating device 2022-10-31 18:03:02 +00:00
nouveau nouveau/codegen: Support bindless texture queries 2022-11-01 15:29:24 +00:00
panfrost panfrost: Enable Mali-T620 2022-10-31 13:02:06 +00:00
tool pps: enable track_event in intel.cfg 2022-10-09 22:39:53 +03:00
util util: glsl2spirv.py: ensure '#endif' is printed in new line 2022-10-30 14:14:21 +01:00
virtio venus: add VK_EXT_depth_clip_control support 2022-10-27 00:22:30 +00:00
vulkan vulkan/runtime: include robustness info when hashing a shader stage 2022-10-27 08:17:11 +00:00
meson.build meson: Remove usage of use_elf_tls 2022-07-29 23:59:11 +00:00