vdata — LLVM 8 documentation

# vdata

Input data for an atomic instruction.

Optionally may serve as an output data:

- If glc is specified, gets the memory value before the operation.

Size: depends on dmask and tfe:

- dmask may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel surfaces. Each data element occupies 1 dword.

- tfe adds 1 dword if specified.

  Note. The surface data format is indicated in the image resource constant but not in the instruction.

Operands: v