vaddr — LLVM 15.0.7 documentation

# vaddr

Image address which includes from one to four dimensional coordinates and other data used to locate a position in the image.

This operand may be specified using either standard VGPR syntax or special NSA VGPR syntax.

Size: 8-12 dwords. Actual size depends on a16.

- If specified using NSA VGPR syntax, the size is 8-12 dwords.

- If specified using standard VGPR syntax, the size is 8 dwords. Opcodes which require more than 8 dwords for address size must specify 16 dwords due to a limited range of supported register sequences.

  Examples:

      image_bvh_intersect_ray v[4:7], v[9:24], s[4:7]
      image_bvh_intersect_ray v[39:42], [v5, v4, v2, v1, v7, v3, v0, v6], s[12:15] a16

Operands: v