mesa/src/intel
Lionel Landwerlin 96c8880900 intel/fs: fix total_scratch computation
We only have a single prog_data::total_scratch for all shader variants
(SIMD 8, 16, 32). Therefore we should always max the total_scratch on
top of existing variant.

We probably haven't run into that issue before because we compile by
increasing SIMD size and higher SIMD size is more likely to spill. But
for bindless shaders with return shaders, if the last return part
doesn't spill, we completely ignore the previous parts' scratch
computation.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15193>
2022-03-02 13:13:03 +00:00
..
blorp blorp: Add blorp_measure hooks to the blitter codepaths 2022-02-24 21:42:16 +00:00
ci ci: Allow disabling the whole of the Collabora farm 2022-02-24 07:33:45 +01:00
common intel: Add missing dep of gen_*_header.py on utils.py. 2022-02-02 11:21:57 -08:00
compiler intel/fs: fix total_scratch computation 2022-03-02 13:13:03 +00:00
dev intel/dev: provide some default values for no_hw 2022-02-17 07:49:08 +00:00
ds intel/ds: fix compilation with perfetto 2022-02-08 12:29:21 +00:00
genxml anv/genxml/intel/fs: fix binding shader record entry 2022-02-19 13:50:56 +00:00
isl intel/isl: Add format assertions for surfaces using CCS 2022-02-10 04:47:14 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel/perf: use a function to do common allocations 2022-01-20 06:41:17 +00:00
tools intel: remove chipset_id 2022-01-13 03:09:36 +00:00
vulkan anv: Disable aux if the explicit modifier lacks it 2022-03-01 20:05:50 +00:00
Makefile.perf.am intel: Rename GEN_PERF prefix to INTEL_PERF in build files 2021-04-20 20:06:34 +00:00
meson.build anv: add perfetto source 2022-01-14 20:17:44 +00:00