mesa/src/intel
Sviatoslav Peleshko 54045780aa 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:26:18 -07:00
..
blorp blorp: disable depth bounds 2022-04-21 21:03:06 -07:00
ci anv: Report the right conformance version 2022-02-01 14:36:18 -08:00
common intel: fix URB programming for GT1s 2022-04-21 21:03:06 -07:00
compiler intel/compiler: invalidate all metadata in brw_nir_lower_intersection_shader 2022-04-21 21:03:07 -07:00
dev intel: fixup number of threads per EU on XeHP 2022-04-26 09:26:17 -07:00
ds intel/tracepoint: simplify tracepoint descriptions 2022-02-01 09:28:30 +00:00
genxml anv: disable preemption on 3DPRIMITIVE on gfx12 2022-04-21 21:03:04 -07:00
isl intel/isl: fix 2d view of 3d textures 2022-04-21 21:03:05 -07: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-21 21:03:06 -07: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:26:18 -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