Files
mesa/src/util
Sviatoslav Peleshko 28ca5636f6 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>
2022-04-26 13:21:43 +00:00
..
2022-04-20 18:44:35 +00:00
2021-12-03 18:29:13 +00:00
2022-04-22 19:38:52 +00:00
2022-04-22 19:38:52 +00:00
2021-11-17 13:41:47 +00:00
2021-11-17 13:41:47 +00:00
2021-08-14 21:44:32 +00:00
2022-04-06 00:04:14 +00:00
2021-10-20 21:40:31 -07:00
2022-03-09 08:48:59 +00:00
2022-03-09 08:48:59 +00:00
2022-04-20 18:44:35 +00:00
2022-04-08 13:15:12 +00:00
2021-02-22 00:30:46 +00:00
2021-05-10 15:34:07 +00:00
2022-04-20 18:44:35 +00:00
2021-02-19 11:05:38 +00:00
2021-08-14 21:44:32 +00:00