Skip to content
Snippets Groups Projects
Commit 48687035 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig
Browse files

agx: fix tg4 offset residency

parent 4a9e75bd
No related branches found
No related tags found
Loading
......@@ -677,8 +677,9 @@ lower_images(nir_builder *b, nir_intrinsic_instr *intr, UNUSED void *data)
return true;
case nir_intrinsic_sparse_residency_code_and:
/* ior because residency codes are inverted from NIR */
nir_def_replace(&intr->def,
nir_iand(b, intr->src[0].ssa, intr->src[1].ssa));
nir_ior(b, intr->src[0].ssa, intr->src[1].ssa));
return true;
case nir_intrinsic_image_size:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment