Update for latest NZSL version
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#include <Nazara/Renderer/Renderer.hpp>
|
||||
#include <Nazara/Utility/BufferMapper.hpp>
|
||||
#include <Nazara/Utility/MaterialData.hpp>
|
||||
#include <NZSL/FieldOffsets.hpp>
|
||||
#include <NZSL/Parser.hpp>
|
||||
#include <NZSL/Math/FieldOffsets.hpp>
|
||||
#include <cassert>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Graphics/DepthMaterial.hpp>
|
||||
#include <NZSL/FieldOffsets.hpp>
|
||||
#include <NZSL/Parser.hpp>
|
||||
#include <NZSL/Math/FieldOffsets.hpp>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include <Nazara/Renderer/Renderer.hpp>
|
||||
#include <Nazara/Utility/BufferMapper.hpp>
|
||||
#include <Nazara/Utility/MaterialData.hpp>
|
||||
#include <NZSL/FieldOffsets.hpp>
|
||||
#include <NZSL/Parser.hpp>
|
||||
#include <NZSL/Math/FieldOffsets.hpp>
|
||||
#include <cassert>
|
||||
#include <filesystem>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Graphics/PredefinedShaderStructs.hpp>
|
||||
#include <NZSL/FieldOffsets.hpp>
|
||||
#include <NZSL/Math/FieldOffsets.hpp>
|
||||
#include <Nazara/Graphics/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
#include <Nazara/VulkanRenderer/VulkanShaderModule.hpp>
|
||||
#include <NZSL/Lexer.hpp>
|
||||
#include <NZSL/Parser.hpp>
|
||||
#include <NZSL/SpirvDecoder.hpp>
|
||||
#include <NZSL/SpirvWriter.hpp>
|
||||
#include <NZSL/Ast/AstSerializer.hpp>
|
||||
#include <NZSL/SpirV/SpirvDecoder.hpp>
|
||||
#include <Nazara/VulkanRenderer/Debug.hpp>
|
||||
|
||||
namespace Nz
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include <Nazara/Prerequisites.hpp>
|
||||
#include <ShaderNode/Enums.hpp>
|
||||
#include <NZSL/Vector.hpp>
|
||||
#include <NZSL/Math/Vector.hpp>
|
||||
#include <array>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include <NZSL/Ast/ConstantPropagationVisitor.hpp>
|
||||
#include <NZSL/Ast/EliminateUnusedPassVisitor.hpp>
|
||||
#include <NZSL/Ast/SanitizeVisitor.hpp>
|
||||
#include <NZSL/SpirvPrinter.hpp>
|
||||
#include <NZSL/SpirvWriter.hpp>
|
||||
#include <NZSL/SpirV/SpirvPrinter.hpp>
|
||||
#include <ShaderNode/ShaderGraph.hpp>
|
||||
#include <QtWidgets/QCheckBox>
|
||||
#include <QtWidgets/QComboBox>
|
||||
@@ -36,7 +36,7 @@ m_shaderGraph(shaderGraph)
|
||||
});
|
||||
|
||||
m_optimisationCheckbox = new QCheckBox;
|
||||
m_optimisationCheckbox->setText("Enable optimisation");
|
||||
m_optimisationCheckbox->setText("Enable optimization");
|
||||
connect(m_optimisationCheckbox, &QCheckBox::stateChanged, [this](int)
|
||||
{
|
||||
Refresh();
|
||||
|
||||
Reference in New Issue
Block a user