Post merge fixes
This commit is contained in:
@@ -406,7 +406,7 @@ bool ShaderCompilerDX::CompileShader(ShaderFunctionMeta& meta, WritePermutationD
|
||||
for (UINT shift = 0; shift < resDesc.BindCount; shift++)
|
||||
{
|
||||
bindings.UsedUAsMask |= 1 << (resDesc.BindPoint + shift);
|
||||
header.SrDimensions[resDesc.BindPoint + shift] = (byte)resDesc.Dimension; // D3D_SRV_DIMENSION matches D3D12_UAV_DIMENSION
|
||||
header.UaDimensions[resDesc.BindPoint + shift] = (byte)resDesc.Dimension; // D3D_SRV_DIMENSION matches D3D12_UAV_DIMENSION
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "Engine/Platform/File.h"
|
||||
#include "Engine/Platform/FileSystem.h"
|
||||
#include "Engine/Graphics/RenderTools.h"
|
||||
#include "Engine/Graphics/Shaders/GPUShader.h"
|
||||
#include "Engine/Threading/Threading.h"
|
||||
#include "Engine/Profiler/ProfilerCPU.h"
|
||||
#include "Engine/Serialization/MemoryWriteStream.h"
|
||||
@@ -80,7 +81,7 @@ bool ShaderCompiler::Compile(ShaderCompilationContext* context)
|
||||
_constantBuffers.Add({ meta->CB[i].Slot, false, 0 });
|
||||
|
||||
// [Output] Version number
|
||||
output->WriteInt32(8);
|
||||
output->WriteInt32(GPU_SHADER_CACHE_VERSION);
|
||||
|
||||
// [Output] Additional data start
|
||||
const int32 additionalDataStartPos = output->GetPosition();
|
||||
|
||||
@@ -67,6 +67,7 @@ public class ModelTool : EngineModule
|
||||
|
||||
options.PrivateDependencies.Add("meshoptimizer");
|
||||
options.PrivateDependencies.Add("MikkTSpace");
|
||||
options.PrivateDependencies.Add("Physics");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user