RWByteAddressBuffer.InterlockedXor

Description

Perform an atomic xor operation at the specified byte location of the byte address buffer.

Signature

void RWByteAddressBuffer.InterlockedXor(
    uint dest,
    uint value,
    out uint original_value);

void RWByteAddressBuffer.InterlockedXor(
    uint dest,
    uint value);

Parameters

dest : uint

The byte address at which to perform the atomic xor operation.

value : uint

The operand of the atomic operation.

original_value : uint

The original value at dest before the xor operation.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cuda

Available in all stages.

metal

Available in all stages.

spirv

Available in all stages.