mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 09:30:13 +01:00
intel/fs: Check fs_visitor instance before using it
On Xe2+, we don't build the SIMD8 shader so this check makes sure we don't execute the uninitialized invocations. Signed-off-by: Sagar Ghuge <sagar.ghuge@intel.com> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26886>
This commit is contained in:
parent
56a72e014f
commit
96e0d979a7
1 changed files with 1 additions and 1 deletions
|
|
@ -7757,7 +7757,7 @@ brw_compile_fs(const struct brw_compiler *compiler,
|
|||
" pixel shading.\n");
|
||||
}
|
||||
|
||||
if (nir->info.ray_queries > 0)
|
||||
if (nir->info.ray_queries > 0 && v8)
|
||||
v8->limit_dispatch_width(16, "SIMD32 with ray queries.\n");
|
||||
|
||||
if (!has_spilled &&
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue