mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-10 01:18:18 +02:00
jay: Disable SIMD32 if ray queries are used
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/42006>
This commit is contained in:
parent
773a0e71ce
commit
576fc784c9
1 changed files with 4 additions and 0 deletions
|
|
@ -354,6 +354,10 @@ jay_process_nir(const struct intel_device_info *devinfo,
|
|||
if (stage == MESA_SHADER_FRAGMENT && nir->info.fs.color_is_dual_source)
|
||||
do_simd32 = false;
|
||||
|
||||
/* SIMD splitting of ray queries is inefficient, avoid it when possible */
|
||||
if (prog_data->base.ray_queries && nir->info.min_subgroup_size < 32)
|
||||
do_simd32 = false;
|
||||
|
||||
unsigned simd_width = do_simd32 ? (nir->info.api_subgroup_size ?: 32) : 16;
|
||||
|
||||
brw_pass_tracker pt_ = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue