ntt: handle the image intrinsic range_base when translating to TGSI

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19980>
This commit is contained in:
Gert Wollny
2022-11-24 13:23:50 +01:00
committed by Marge Bot
parent 2e05cfa179
commit 36f19058ae
+1
View File
@@ -2077,6 +2077,7 @@ ntt_emit_image_load_store(struct ntt_compile *c, nir_intrinsic_instr *instr)
default:
resource = ntt_ureg_src_indirect(c, ureg_src_register(TGSI_FILE_IMAGE, 0),
instr->src[0], 2);
resource.Index += nir_intrinsic_range_base(instr);
}
struct ureg_dst dst;