imageAtomicOr - atomically compute the logical OR of a value with an existing value in memory, store that
Contents
Copyright
Copyright © 2011-2014 Khronos Group
[FIXME: source] 11/18/2024 IMAGEATOMICOR(3G)
Declaration
uintimageAtomicOr(gimage1Dimage,intP,uintdata);uintimageAtomicOr(gimage2Dimage,ivec2P,uintdata);uintimageAtomicOr(gimage3Dimage,ivec3P,uintdata);uintimageAtomicOr(gimage2DRectimage,ivec2P,uintdata);uintimageAtomicOr(gimageCubeimage,ivec3P,uintdata);uintimageAtomicOr(gbufferImageimage,intP,uintdata);uintimageAtomicOr(gimage1DArrayimage,ivec2P,uintdata);uintimageAtomicOr(gimage2DArrayimage,ivec3P,uintdata);uintimageAtomicOr(gimageCubeArrayimage,ivec3P,uintdata);uintimageAtomicOr(gimage2DMSimage,ivec2P,intsample,uintdata);uintimageAtomicOr(gimage2DMSArrayimage,ivec3P,intsample,uintdata);intimageAtomicOr(gimage1Dimage,intP,intdata);intimageAtomicOr(gimage2Dimage,ivec2P,intdata);intimageAtomicOr(gimage3Dimage,ivec3P,intdata);intimageAtomicOr(gimage2DRectimage,ivec2P,intdata);intimageAtomicOr(gimageCubeimage,ivec3P,intdata);intimageAtomicOr(gbufferImageimage,intP,intdata);intimageAtomicOr(gimage1DArrayimage,ivec2P,intdata);intimageAtomicOr(gimage2DArrayimage,ivec3P,intdata);intimageAtomicOr(gimageCubeArrayimage,ivec3P,intdata);intimageAtomicOr(gimage2DMSimage,ivec2P,intsample,intdata);intimageAtomicOr(gimage2DMSArrayimage,ivec3P,intsample,intdata);
Description
imageAtomicOr atomically computes a new value by logically ORing 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
imageAtomicOr - atomically compute the logical 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 OR into the image.
See Also
imageLoad(), imageStore(), imageAtomicAdd(), imageAtomicMin(), imageAtomicMax(), imageAtomicAnd(),
imageAtomicXor(), 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 │ │ │ │ │ │ │ │ │ │ │ │ │
├───────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
│ imageAtomicOr │ - │ - │ - │ - │ - │ - │ - │ - │ ✔ │ ✔ │ ✔ │ ✔ │
└───────────────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
