Module: Mesa Branch: main Commit: 6b494745be0900a67004d6f3e4b730c3cd67da79 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6b494745be0900a67004d6f3e4b730c3cd67da79
Author: Lionel Landwerlin <[email protected]> Date: Thu Oct 27 13:17:45 2022 +0300 intel/fs: only avoid SIMD32 if strictly inferior in throughput This enabled SIMD32 in blorp shaders and seems to be give a small FPS bump when using a DG2 GPU as secondary (requires copies to linear buffers to exchange with main GPU). Signed-off-by: Lionel Landwerlin <[email protected]> Acked-by: Matt Turner <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19341> --- src/intel/compiler/brw_fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_fs.cpp b/src/intel/compiler/brw_fs.cpp index 9ae36e9f89b..dbd84968509 100644 --- a/src/intel/compiler/brw_fs.cpp +++ b/src/intel/compiler/brw_fs.cpp @@ -7625,7 +7625,7 @@ brw_compile_fs(const struct brw_compiler *compiler, } else { const performance &perf = v32->performance_analysis.require(); - if (!INTEL_DEBUG(DEBUG_DO32) && throughput >= perf.throughput) { + if (!INTEL_DEBUG(DEBUG_DO32) && throughput > perf.throughput) { brw_shader_perf_log(compiler, params->log_data, "SIMD32 shader inefficient\n"); } else {
