From 58cdb4ee7ce9d1b4c5e2f4e39e97885750591a6a Mon Sep 17 00:00:00 2001 From: Katzeee Date: Sun, 1 Sep 2024 23:23:31 +0800 Subject: [PATCH] Fix redundant memory barrier in TAA (#884) --- MiniEngine/Core/Shaders/TemporalBlendCS.hlsl | 2 -- 1 file changed, 2 deletions(-) diff --git a/MiniEngine/Core/Shaders/TemporalBlendCS.hlsl b/MiniEngine/Core/Shaders/TemporalBlendCS.hlsl index cf79eb68e..7b7930547 100644 --- a/MiniEngine/Core/Shaders/TemporalBlendCS.hlsl +++ b/MiniEngine/Core/Shaders/TemporalBlendCS.hlsl @@ -194,8 +194,6 @@ void main(uint3 DTid : SV_DispatchThreadID, uint GI : SV_GroupIndex, uint3 GTid uint Idx0 = GTid.x * 2 + GTid.y * kLdsPitch + kLdsPitch + 1; uint Idx1 = Idx0 + 1; - GroupMemoryBarrierWithGroupSync(); - float3 BoxMin, BoxMax; GetBBoxForPair(Idx0, Idx1, BoxMin, BoxMax);