GroupMemoryBarrier
abs
all
any
cos
ddx
ddy
dot
dst
exp
fma
lit
log
mad
max
min
mul
pow
rcp
sin
tan
TOC
Collapse the table of content
Expand the table of content

GroupMemoryBarrier function

Blocks execution of all threads in a group until all group shared accesses have been completed.

Syntax

void GroupMemoryBarrier(void);

Parameters

This function has no parameters.

Return value

This function does not return a value.

Remarks

Minimum Shader Model

This function is supported in the following shader models.

Shader ModelSupported
Shader Model 5 and higher shader modelsyes

 

This function is supported in the following types of shaders:

VertexHullDomainGeometryPixelCompute
x

 

See also

Intrinsic Functions
Shader Model 5

 

 

Show:
© 2016 Microsoft