Optimize compilation time

This commit is contained in:
Wojtek Figat
2022-12-03 10:42:58 +01:00
parent 6458d7e0db
commit 98c29c4a4e
67 changed files with 128 additions and 77 deletions

View File

@@ -6,6 +6,7 @@
#include "Engine/Core/Collections/HashSet.h"
#include "Engine/Engine/Engine.h"
#include "Engine/Content/Content.h"
#include "Engine/Graphics/GPUContext.h"
#include "Engine/Graphics/GPUDevice.h"
#include "Engine/Graphics/Graphics.h"
#include "Engine/Graphics/RenderTask.h"
@@ -117,9 +118,9 @@ struct RasterizeChunkKey
Hash += RasterizeChunkKeyHashResolution * RasterizeChunkKeyHashResolution * RasterizeChunkKeyHashResolution;
}
friend bool operator==(const RasterizeChunkKey& a, const RasterizeChunkKey& b)
bool operator==(const RasterizeChunkKey& other) const
{
return a.Hash == b.Hash && a.Coord == b.Coord && a.Layer == b.Layer;
return Hash == other.Hash && Coord == other.Coord && Layer == other.Layer;
}
};