diff --git a/.pick_status.json b/.pick_status.json index fef13d8caa2..a8959b601bb 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -2794,7 +2794,7 @@ "description": "intel/fs: Don't copy-propagate stride=0 sources into ddx/ddy", "nominated": true, "nomination_type": 0, - "resolution": 0, + "resolution": 1, "master_sha": null, "because_sha": null }, diff --git a/src/intel/compiler/brw_fs_copy_propagation.cpp b/src/intel/compiler/brw_fs_copy_propagation.cpp index a33043573a5..31e55e64a27 100644 --- a/src/intel/compiler/brw_fs_copy_propagation.cpp +++ b/src/intel/compiler/brw_fs_copy_propagation.cpp @@ -524,7 +524,7 @@ fs_visitor::try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry) */ const unsigned entry_stride = (entry->src.file == FIXED_GRF ? 1 : entry->src.stride); - if (instruction_requires_packed_data(inst) && entry_stride > 1) + if (instruction_requires_packed_data(inst) && entry_stride != 1) return false; /* Bail if the result of composing both strides would exceed the