RWByteAddressBuffer.InterlockedAddU64

Description

Perform a 64-bit unsigned integer atomic add operation at byteAddress.

Signature

uint64_t RWByteAddressBuffer.InterlockedAddU64(
    uint byteAddress,
    uint64_t value);

Parameters

byteAddress : uint

The address at which to perform the atomic add operation.

value : uint64_t

The operand for the add operation.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cuda

Available in all stages.

spirv

Available in all stages.

Requires capability: spvInt64Atomics.