mesa/src/intel
Sviatoslav Peleshko fe83982fa6 anv: workaround apps that assume full subgroups without specifying it
Without this we might choose 8 or 16 width, while the app assumes 32.
With subgroup operations it may cause wrong calculations and thus bugs.

Examples of such games are Aperture Desk Job and DOOM Eternal.

v2: Make it a driconf option instead of applying unconditionally, move
    from brw_required_dispatch_width to brw_compile_cs
v3: Rename allow_assuming_full_subgroups -> assume_full_subgroups.
    Include assume_full_subgroups value in anv_pipeline_hash_compute().
v4: Move actual workaround code from brw_fs.c -> anv_pipeline.c.

Cc: mesa-stable
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6171
Signed-off-by: Sviatoslav Peleshko <sviatoslav.peleshko@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15708>
(cherry picked from commit 28ca5636f6)
2022-04-26 09:06:12 -07:00
..
blorp blorp: disable depth bounds 2022-04-06 19:00:50 +00:00
ci blorp: disable depth bounds 2022-04-06 19:00:50 +00:00
common intel: fix URB programming for GT1s 2022-04-20 21:44:49 -07:00
compiler intel/compiler: invalidate metadata in brw_nir_initialize_mue 2022-04-20 21:44:50 -07:00
dev intel: fixup number of threads per EU on XeHP 2022-04-26 09:06:07 -07:00
ds intel/ds: fix compilation with perfetto 2022-02-08 12:29:21 +00:00
genxml intel/genxml: Add SAMPLER_MODE bits for enabling Small PL on Icelake 2022-04-11 19:17:07 +00:00
isl intel/isl: Add a helper for swizzling color values 2022-04-04 21:42:23 +00:00
nullhw-layer intel/nullhw: fix build 2021-03-26 20:12:40 +00:00
perf intel/perf: Fix OA report accumulation on Gfx12+. 2022-04-12 00:11:47 +00:00
tools intel: remove chipset_id 2022-01-13 03:09:36 +00:00
vulkan anv: workaround apps that assume full subgroups without specifying it 2022-04-26 09:06:12 -07: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