intel/brw: Apply 7e1362e9c0 to pre-xe3 codepath of brw_compile_fs().
This applies the same workaround as 7e1362e9c0 to the pre-xe3
codepath of brw_compile_fs(), since ray queries appear to be
unsupported from SIMD32 fragment shaders.
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36618>
This commit is contained in:
committed by
Marge Bot
parent
531a34c7dd
commit
a7969b5d42
@@ -1786,7 +1786,8 @@ brw_compile_fs(const struct brw_compiler *compiler,
|
||||
if (!has_spilled &&
|
||||
dispatch_width_limit >= 32 &&
|
||||
reqd_dispatch_width == SUBGROUP_SIZE_VARYING &&
|
||||
!simd16_failed && INTEL_SIMD(FS, 32)) {
|
||||
!simd16_failed && INTEL_SIMD(FS, 32) &&
|
||||
!prog_data->base.ray_queries) {
|
||||
/* Try a SIMD32 compile */
|
||||
brw_shader_params shader_params = base_shader_params;
|
||||
shader_params.dispatch_width = 32;
|
||||
|
||||
Reference in New Issue
Block a user