Skip to content

Commit

Permalink
fixed sync issues with new graphics cards
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusThies committed Oct 2, 2017
1 parent 799b415 commit 421d548
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DepthSensing/Shaders/ScanCS.hlsl
Expand Up @@ -50,6 +50,7 @@ void CSScan(uint3 DTid, uint GI, int x)
uint lane = GI & 31u;
uint warp = GI >> 5u;

GroupMemoryBarrierWithGroupSync(); // <<<<<<<<<<
x = CSWarpScan(lane, GI);
GroupMemoryBarrierWithGroupSync();

Expand Down

0 comments on commit 421d548

Please sign in to comment.