intel/fs: improve Wa_22013689345 workaround
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Tue, 16 Aug 2022 08:08:43 +0000 (08:08 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Nov 2022 06:54:04 +0000 (06:54 +0000)
commit945637514e6e970fcc37745f509eec11ff3b5129
treeb8589f679f1bed2a80a0e123a3560fed8eab54a2
parent86f353ed23d2d59d225d3dd00d350a9fb733e5e3
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>
src/intel/compiler/brw_eu.h
src/intel/compiler/brw_fs.cpp