intel/compiler: make sure we keep the lowest dispatch limit
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7455>
This commit is contained in:
parent
4dcfb18a82
commit
dabaaaf6c7
|
@ -714,7 +714,7 @@ fs_visitor::limit_dispatch_width(unsigned n, const char *msg)
|
|||
if (dispatch_width > n) {
|
||||
fail("%s", msg);
|
||||
} else {
|
||||
max_dispatch_width = n;
|
||||
max_dispatch_width = MIN2(max_dispatch_width, n);
|
||||
compiler->shader_perf_log(log_data,
|
||||
"Shader dispatch width limited to SIMD%d: %s",
|
||||
n, msg);
|
||||
|
|
Loading…
Reference in New Issue