mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-09 23:08:18 +02:00
jay: avoid bogus copyprop with cmods
fixes dEQP-VK.sparse_resources.shader_intrinsics.3d_sparse_fetch.r16.503_137_3 Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41872>
This commit is contained in:
parent
65697d6438
commit
16927d537c
1 changed files with 2 additions and 0 deletions
|
|
@ -348,6 +348,8 @@ propagate_backwards(jay_function *f)
|
|||
if (use->type ==
|
||||
(flag ? JAY_TYPE_U1 : canonicalize_for_bit_compare(I->type)) &&
|
||||
I->op != JAY_OPCODE_PHI_DST &&
|
||||
jay_is_null(I->cond_flag) &&
|
||||
!I->predication &&
|
||||
use->op == JAY_OPCODE_MOV &&
|
||||
use->dst.file != J_ADDRESS &&
|
||||
(!jay_is_flag(use->dst) ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue