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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user