intel/fs: limit FS dispatch to SIMD16 when using ray queries

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13719>
This commit is contained in:
Lionel Landwerlin 2021-07-02 12:47:38 +03:00 committed by Marge Bot
parent 57eed6698b
commit 2665595244
1 changed files with 3 additions and 0 deletions

View File

@ -9762,6 +9762,9 @@ brw_compile_fs(const struct brw_compiler *compiler,
" pixel shading.\n");
}
if (nir->info.ray_queries > 0)
v8->limit_dispatch_width(16, "SIMD32 with ray queries.\n");
if (!has_spilled &&
v8->max_dispatch_width >= 16 &&
(!INTEL_DEBUG(DEBUG_NO16) || params->use_rep_send)) {