Skip to content

Commit

Permalink
Update for latest nazarautils
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Jan 2, 2024
1 parent a84faad commit 482a5a0
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/NZSL/Math/Vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#ifndef NZSL_MATH_VECTOR_HPP
#define NZSL_MATH_VECTOR_HPP

#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/MathUtils.hpp>
#include <NZSL/Config.hpp>
#include <array>
#include <functional>
Expand Down
1 change: 0 additions & 1 deletion include/NZSL/Math/Vector.inl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// For conditions of distribution and use, see copyright notice in Config.hpp

#include <NazaraUtils/Hash.hpp>
#include <cmath>

namespace nzsl
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// This file is part of the "Nazara Shading Language" project
// For conditions of distribution and use, see copyright notice in Config.hpp

#include <NZSL/Ast/ConstantPropagationVisitor.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NZSL/ShaderBuilder.hpp>
#include <NZSL/Ast/ConstantPropagationVisitor.hpp>
#include <NZSL/Lang/Errors.hpp>
#include <cassert>
#include <cmath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
// This file is part of the "Nazara Shading Language" project
// For conditions of distribution and use, see copyright notice in Config.hpp

#include <NZSL/ShaderBuilder.hpp>
#include <NZSL/Ast/ConstantPropagationVisitor.hpp>
#include <NZSL/ShaderBuilder.hpp>
#include <NZSL/Lang/Errors.hpp>
#include <cassert>
#include <cmath>
Expand Down
2 changes: 1 addition & 1 deletion src/NZSL/FilesystemModuleResolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For conditions of distribution and use, see copyright notice in Config.hpp

#include <NZSL/FilesystemModuleResolver.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/PathUtils.hpp>
#include <NZSL/Parser.hpp>
#include <NZSL/Ast/AstSerializer.hpp>
#ifdef NZSL_EFSW
Expand Down
1 change: 1 addition & 0 deletions src/NZSL/GlslWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/Bitset.hpp>
#include <NazaraUtils/CallOnExit.hpp>
#include <NazaraUtils/PathUtils.hpp>
#include <NZSL/Enums.hpp>
#include <NZSL/ShaderBuilder.hpp>
#include <NZSL/Ast/Cloner.hpp>
Expand Down
2 changes: 1 addition & 1 deletion src/NZSL/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// For conditions of distribution and use, see copyright notice in Config.hpp

#include <NZSL/Parser.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/PathUtils.hpp>
#include <NZSL/ShaderBuilder.hpp>
#include <NZSL/Lang/Errors.hpp>
#include <NZSL/Lang/LangData.hpp>
Expand Down
1 change: 1 addition & 0 deletions src/NZSL/SpirvWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <NZSL/SpirvWriter.hpp>
#include <NazaraUtils/CallOnExit.hpp>
#include <NazaraUtils/PathUtils.hpp>
#include <NazaraUtils/StackVector.hpp>
#include <NZSL/Enums.hpp>
#include <NZSL/Parser.hpp>
Expand Down
1 change: 1 addition & 0 deletions src/ShaderCompiler/Compiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#include <ShaderCompiler/Compiler.hpp>
#include <NazaraUtils/Algorithm.hpp>
#include <NazaraUtils/CallOnExit.hpp>
#include <NazaraUtils/PathUtils.hpp>
#include <NZSL/FilesystemModuleResolver.hpp>
#include <NZSL/GlslWriter.hpp>
#include <NZSL/LangWriter.hpp>
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ end

add_repositories("nazara-engine-repo https://github.com/NazaraEngine/xmake-repo")
add_requires("fmt", { configs = { header_only = true }, system = false })
add_requires("nazarautils >=2023.12.28", "fast_float", "frozen", "ordered_map")
add_requires("nazarautils >=2024.01.02", "fast_float", "frozen", "ordered_map")

if has_config("fs_watcher") then
add_requires("efsw")
Expand Down

0 comments on commit 482a5a0

Please sign in to comment.