elk: Disable IO semantic validation when remapping patch offsets
Marek disabled this for brw in 2f6b4803ab
but elk also needs the fix. Fixes issues in shader-db/open-subdiv/7 on
crocus targeting Haswell.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38231>
This commit is contained in:
committed by
Marge Bot
parent
10e2631e79
commit
96b739b449
@@ -227,6 +227,13 @@ remap_patch_urb_offsets(nir_block *block, nir_builder *b,
|
|||||||
offset->ssa);
|
offset->ssa);
|
||||||
|
|
||||||
nir_src_rewrite(offset, total_offset);
|
nir_src_rewrite(offset, total_offset);
|
||||||
|
|
||||||
|
/* Putting an address into offset_src requires that NIR
|
||||||
|
* validation of IO intrinsics is disabled.
|
||||||
|
*/
|
||||||
|
nir_io_semantics io_sem = nir_intrinsic_io_semantics(intrin);
|
||||||
|
io_sem.no_validate = 1;
|
||||||
|
nir_intrinsic_set_io_semantics(intrin, io_sem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user