mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
intel/fs: Don't assume packed dispatch for fragment shaders on XeHP.
The current packed dispatch assumptions for fragment shaders seem to be the reason that the fs-readFirstInvocation-uint-loop Piglit test-case for the ARB_shader_ballot extension fails on DG2 in combination with the patches in this series that enable pixel pipe hashing (thanks Jordan for reporting the regression). I've confirmed that the brw_fs_test_dispatch_packing() test fails on DG2 hardware for fragment shaders, while it succeeds for other shader stages, indicating that the PSD hardware no longer guarantees packed dispatch. Disable it. Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13569>
This commit is contained in:
parent
ffa2ca8a77
commit
c6455cfec9
1 changed files with 1 additions and 1 deletions
|
|
@ -1945,7 +1945,7 @@ brw_stage_has_packed_dispatch(ASSERTED const struct intel_device_info *devinfo,
|
|||
*/
|
||||
const struct brw_wm_prog_data *wm_prog_data =
|
||||
(const struct brw_wm_prog_data *)prog_data;
|
||||
return !wm_prog_data->persample_dispatch;
|
||||
return devinfo->verx10 < 125 && !wm_prog_data->persample_dispatch;
|
||||
}
|
||||
case MESA_SHADER_COMPUTE:
|
||||
/* Compute shaders will be spawned with either a fully enabled dispatch
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue