vdst — LLVM 21.1.8 documentation

# vdst

Image data to be loaded by an image instruction.

Size: depends on dmask, tfe and d16:

- dmask may specify from 1 to 4 data elements. Each data element occupies either 32 bits or 16 bits, depending on d16.

- d16 has different meanings for GFX8.0 and GFX8.1:

  - For GFX8.0, this modifier does not affect the size of data elements in registers. Values in registers are stored in low 16 bits, high 16 bits are unused. There is no packing.

  - Starting from GFX8.1, this modifier specifies that values in registers are packed; each value occupies 16 bits.

- tfe adds 1 dword if specified.

Operands: v