Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 3df814c

Browse files
committed
Fixed compute warning in AutoExposure
1 parent 5e4d4eb commit 3df814c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PostProcessing/Shaders/Builtins/AutoExposure.compute

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ void MAIN(uint2 groupThreadId : SV_GroupThreadID)
4242
GroupMemoryBarrierWithGroupSync();
4343

4444
// Parallel reduction to find the max value
45+
UNITY_UNROLL
4546
for (uint i = HISTOGRAM_BINS >> 1u; i > 32u; i >>= 1u)
4647
{
4748
if (thread_id < i)

0 commit comments

Comments
 (0)