Skip to content

Latest commit

 

History

History
80 lines (46 loc) · 1.42 KB

groupmemorybarrier.md

File metadata and controls

80 lines (46 loc) · 1.42 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
GroupMemoryBarrier function
Blocks execution of all threads in a group until all group shared accesses have been completed.
cebd4277-47a0-401a-bfbe-8d956412f254
GroupMemoryBarrier function HLSL
apiref
GroupMemoryBarrier
NA
reference
05/31/2018

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 Model Supported
Shader Model 5 and higher shader models yes

 

This function is supported in the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x

 

See also

Intrinsic Functions

Shader Model 5