intel/fs: improve Wa_22013689345 workaround
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 16 Aug 2022 08:08:43 +0000 (08:08 +0000)
committerEric Engestrom <eric@engestrom.ch>
Wed, 23 Nov 2022 19:12:00 +0000 (19:12 +0000)
commitac303c5d5b39a7b1fd907bfd58bd649055a7a02f
treef1917f0ec858041a34d9d63f04b58b175a9e096f
parent3982e3aca72921f599d7522342216296133729b7
intel/fs: improve Wa_22013689345 workaround

The initial implementation is a pretty big hammer. Implement the HW
recommendation to minimize cases in which we need a fence.

This improves by 10FPS on some of the Sascha Willems RT demos.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 6031ad4bf690 ("intel/fs: Add Wa_22013689345")
Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19322>
(cherry picked from commit 945637514e6e970fcc37745f509eec11ff3b5129)
.pick_status.json
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_fs.cpp