RWByteAddressBuffer.InterlockedMaxU64

Description

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

Signature

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

Parameters

byteAddress : uint

The address at which to perform the atomic max operation.

value : uint64_t

The operand for the max 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.