macOS fixes (+ cache deps)
This commit is contained in:
parent
26a4dc8f41
commit
63320fa205
|
|
@ -66,7 +66,10 @@ jobs:
|
|||
|
||||
# Build the engine
|
||||
- name: Build Nazara
|
||||
run: xmake build -v NazaraRenderer && xmake build -v NazaraPhysics2D && xmake build -v NazaraPhysics3D && xmake build -v NazaraGraphics && xmake build -v NazaraAudio && xmake build -v NazaraNetwork
|
||||
run: |
|
||||
xmake build -v NazaraRenderer
|
||||
xmake build -v NazaraPhysics2D
|
||||
xmake build -v NazaraPhysics3D
|
||||
|
||||
# Run unit tests
|
||||
#- name: Run unit tests
|
||||
|
|
|
|||
|
|
@ -28,11 +28,11 @@ namespace Nz::ShaderAst
|
|||
inline Module(UInt32 shaderLangVersion, std::string moduleName = std::string(), const Uuid& moduleId = Uuid::Generate());
|
||||
inline Module(std::shared_ptr<const Metadata> metadata, std::vector<ImportedModule> importedModules = {});
|
||||
inline Module(std::shared_ptr<const Metadata> metadata, MultiStatementPtr rootNode, std::vector<ImportedModule> importedModules = {});
|
||||
Module(const Module&) = default;
|
||||
Module(const Module&) = delete;
|
||||
Module(Module&&) noexcept = default;
|
||||
~Module() = default;
|
||||
|
||||
Module& operator=(const Module&) = default;
|
||||
Module& operator=(const Module&) = delete;
|
||||
Module& operator=(Module&&) noexcept = default;
|
||||
|
||||
struct ImportedModule
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ namespace Nz
|
|||
Graphics* graphics = Graphics::Instance();
|
||||
|
||||
PredefinedLightData lightOffsets = PredefinedLightData::GetOffsets();
|
||||
std::size_t lightUboAlignedSize = AlignPow2(lightOffsets.totalSize, graphics->GetRenderDevice()->GetDeviceInfo().limits.minUniformBufferOffsetAlignment);
|
||||
std::size_t lightUboAlignedSize = AlignPow2(lightOffsets.totalSize, SafeCast<std::size_t>(graphics->GetRenderDevice()->GetDeviceInfo().limits.minUniformBufferOffsetAlignment));
|
||||
|
||||
UploadPool& uploadPool = renderFrame.GetUploadPool();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue