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