imageAtomicXor - atomically compute the logical exclusive OR of a value with an existing value in memory,
Contents
Copyright
Copyright © 2011-2014 Khronos Group
[FIXME: source] 11/18/2024 IMAGEATOMICXOR(3G)
Declaration
uintimageAtomicXor(gimage1Dimage,intP,uintdata);uintimageAtomicXor(gimage2Dimage,ivec2P,uintdata);uintimageAtomicXor(gimage3Dimage,ivec3P,uintdata);uintimageAtomicXor(gimage2DRectimage,ivec2P,uintdata);uintimageAtomicXor(gimageCubeimage,ivec3P,uintdata);uintimageAtomicXor(gbufferImageimage,intP,uintdata);uintimageAtomicXor(gimage1DArrayimage,ivec2P,uintdata);uintimageAtomicXor(gimage2DArrayimage,ivec3P,uintdata);uintimageAtomicXor(gimageCubeArrayimage,ivec3P,uintdata);uintimageAtomicXor(gimage2DMSimage,ivec2P,intsample,uintdata);uintimageAtomicXor(gimage2DMSArrayimage,ivec3P,intsample,uintdata);intimageAtomicXor(gimage1Dimage,intP,intdata);intimageAtomicXor(gimage2Dimage,ivec2P,intdata);intimageAtomicXor(gimage3Dimage,ivec3P,intdata);intimageAtomicXor(gimage2DRectimage,ivec2P,intdata);intimageAtomicXor(gimageCubeimage,ivec3P,intdata);intimageAtomicXor(gbufferImageimage,intP,intdata);intimageAtomicXor(gimage1DArrayimage,ivec2P,intdata);intimageAtomicXor(gimage2DArrayimage,ivec3P,intdata);intimageAtomicXor(gimageCubeArrayimage,ivec3P,intdata);intimageAtomicXor(gimage2DMSimage,ivec2P,intsample,intdata);intimageAtomicXor(gimage2DMSArrayimage,ivec3P,intsample,intdata);
Description
imageAtomicXor atomically computes a new value by logically XORing the value of data to the contents of
the texel at coordinate P and sample in the image bound to uint image, stores that value into the image
and returns the original value.
Name
imageAtomicXor - atomically compute the logical exclusive OR of a value with an existing value in memory,
store that value and return the original value
Parameters
image
Specify the image unit into which to store data.
P
Specify the coordinate at which to store the data.
sample
When present, specifies the sample within the image to store into.
data
Specifies the data to logically XOR into the image.
See Also
imageLoad(), imageStore(), imageAtomicAdd(), imageAtomicMin(), imageAtomicMax(), imageAtomicOr(),
imageAtomicAnd(), imageAtomicExchange(), imageAtomicCompSwap()
Version Support
┌────────────────┬───────────────────────────────────────────────────────────────────────────────────┐
│ │ OpenGLShadingLanguageVersion │
├────────────────┼──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┤
│ Function │ 1.10 │ 1.20 │ 1.30 │ 1.40 │ 1.50 │ 3.30 │ 4.00 │ 4.10 │ 4.20 │ 4.30 │ 4.40 │ 4.50 │
│ Name │ │ │ │ │ │ │ │ │ │ │ │ │
├────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ imageAtomicXor │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ ✔ │
└────────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
