diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c761913c..08b4b6e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,8 +4,6 @@ on: push: pull_request: -env: - FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true jobs: build: @@ -78,6 +76,23 @@ jobs: if: always() with: name: build-output - path: | - ./workdir/ + path: ./workdir/ retention-days: 7 + + test: + runs-on: windows-2025-vs2026 + needs: build + + steps: + - name: Download build output + uses: actions/download-artifact@v4 + with: + name: build-output + path: ./workdir + + - name: Run tests + shell: powershell + working-directory: ./workdir + run: | + & ".\test.exe" + exit $LASTEXITCODE diff --git a/README.md b/README.md index b4f7ef36..16001006 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ -[![Build](https://github.com/Cheaterdev/Spectrum/actions/workflows/build.yml/badge.svg)](https://github.com/Cheaterdev/Spectrum/actions/workflows/build.yml) +[![Build](https://img.shields.io/github/actions/workflow/status/Cheaterdev/Spectrum/build.yml?job=build&label=build)](https://github.com/Cheaterdev/Spectrum/actions/workflows/build.yml) +[![Tests](https://img.shields.io/github/actions/workflow/status/Cheaterdev/Spectrum/build.yml?job=test&label=tests)](https://github.com/Cheaterdev/Spectrum/actions/workflows/build.yml) # Spectrum diff --git a/main.sharpmake.cs b/main.sharpmake.cs index 7a06dbe3..bd454828 100644 --- a/main.sharpmake.cs +++ b/main.sharpmake.cs @@ -134,7 +134,6 @@ public virtual void ConfigureAll(Configuration conf, CustomTarget target) } else { - conf.Options.Add(Options.Vc.Linker.LinkTimeCodeGeneration.UseLinkTimeCodeGeneration); conf.Options.Add(Options.Vc.Compiler.Optimization.FullOptimization); conf.Defines.Add("RETAIL"); conf.Defines.Remove("NDEBUG"); @@ -145,6 +144,7 @@ public virtual void ConfigureAll(Configuration conf, CustomTarget target) conf.Defines.Add("PROFILING"); } + } @@ -381,6 +381,27 @@ public override void ConfigureAll(Configuration conf, CustomTarget target) } } + [Sharpmake.Generate] + public class Test : Application + { + public Test() + { + SourceRootPath = @"[project.SharpmakeCsPath]\sources\Test"; + AssemblyName = "SpectrumTest"; + } + + public override void ConfigureAll(Configuration conf, CustomTarget target) + { + base.ConfigureAll(conf, target); + + conf.Options.Remove(Options.Vc.Linker.SubSystem.Windows); + + conf.VcxprojUserFile = new Project.Configuration.VcxprojUserFileSettings(); + conf.VcxprojUserFile.LocalDebuggerWorkingDirectory = @"[project.SharpmakeCsPath]\workdir"; + + conf.AddPublicDependency(target); + } + } [Sharpmake.Generate] public class SpectrumSolution : Solution @@ -425,6 +446,7 @@ public void ConfigureAll(Configuration conf, CustomTarget target) conf.AddProject(target); conf.AddProject(target); + conf.AddProject(target); conf.AddProject(target); } diff --git a/sources/Core/Log/Log.cpp b/sources/Core/Log/Log.cpp index 84adc787..d177626e 100644 --- a/sources/Core/Log/Log.cpp +++ b/sources/Core/Log/Log.cpp @@ -139,6 +139,11 @@ void VSOutputLogger::on_log(const LogBlock& log) OutputDebugStringA((log.get_string() + "\n").c_str()); } +void StdoutLogger::on_log(const LogBlock& log) +{ + std::cout << log.get_string() << '\n' << std::flush; +} + ConsoleLogger::ConsoleLogger() { even = true; diff --git a/sources/Core/Log/Log.ixx b/sources/Core/Log/Log.ixx index 3fa8083e..46cf315b 100644 --- a/sources/Core/Log/Log.ixx +++ b/sources/Core/Log/Log.ixx @@ -182,6 +182,14 @@ export { void on_log(const LogBlock& log); }; + class StdoutLogger : public Singleton, public LogListener + { + friend class Singleton; + StdoutLogger() = default; + virtual ~StdoutLogger() = default; + void on_log(const LogBlock& log); + }; + class ConsoleLogger : public Singleton, public LogListener { friend class Singleton; diff --git a/sources/Core/Math/Primitives/AABB.ixx b/sources/Core/Math/Primitives/AABB.ixx index 3f53da1d..8cd0f6b8 100644 --- a/sources/Core/Math/Primitives/AABB.ixx +++ b/sources/Core/Math/Primitives/AABB.ixx @@ -18,11 +18,15 @@ export vec3 min, max; AABB() = default; + AABB(vec3 min, vec3 max) : min(min), max(max) {} AABB(Primitive* other); AABB(std::function functor, unsigned int size); void set(Primitive* other); + vec3 center() const { return (min + max) * 0.5f; } + vec3 size() const { return max - min; } + std::shared_ptr clone() override; const primitive_types get_type() const override; float get_volume() const override; diff --git a/sources/HAL/API/D3D12/HAL.D3D12.CommandAllocator.ixx b/sources/HAL/API/D3D12/HAL.D3D12.CommandAllocator.ixx index b5ec008a..b01fbb25 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.CommandAllocator.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.CommandAllocator.ixx @@ -9,8 +9,6 @@ export namespace HAL { namespace API { class CommandAllocator { - protected: - public: D3D::CommandAllocator m_commandAllocator; }; diff --git a/sources/HAL/API/D3D12/HAL.D3D12.CommandList.cpp b/sources/HAL/API/D3D12/HAL.D3D12.CommandList.cpp index 4741d6e6..755e8b0d 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.CommandList.cpp +++ b/sources/HAL/API/D3D12/HAL.D3D12.CommandList.cpp @@ -1,4 +1,4 @@ -module HAL:API.CommandList; +module HAL:API.CommandList; import :Device; import :CommandAllocator; @@ -40,37 +40,29 @@ namespace HAL D3D12_SET_PROGRAM_DESC desc = {}; desc.Type = D3D12_PROGRAM_TYPE_WORK_GRAPH; desc.WorkGraph.ProgramIdentifier = obj->id; - desc.WorkGraph.Flags = D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE; - desc.WorkGraph.BackingMemory = { to_native(adress), size }; // we need to initialise the backing memory only the first time we run the workgraph desc.WorkGraph.Flags = init ? D3D12_SET_WORK_GRAPH_FLAG_INITIALIZE : D3D12_SET_WORK_GRAPH_FLAG_NONE; + desc.WorkGraph.BackingMemory = { to_native(adress), size }; - // bing the workgraph program with the reference to the backing memory + // bind the workgraph program with the reference to the backing memory m_commandList->SetProgram(&desc); - } - void CommandList::discard(const HAL::Resource* resource) + + void CommandList::discard(const HAL::Resource* resource) { - m_commandList-> DiscardResource(resource->native_resource.Get(),nullptr); + m_commandList->DiscardResource(resource->native_resource.Get(), nullptr); } void CommandList::dispatch_graph(ResourceAddress addr) { - // dispatch work graph D3D12_DISPATCH_GRAPH_DESC desc = {}; desc.Mode = D3D12_DISPATCH_MODE_MULTI_NODE_GPU_INPUT; - desc.MultiNodeGPUInput= to_native(addr); - - /* D3D12_DISPATCH_GRAPH_DESC desc = {}; - desc.Mode = D3D12_DISPATCH_MODE_NODE_CPU_INPUT; - desc.NodeCPUInput = { }; - desc.NodeCPUInput.EntrypointIndex = 0; - desc.NodeCPUInput.NumRecords = 1;*/ - - m_commandList->DispatchGraph(&desc); + desc.MultiNodeGPUInput = to_native(addr); + m_commandList->DispatchGraph(&desc); } + void CommandList::clear_uav(const UAVHandle& h, vec4 ClearColor) { auto v = h.get_resource_info().view; @@ -126,7 +118,7 @@ namespace HAL void CommandList::set_name(std::wstring_view name) { m_commandList->SetName(name.data()); - }; + } void CommandList::set_descriptor_heaps(DescriptorHeap* cbv, DescriptorHeap* sampler) { @@ -164,7 +156,6 @@ namespace HAL void CommandList::draw_indexed(UINT index_count, UINT index_offset, UINT vertex_offset, UINT instance_count, UINT instance_offset) { - m_commandList->DrawIndexedInstanced(index_count, instance_count, index_offset, vertex_offset, instance_offset); } @@ -173,7 +164,7 @@ namespace HAL D3D12_INDEX_BUFFER_VIEW native; native.SizeInBytes = index.Resource ? uint(index.SizeInBytes) : 0u; native.Format = ::to_native(index.Format); - native.BufferLocation = index.Resource ? to_native(index.Resource->get_resource_address().offset(index.OffsetInBytes)) : 0;// index.Resource ? static_cast(index.Resource)->get_resource_address() + index.OffsetInBytes : 0; + native.BufferLocation = index.Resource ? to_native(index.Resource->get_resource_address().offset(index.OffsetInBytes)) : 0; m_commandList->IASetIndexBuffer(&native); } @@ -214,7 +205,6 @@ namespace HAL void CommandList::set_viewports(std::vector viewports) { - std::vector vps(viewports.size()); for (uint i = 0; i < vps.size(); i++) @@ -231,33 +221,30 @@ namespace HAL void CommandList::copy_buffer(HAL::Resource* _dest, uint64 dest_offset, HAL::Resource* _source, uint64 source_offset, uint64 size) { - - auto dest = static_cast(_dest); - + auto dest = static_cast(_dest); auto source = static_cast(_source); + if constexpr (Debug::CheckErrors) { auto source_size = source->get_size(); - auto dest_size = dest->get_size(); + auto dest_size = dest->get_size(); ASSERT(dest_offset + size <= dest_size); ASSERT(source_offset + size <= source_size); - } m_commandList->CopyBufferRegion(dest->get_dx(), dest_offset, source->get_dx(), source_offset, size); } void CommandList::set_pipeline(std::shared_ptr pipeline) { - auto pso = pipeline->get_native(); - if (pso) m_commandList->SetPipelineState(pso.Get()); + if (pso) + m_commandList->SetPipelineState(pso.Get()); else { auto state = pipeline->get_native_state(); m_commandList->SetPipelineState1(state.Get()); } - } void CommandList::execute_indirect(const IndirectCommand& command_types, UINT max_commands, Resource* command_buffer, UINT64 command_offset, Resource* counter_buffer, UINT64 counter_offset) @@ -273,7 +260,6 @@ namespace HAL void CommandList::set_rtv(int c, RTVHandle rt, DSVHandle h) { - CD3DX12_CPU_DESCRIPTOR_HANDLE rtv; CD3DX12_CPU_DESCRIPTOR_HANDLE dsv; CD3DX12_CPU_DESCRIPTOR_HANDLE* dsv_ptr = nullptr; @@ -301,7 +287,7 @@ namespace HAL void CommandList::end_event() { - // if constexpr (HAL::Debug::RunForPix) PIXEndEvent(m_commandList.Get()); + //if constexpr (HAL::Debug::RunForPix) PIXEndEvent(m_commandList.Get()); } void CommandList::build_ras(const HAL::RaytracingBuildDescStructure& build_desc, const HAL::RaytracingBuildDescBottomInputs& bottom) @@ -309,10 +295,9 @@ namespace HAL auto _bottom = to_native(bottom); D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC desc = {}; - desc.DestAccelerationStructureData = to_native(build_desc.DestAccelerationStructureData); - desc.SourceAccelerationStructureData = to_native(build_desc.SourceAccelerationStructureData); + desc.DestAccelerationStructureData = to_native(build_desc.DestAccelerationStructureData); + desc.SourceAccelerationStructureData = to_native(build_desc.SourceAccelerationStructureData); desc.ScratchAccelerationStructureData = to_native(build_desc.ScratchAccelerationStructureData); - desc.Inputs = _bottom; m_commandList->BuildRaytracingAccelerationStructure(&desc, 0, nullptr); @@ -322,14 +307,12 @@ namespace HAL { D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_DESC desc = {}; - desc.DestAccelerationStructureData = to_native(build_desc.DestAccelerationStructureData); - desc.SourceAccelerationStructureData = to_native(build_desc.SourceAccelerationStructureData); + desc.DestAccelerationStructureData = to_native(build_desc.DestAccelerationStructureData); + desc.SourceAccelerationStructureData = to_native(build_desc.SourceAccelerationStructureData); desc.ScratchAccelerationStructureData = to_native(build_desc.ScratchAccelerationStructureData); - desc.Inputs = to_native(top); m_commandList->BuildRaytracingAccelerationStructure(&desc, 0, nullptr); - } void CommandList::copy_texture(const Resource::ptr& dest, int dest_subres, const Resource::ptr& source, int source_subres) @@ -345,13 +328,12 @@ namespace HAL CD3DX12_TEXTURE_COPY_LOCATION Src(from->get_dx(), 0); D3D12_BOX box; - box.left = from_pos.x; - box.top = from_pos.y; - box.front = from_pos.z; - - box.right = from_pos.x + size.x; + box.left = from_pos.x; + box.top = from_pos.y; + box.front = from_pos.z; + box.right = from_pos.x + size.x; box.bottom = from_pos.y + size.y; - box.back = from_pos.z + size.z; + box.back = from_pos.z + size.z; m_commandList->CopyTextureRegion(&Dst, to_pos.x, to_pos.y, to_pos.z, &Src, &box); } @@ -364,52 +346,51 @@ namespace HAL ASSERT(box.z > 0); CD3DX12_TEXTURE_COPY_LOCATION Dst(resource->get_dx(), sub_resource); CD3DX12_TEXTURE_COPY_LOCATION Src; - Src.pResource = address.resource->get_dx(); - Src.Type = D3D12_TEXTURE_COPY_TYPE::D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT; - Src.PlacedFootprint.Offset = address.resource_offset; - Src.PlacedFootprint.Footprint.Width = box.x; - Src.PlacedFootprint.Footprint.Height = box.y; - Src.PlacedFootprint.Footprint.Depth = box.z; + Src.pResource = address.resource->get_dx(); + Src.Type = D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT; + Src.PlacedFootprint.Offset = address.resource_offset; + Src.PlacedFootprint.Footprint.Width = box.x; + Src.PlacedFootprint.Footprint.Height = box.y; + Src.PlacedFootprint.Footprint.Depth = box.z; Src.PlacedFootprint.Footprint.RowPitch = layout.row_stride; - Src.PlacedFootprint.Footprint.Format = ::to_native(layout.format.to_srv()); + Src.PlacedFootprint.Footprint.Format = ::to_native(layout.format.to_srv()); m_commandList->CopyTextureRegion(&Dst, offset.x, offset.y, offset.z, &Src, nullptr); } - void CommandList::read_texture(const HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress target, texture_layout layout) + void CommandList::read_texture(const HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress target, texture_layout layout) { CD3DX12_TEXTURE_COPY_LOCATION source(resource->get_dx(), sub_resource); CD3DX12_TEXTURE_COPY_LOCATION dest; if (box.z == 0) box.z = 1; if (box.y == 0) box.y = 1; - dest.pResource = target.resource->get_dx(); - dest.Type = D3D12_TEXTURE_COPY_TYPE::D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT; - dest.PlacedFootprint.Offset = target.resource_offset; - dest.PlacedFootprint.Footprint.Width = box.x; - dest.PlacedFootprint.Footprint.Height = box.y; - dest.PlacedFootprint.Footprint.Depth = box.z; + dest.pResource = target.resource->get_dx(); + dest.Type = D3D12_TEXTURE_COPY_TYPE_PLACED_FOOTPRINT; + dest.PlacedFootprint.Offset = target.resource_offset; + dest.PlacedFootprint.Footprint.Width = box.x; + dest.PlacedFootprint.Footprint.Height = box.y; + dest.PlacedFootprint.Footprint.Depth = box.z; dest.PlacedFootprint.Footprint.RowPitch = static_cast(layout.row_stride); - dest.PlacedFootprint.Footprint.Format = ::to_native(layout.format.to_srv()); + dest.PlacedFootprint.Footprint.Format = ::to_native(layout.format.to_srv()); m_commandList->CopyTextureRegion(&dest, offset.x, offset.y, offset.z, &source, nullptr); } void CommandList::dispatch_rays(uint hit_size, uint miss_size, uint raygen_sige, ivec2 size, HAL::ResourceAddress hit_buffer, UINT hit_count, HAL::ResourceAddress miss_buffer, UINT miss_count, HAL::ResourceAddress raygen_buffer) { D3D12_DISPATCH_RAYS_DESC dispatchDesc = {}; - // Since each shader table has only one shader record, the stride is same as the size. - dispatchDesc.HitGroupTable.StartAddress = to_native(hit_buffer); - dispatchDesc.HitGroupTable.SizeInBytes = hit_size * hit_count; - dispatchDesc.HitGroupTable.StrideInBytes = hit_size; + dispatchDesc.HitGroupTable.StartAddress = to_native(hit_buffer); + dispatchDesc.HitGroupTable.SizeInBytes = hit_size * hit_count; + dispatchDesc.HitGroupTable.StrideInBytes = hit_size; - dispatchDesc.MissShaderTable.StartAddress = to_native(miss_buffer); - dispatchDesc.MissShaderTable.SizeInBytes = miss_size * miss_count; + dispatchDesc.MissShaderTable.StartAddress = to_native(miss_buffer); + dispatchDesc.MissShaderTable.SizeInBytes = miss_size * miss_count; dispatchDesc.MissShaderTable.StrideInBytes = miss_size; dispatchDesc.RayGenerationShaderRecord.StartAddress = to_native(raygen_buffer); - dispatchDesc.RayGenerationShaderRecord.SizeInBytes = raygen_sige; - dispatchDesc.Width = size.x; + dispatchDesc.RayGenerationShaderRecord.SizeInBytes = raygen_sige; + dispatchDesc.Width = size.x; dispatchDesc.Height = size.y; - dispatchDesc.Depth = 1; + dispatchDesc.Depth = 1; m_commandList->DispatchRays(&dispatchDesc); } @@ -417,27 +398,23 @@ namespace HAL void CommandList::transitions(const HAL::Barriers& _barriers) { auto& barriers = _barriers.get_barriers(); - // if (barriers.empty())return; std::vector textures; - std::vector buffers; - - std::vector global; + std::vector buffers; for (auto& e : barriers) { - if (e.resource->get_desc().is_buffer()) { D3D12_BUFFER_BARRIER barrier; - barrier.SyncBefore = to_native(e.before.get_operation()); - barrier.SyncAfter = to_native(e.after.get_operation()); + barrier.SyncBefore = to_native(e.before.get_operation()); + barrier.SyncAfter = to_native(e.after.get_operation()); barrier.AccessBefore = to_native(e.before.get_access()); - barrier.AccessAfter = to_native(e.after.get_access()); - barrier.pResource = e.resource->get_dx(); - barrier.Offset = 0; - barrier.Size = e.resource->get_desc().as_buffer().SizeInBytes; // Must be UINT64_MAX or buffer size in bytes + barrier.AccessAfter = to_native(e.after.get_access()); + barrier.pResource = e.resource->get_dx(); + barrier.Offset = 0; + barrier.Size = e.resource->get_desc().as_buffer().SizeInBytes; buffers.emplace_back(barrier); } @@ -446,37 +423,32 @@ namespace HAL { D3D12_TEXTURE_BARRIER barrier; - barrier.SyncBefore = to_native(e.before.get_operation()); - barrier.SyncAfter = to_native(e.after.get_operation()); + barrier.SyncBefore = to_native(e.before.get_operation()); + barrier.SyncAfter = to_native(e.after.get_operation()); barrier.AccessBefore = to_native(e.before.get_access()); - barrier.AccessAfter = to_native(e.after.get_access()); + barrier.AccessAfter = to_native(e.after.get_access()); barrier.LayoutBefore = to_native(e.before.get_layout()); - barrier.LayoutAfter = to_native(e.after.get_layout()); - - barrier.pResource = e.resource->get_dx(); - //barrier.Offset = 0; - // barrier.Size = e.resource->get_desc().as_buffer().SizeInBytes; // Must be UINT64_MAX or buffer size in bytes + barrier.LayoutAfter = to_native(e.after.get_layout()); + barrier.pResource = e.resource->get_dx(); barrier.Subresources.IndexOrFirstMipLevel = e.resource->get_desc().as_texture().get_mip(e.subres); - barrier.Subresources.NumMipLevels = 1; - barrier.Subresources.FirstArraySlice = e.resource->get_desc().as_texture().get_array(e.subres); - barrier.Subresources.NumArraySlices = 1; - barrier.Subresources.FirstPlane = e.resource->get_desc().as_texture().get_plane(e.subres); - barrier.Subresources.NumPlanes = 1; + barrier.Subresources.NumMipLevels = 1; + barrier.Subresources.FirstArraySlice = e.resource->get_desc().as_texture().get_array(e.subres); + barrier.Subresources.NumArraySlices = 1; + barrier.Subresources.FirstPlane = e.resource->get_desc().as_texture().get_plane(e.subres); + barrier.Subresources.NumPlanes = 1; barrier.Flags = D3D12_TEXTURE_BARRIER_FLAG_NONE; - if (check(e.flags &BarrierFlags::DISCARD)) - barrier.Flags|= D3D12_TEXTURE_BARRIER_FLAG_DISCARD ; + if (check(e.flags & BarrierFlags::DISCARD)) + barrier.Flags |= D3D12_TEXTURE_BARRIER_FLAG_DISCARD; textures.emplace_back(barrier); if (e.resource->debug_transitions) { - Log::get() << "d3d12 trans " << barrier.SyncBefore << ";" << barrier.SyncAfter << ";" << barrier.AccessBefore << " ---> " << barrier.AccessAfter << ";" << barrier.LayoutBefore << ";" << barrier.LayoutAfter << Log::endl; } } - } std::vector native; @@ -484,100 +456,23 @@ namespace HAL if (!buffers.empty()) { D3D12_BARRIER_GROUP group; - - group.Type = D3D12_BARRIER_TYPE::D3D12_BARRIER_TYPE_BUFFER; - group.NumBarriers = uint(buffers.size()); + group.Type = D3D12_BARRIER_TYPE_BUFFER; + group.NumBarriers = uint(buffers.size()); group.pBufferBarriers = buffers.data(); - native.emplace_back(group); } if (!textures.empty()) { D3D12_BARRIER_GROUP group; - - group.Type = D3D12_BARRIER_TYPE::D3D12_BARRIER_TYPE_TEXTURE; - group.NumBarriers = uint(textures.size()); + group.Type = D3D12_BARRIER_TYPE_TEXTURE; + group.NumBarriers = uint(textures.size()); group.pTextureBarriers = textures.data(); - - native.emplace_back(group); - } - - /* if (GetAsyncKeyState('8')) - { - - D3D12_GLOBAL_BARRIER barrier; - - barrier.SyncBefore = - barrier.SyncAfter = - D3D12_BARRIER_SYNC_ALL_SHADING | - D3D12_BARRIER_SYNC_BUILD_RAYTRACING_ACCELERATION_STRUCTURE | - D3D12_BARRIER_SYNC_COPY_RAYTRACING_ACCELERATION_STRUCTURE | - D3D12_BARRIER_SYNC_EMIT_RAYTRACING_ACCELERATION_STRUCTURE_POSTBUILD_INFO; - - barrier.AccessBefore = - barrier.AccessAfter = - D3D12_BARRIER_ACCESS_UNORDERED_ACCESS | - D3D12_BARRIER_ACCESS_RAYTRACING_ACCELERATION_STRUCTURE_WRITE | - D3D12_BARRIER_ACCESS_RAYTRACING_ACCELERATION_STRUCTURE_READ; - - global.emplace_back(barrier); - - D3D12_BARRIER_GROUP group; - - group.Type = D3D12_BARRIER_TYPE::D3D12_BARRIER_TYPE_GLOBAL; - group.NumBarriers = global.size(); - group.pGlobalBarriers = global.data(); - native.emplace_back(group); } - */ - - /*auto& barriers = _barriers.get_barriers(); - if (!barriers.empty()) - { - - std::vector native(barriers.size()); - - for (uint i = 0; i < native.size(); i++) - { - - auto& e = barriers[i]; - std::visit(overloaded{ - [&](const BarrierUAV& barrier) { - native[i] = (CD3DX12_RESOURCE_BARRIER::UAV((barrier.resource)->get_dx())); - }, - [&](const BarrierAlias& barrier) { - auto native_from = barrier.before ? (barrier.before)->get_dx() : nullptr; - auto native_to = barrier.after ? (barrier.after)->get_dx() : nullptr; - native[i] = (CD3DX12_RESOURCE_BARRIER::Aliasing(native_from, native_to)); - },[&](const BarrierTransition& barrier) { - D3D12_RESOURCE_BARRIER_FLAGS native_flags = D3D12_RESOURCE_BARRIER_FLAGS::D3D12_RESOURCE_BARRIER_FLAG_NONE; - - if (barrier.flags == BarrierFlags::BEGIN) native_flags = D3D12_RESOURCE_BARRIER_FLAGS::D3D12_RESOURCE_BARRIER_FLAG_BEGIN_ONLY; - if (barrier.flags == BarrierFlags::END) native_flags = D3D12_RESOURCE_BARRIER_FLAGS::D3D12_RESOURCE_BARRIER_FLAG_END_ONLY; - - native[i] = (CD3DX12_RESOURCE_BARRIER::Transition((barrier.resource)->get_dx(), - static_cast(barrier.before), - static_cast(barrier.after), - barrier.subres == ALL_SUBRESOURCES ? D3D12_RESOURCE_BARRIER_ALL_SUBRESOURCES : barrier.subres, - native_flags)); - }, - [&](auto other) { - ASSERT(false); - } - }, e); - - }*/ - if (!native.empty()) - { m_commandList->Barrier((UINT)native.size(), native.data()); - - } - - //} } } -} \ No newline at end of file +} diff --git a/sources/HAL/API/D3D12/HAL.D3D12.CommandList.ixx b/sources/HAL/API/D3D12/HAL.D3D12.CommandList.ixx index 4cfe61c3..3f27eb19 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.CommandList.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.CommandList.ixx @@ -32,8 +32,8 @@ export namespace HAL { void end(); operator bool() { - return !!m_commandList; - } + return !!m_commandList; + } void set_program(StateObject* id, ResourceAddress buffer, uint size, bool init); void dispatch_graph(ResourceAddress addr); @@ -49,7 +49,7 @@ export namespace HAL { void dispatch_rays(uint hit_size, uint miss_size, uint raygen_sige, ivec2 size, HAL::ResourceAddress hit_buffer, UINT hit_count, HAL::ResourceAddress miss_buffer, UINT miss_count, HAL::ResourceAddress raygen_buffer); void set_name(std::wstring_view name); - void discard(const HAL::Resource* resource); + void discard(const HAL::Resource* resource); void set_descriptor_heaps(DescriptorHeap* cbv, DescriptorHeap* sampler); void insert_time(const QueryHandle& handle, uint offset); @@ -78,8 +78,8 @@ export namespace HAL { void build_ras(const HAL::RaytracingBuildDescStructure& build_desc, const HAL::RaytracingBuildDescTopInputs& top); void copy_texture(const Resource::ptr& dest, int dest_subres, const Resource::ptr& source, int source_subres); void copy_texture(const Resource::ptr& to, ivec3 to_pos, const Resource::ptr& from, ivec3 from_pos, ivec3 size); - void update_texture( HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress address, texture_layout layout); - void read_texture(const HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress target, texture_layout layout); + void update_texture(HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress address, texture_layout layout); + void read_texture(const HAL::Resource* resource, ivec3 offset, ivec3 box, UINT sub_resource, ResourceAddress target, texture_layout layout); void transitions(const HAL::Barriers& _barriers); }; } diff --git a/sources/HAL/API/D3D12/HAL.D3D12.DescriptorHeap.ixx b/sources/HAL/API/D3D12/HAL.D3D12.DescriptorHeap.ixx index 6fb87907..8fb4819c 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.DescriptorHeap.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.DescriptorHeap.ixx @@ -34,36 +34,34 @@ export namespace HAL class DescriptorHeap; class Descriptor; - namespace API - { + namespace API { - class DescriptorHeap - { - public:// TODO - D3D::DescriptorHeap m_cpu_heap; - D3D::DescriptorHeap m_gpu_heap; + class DescriptorHeap + { + friend class Descriptor; + public: + D3D::DescriptorHeap m_cpu_heap; + D3D::DescriptorHeap m_gpu_heap; - const DescriptorHeapDesc desc; - const Device& device; + const DescriptorHeapDesc desc; + const Device& device; - CD3DX12_CPU_DESCRIPTOR_HANDLE cpu_start; - CD3DX12_CPU_DESCRIPTOR_HANDLE gpu_cpu_start; + CD3DX12_CPU_DESCRIPTOR_HANDLE cpu_start; + CD3DX12_CPU_DESCRIPTOR_HANDLE gpu_cpu_start; + CD3DX12_GPU_DESCRIPTOR_HANDLE gpu_start; - CD3DX12_GPU_DESCRIPTOR_HANDLE gpu_start; + uint handle_size; - uint handle_size; - friend class Descriptor; - public: - DescriptorHeap(Device& device, const DescriptorHeapDesc& desc); + DescriptorHeap(Device& device, const DescriptorHeapDesc& desc); - HAL::Descriptor operator[](uint i); + HAL::Descriptor operator[](uint i); - auto get_dx() const - { - if (m_gpu_heap) - return m_gpu_heap.Get(); - return m_cpu_heap.Get(); - } - }; + auto get_dx() const + { + if (m_gpu_heap) + return m_gpu_heap.Get(); + return m_cpu_heap.Get(); + } + }; } } \ No newline at end of file diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Device.cpp b/sources/HAL/API/D3D12/HAL.D3D12.Device.cpp index 3612ed9b..733d22c7 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Device.cpp +++ b/sources/HAL/API/D3D12/HAL.D3D12.Device.cpp @@ -1,8 +1,5 @@ module; -//#include "GFSDK_Aftermath.h" -//#include "NsightAftermathGpuCrashTracker.h" - module HAL:Device; import :Debug; import :Utils; @@ -60,8 +57,6 @@ namespace HAL std::vector dest; dest.assign(source.data(), source.data() + source.size()); - // Log::get() << "Can't compress now; unknown error in d3d12sdklayers.dll" << Log::endl; - //return dest; size_t maxSize = g_bufferCompression->CompressBufferBound(static_cast(source.size())); dest.resize(maxSize); @@ -105,7 +100,7 @@ namespace HAL void Device::dump_dred() { - ComPtr pDred; + ComPtr pDred; TEST(*this, native_device->QueryInterface(IID_PPV_ARGS(&pDred))); D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT DredAutoBreadcrumbsOutput = {}; @@ -165,9 +160,10 @@ namespace HAL native_device.Reset(); - IDXGIDebug* debugDev; + IDXGIDebug* debugDev = nullptr; HRESULT hr = DXGIGetDebugInterface1(0, IID_PPV_ARGS(&debugDev)); - hr = debugDev->ReportLiveObjects(DXGI::DEBUG_ALL, DXGI::DEBUG_RLO_ALL); + if (SUCCEEDED(hr) && debugDev) + debugDev->ReportLiveObjects(DXGI::DEBUG_ALL, DXGI::DEBUG_RLO_ALL); } size_t Device::get_vram() @@ -193,6 +189,7 @@ namespace HAL if (!native_device) return; THIS->adapter = desc.adapter; + THIS->properties.name = convert(std::wstring_view(desc.adapter->get_desc().Description)); for (auto type : magic_enum::enum_values()) { @@ -205,7 +202,7 @@ namespace HAL D3D12_FEATURE_DATA_D3D12_OPTIONS12 options12 = {}; D3D12_FEATURE_DATA_D3D12_OPTIONS16 options16 = {}; D3D12_FEATURE_DATA_D3D12_OPTIONS21 options21 = {}; - D3D12_FEATURE_DATA_SHADER_MODEL supportedShaderModel = {D3D_SHADER_MODEL_6_8}; + D3D12_FEATURE_DATA_SHADER_MODEL supportedShaderModel = { D3D_SHADER_MODEL_6_8 }; TEST(*this, native_device->CheckFeatureSupport(D3D12_FEATURE::D3D12_FEATURE_D3D12_OPTIONS21, &options21, sizeof( @@ -228,19 +225,17 @@ namespace HAL sizeof(supportedShaderModel))); auto& properties = THIS->properties; - properties.rtx = options5.RaytracingTier != D3D12_RAYTRACING_TIER_NOT_SUPPORTED; - properties.full_bindless = supportedShaderModel.HighestShaderModel >= D3D_SHADER_MODEL_6_6; - properties.mesh_shader = options7.MeshShaderTier >= D3D12_MESH_SHADER_TIER::D3D12_MESH_SHADER_TIER_1; + properties.rtx = options5.RaytracingTier != D3D12_RAYTRACING_TIER_NOT_SUPPORTED; + properties.full_bindless = supportedShaderModel.HighestShaderModel >= D3D_SHADER_MODEL_6_6; + properties.mesh_shader = options7.MeshShaderTier >= D3D12_MESH_SHADER_TIER_1; properties.direct_gpu_upload_heap = options16.GPUUploadHeapSupported; - properties.work_graph = options21.WorkGraphsTier != D3D12_WORK_GRAPHS_TIER_NOT_SUPPORTED; + properties.work_graph = options21.WorkGraphsTier != D3D12_WORK_GRAPHS_TIER_NOT_SUPPORTED; if constexpr (HAL::Debug::ValidationErrors) { ComPtr d3dInfoQueue; if (SUCCEEDED(native_device.As(&d3dInfoQueue))) { - // d3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, true); - // d3dInfoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, true); D3D12_MESSAGE_ID hide[] = { D3D12_MESSAGE_ID::D3D12_MESSAGE_ID_HEAP_ADDRESS_RANGE_INTERSECTS_MULTIPLE_BUFFERS, @@ -262,20 +257,8 @@ namespace HAL } } - // ComPtr pDSRDeviceFactory; - //ComPtr pDSRDevice; - //D3D12GetInterface(CLSID_D3D12DSRDeviceFactory, IID_PPV_ARGS(&pDSRDeviceFactory)); - //pDSRDeviceFactory->CreateDSRDevice(native_device, 1, IID_PPV_ARGS(&pDSRDevice)); - - //const uint32_t aftermathFlags = - // GFSDK_Aftermath_FeatureFlags_EnableMarkers | // Enable event marker tracking. - // GFSDK_Aftermath_FeatureFlags_EnableResourceTracking | // Enable tracking of resources. - // GFSDK_Aftermath_FeatureFlags_CallStackCapturing; // Generate debug information for shaders. - - //auto afterres = GFSDK_Aftermath_DX12_Initialize( - // GFSDK_Aftermath_Version_API, - // aftermathFlags, - // native_device.Get()); + DSTORAGE_CONFIGURATION ds_config{}; + DStorageSetConfiguration(&ds_config); DStorageCreateCompressionCodec( DSTORAGE_COMPRESSION_FORMAT_GDEFLATE, @@ -300,7 +283,7 @@ namespace HAL if (native_desc.Dimension != D3D12_RESOURCE_DIMENSION_BUFFER) { if ((native_desc.Flags & (D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | - D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL)) == 0) + D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL)) == 0) { native_desc.Alignment = D3D12::SMALL_RESOURCE_PLACEMENT_ALIGNMENT; } @@ -318,24 +301,10 @@ namespace HAL native_desc.Alignment = 0; info = native_device->GetResourceAllocationInfo2(0, 1, &native_desc, &info2); } - ASSERT(info.SizeInBytes!=std::numeric_limits::max()); + ASSERT(info.SizeInBytes != std::numeric_limits::max()); native_desc.Alignment = info.Alignment; - // TODO small alignment - /* if (info.Alignment != D3D12::SMALL_RESOURCE_PLACEMENT_ALIGNMENT) - { - native_desc.Alignment = D3D12::DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT; - info = native_device->GetResourceAllocationInfo(0, 1, &native_desc); - - if (info.Alignment != D3D12::DEFAULT_RESOURCE_PLACEMENT_ALIGNMENT) - { - native_desc.Alignment = 0; - info = native_device->GetResourceAllocationInfo(0, 1, &native_desc); - } - - }*/ - ResourceAllocationInfo result; result.size = info.SizeInBytes; @@ -347,12 +316,14 @@ namespace HAL result.flags |= HeapFlags::BUFFERS_ONLY; } else if (native_desc.Flags & (D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET | - D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL)) + D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL)) { result.flags |= HeapFlags::RTDS_ONLY; } else + { result.flags |= HeapFlags::TEXTURES_ONLY; + } if constexpr (Debug::CheckErrors) TEST(*this, native_device->GetDeviceRemovedReason()); diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Device.ixx b/sources/HAL/API/D3D12/HAL.D3D12.Device.ixx index d38d7f4e..405d9aef 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Device.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.Device.ixx @@ -1,4 +1,4 @@ -export module HAL:API.Device; +export module HAL:API.Device; import :Types; import :Sampler; @@ -19,14 +19,14 @@ export namespace HAL { struct DeviceProperties { std::string name; - bool rtx = false; - bool mesh_shader = false; - bool full_bindless = false; + bool rtx = false; + bool mesh_shader = false; + bool full_bindless = false; bool direct_gpu_upload_heap = false; - bool work_graph = false; + bool work_graph = false; }; - namespace API - { + + namespace API { class Device { @@ -39,15 +39,12 @@ export namespace HAL { using ptr = std::shared_ptr; ComPtr g_bufferCompression; - - public: - D3D::Device native_device; + D3D::Device native_device; enum_array descriptor_sizes; + void process_result(HRESULT hr, std::string_view line) const; - private: - void dump_dred(); - public: - uint get_descriptor_size(DescriptorHeapType type) const; + + uint get_descriptor_size(DescriptorHeapType type) const; D3D::Device get_native_device(); HRESULT get_device_removed_reason() const; @@ -60,7 +57,9 @@ export namespace HAL { RaytracingPrebuildInfo calculateBuffers(const RaytracingBuildDescBottomInputs& desc); RaytracingPrebuildInfo calculateBuffers(const RaytracingBuildDescTopInputs& desc); + private: + void dump_dred(); }; } -} \ No newline at end of file +} diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Fence.ixx b/sources/HAL/API/D3D12/HAL.D3D12.Fence.ixx index cdb355b6..c2b88628 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Fence.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.Fence.ixx @@ -7,16 +7,15 @@ export namespace HAL { class Fence { - public: ///////////// - D3D::Fence m_fence; public: + D3D::Fence m_fence; using CounterType = UINT64; }; class Event { - public: ////////////// friend class Fence; + public: HANDLE m_fenceEvent; }; diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Heap.ixx b/sources/HAL/API/D3D12/HAL.D3D12.Heap.ixx index ff88a3e8..12489429 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Heap.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.Heap.ixx @@ -15,13 +15,13 @@ export namespace HAL { protected: GPUAddressPtr gpu_address = 0; - std::byte* cpu_address = nullptr; + std::byte* cpu_address = nullptr; public: virtual ~Heap(); GPUAddressPtr get_address() const; - public: - D3D::Heap native_heap; + + D3D::Heap native_heap; D3D::Resource cpu_buffer; }; } diff --git a/sources/HAL/API/D3D12/HAL.D3D12.PipelineState.ixx b/sources/HAL/API/D3D12/HAL.D3D12.PipelineState.ixx index 732f4e9c..5d8997de 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.PipelineState.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.PipelineState.ixx @@ -7,17 +7,16 @@ import Core; export namespace HAL { - namespace API - { + namespace API { - class TrackedPipeline:public TrackedObject + class TrackedPipeline : public TrackedObject { public: ComPtr m_pipelineState; - ComPtr m_StateObject; + ComPtr m_StateObject; ComPtr get_native(); - ComPtr get_native_state(); + ComPtr get_native_state(); }; class PipelineStateBase @@ -27,9 +26,8 @@ export namespace HAL { std::string get_cache(); - /* std::shared_ptr get_tracked();*/ - ComPtr get_native(); - ComPtr get_native_state(); + ComPtr get_native(); + ComPtr get_native_state(); }; class StateObject diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Queue.cpp b/sources/HAL/API/D3D12/HAL.D3D12.Queue.cpp index 7bd9fec6..90bb55e9 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Queue.cpp +++ b/sources/HAL/API/D3D12/HAL.D3D12.Queue.cpp @@ -5,7 +5,6 @@ import Core; import HAL; #undef THIS -using namespace HAL; namespace HAL { @@ -90,7 +89,6 @@ namespace HAL if (infos.source) { - D3D12_TILED_RESOURCE_COORDINATE target; target.X = infos.pos.x; target.Y = infos.pos.y; @@ -117,23 +115,19 @@ namespace HAL } - // signal_and_wait_internal(); ClockCalibrationInfo Queue::get_clock_time() const { UINT64 cpu_start; UINT64 gpu_start; native->GetClockCalibration(&gpu_start, &cpu_start); - return { cpu_start,gpu_start, frequency }; + return { cpu_start, gpu_start, frequency }; } DirectStorageQueue::DirectStorageQueue(Device& device) : device(device), requestCounter(device) { - DSTORAGE_CONFIGURATION config{}; - config.DisableGpuDecompression = false; - TEST(device, DStorageSetConfiguration(&config)); - TEST(device, DStorageGetFactory(IID_PPV_ARGS(&factory))); - if constexpr (Debug::CheckErrors) factory->SetDebugFlags(DSTORAGE_DEBUG_BREAK_ON_ERROR | DSTORAGE_DEBUG_SHOW_ERRORS); + if constexpr (Debug::CheckErrors) + factory->SetDebugFlags(DSTORAGE_DEBUG_BREAK_ON_ERROR | DSTORAGE_DEBUG_SHOW_ERRORS); factory->SetStagingBufferSize(32 * 1024 * 1024); // Create a DirectStorage queue which will be used to load data into a @@ -160,10 +154,11 @@ namespace HAL native->Submit(); } + void DirectStorageQueue::stop_all() { - } + HAL::FenceWaiter DirectStorageQueue::signal() { auto value = ++m_fenceValue; @@ -177,6 +172,7 @@ namespace HAL flush(); s.wait(); } + bool DirectStorageQueue::is_complete(UINT64 fence) { return requestCounter.get_completed_value() >= fence; @@ -186,6 +182,7 @@ namespace HAL { return FenceWaiter{ &requestCounter, 0 }; } + HAL::FenceWaiter DirectStorageQueue::execute(StorageRequest srequest) { PROFILE(L"DirectStorageQueue::execute"); @@ -199,7 +196,6 @@ namespace HAL if (srequest.compressed) { request.Options.CompressionFormat = DSTORAGE_COMPRESSION_FORMAT_GDEFLATE; - } request.Source.File.Source = file.Get(); @@ -211,35 +207,35 @@ namespace HAL ASSERT(request.UncompressedSize == srequest.uncompressed_size); std::visit(overloaded{ - [&](const StorageRequest::Buffer& buffer) { - request.Options.DestinationType = DSTORAGE_REQUEST_DESTINATION_BUFFER; - request.Destination.Buffer.Resource = srequest.resource->get_dx(); - request.Destination.Buffer.Offset = buffer.offset; - request.Destination.Buffer.Size = request.UncompressedSize; - }, - [&](const StorageRequest::Texture& texture) { - request.Options.DestinationType = DSTORAGE_REQUEST_DESTINATION_TEXTURE_REGION; - // request.Destination.MultipleSubresources.Resource = srequest.resource->get_dx(); - //request.Destination.MultipleSubresources.FirstSubresource = texture.subresource; - - request.Destination.Texture.Resource = srequest.resource->get_dx(); - request.Destination.Texture.SubresourceIndex = texture.subresource; - - auto size = srequest.resource->get_desc().as_texture().get_size(texture.subresource); - D3D12_BOX destBox{}; - destBox.right = size.x; - destBox.bottom = size.y; - destBox.back = size.z; - - request.Destination.Texture.Region = destBox; - - auto l = device.get_texture_layout(srequest.resource->get_desc(), texture.subresource); - ASSERT(l.size == srequest.uncompressed_size); - }, - [&](auto other) { - ASSERT(false); - } - }, srequest.operation); + [&](const StorageRequest::Buffer& buffer) + { + request.Options.DestinationType = DSTORAGE_REQUEST_DESTINATION_BUFFER; + request.Destination.Buffer.Resource = srequest.resource->get_dx(); + request.Destination.Buffer.Offset = buffer.offset; + request.Destination.Buffer.Size = request.UncompressedSize; + }, + [&](const StorageRequest::Texture& texture) + { + request.Options.DestinationType = DSTORAGE_REQUEST_DESTINATION_TEXTURE_REGION; + request.Destination.Texture.Resource = srequest.resource->get_dx(); + request.Destination.Texture.SubresourceIndex = texture.subresource; + + auto size = srequest.resource->get_desc().as_texture().get_size(texture.subresource); + D3D12_BOX destBox{}; + destBox.right = size.x; + destBox.bottom = size.y; + destBox.back = size.z; + + request.Destination.Texture.Region = destBox; + + auto l = device.get_texture_layout(srequest.resource->get_desc(), texture.subresource); + ASSERT(l.size == srequest.uncompressed_size); + }, + [&](auto other) + { + ASSERT(false); + } + }, srequest.operation); std::lock_guard g(queue_mutex); @@ -250,13 +246,7 @@ namespace HAL executor.enqueue([waiter, f = file]() { waiter.wait(); f->Close(); - }); - - // native->Submit(); - // s.wait(); - - // DSTORAGE_ERROR_RECORD errorRecord{}; - // native->RetrieveErrorRecord(&errorRecord); + }); return waiter; } diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Queue.ixx b/sources/HAL/API/D3D12/HAL.D3D12.Queue.ixx index 2ea67986..6da4a6d3 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Queue.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.Queue.ixx @@ -10,7 +10,6 @@ export namespace HAL { class Queue { - std::vector queued; protected: D3D::CommandQueue native; diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Resource.cpp b/sources/HAL/API/D3D12/HAL.D3D12.Resource.cpp index 2954ee50..3783d31d 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Resource.cpp +++ b/sources/HAL/API/D3D12/HAL.D3D12.Resource.cpp @@ -19,17 +19,17 @@ HAL::ResourceDesc extract(D3D::Resource resource) { if (native_desc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE1D) { - return HAL::ResourceDesc::Tex1D(from_native(native_desc.Format), { uint(native_desc.Width) }, native_desc.DepthOrArraySize, native_desc.MipLevels, from_native(native_desc.Flags)); + return HAL::ResourceDesc::Tex1D(from_native(native_desc.Format), { uint(native_desc.Width) }, native_desc.DepthOrArraySize, native_desc.MipLevels, from_native(native_desc.Flags)); } if (native_desc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE2D) { - return HAL::ResourceDesc::Tex2D(from_native(native_desc.Format), { uint(native_desc.Width), native_desc.Height }, native_desc.DepthOrArraySize, native_desc.MipLevels, from_native(native_desc.Flags)); + return HAL::ResourceDesc::Tex2D(from_native(native_desc.Format), { uint(native_desc.Width), native_desc.Height }, native_desc.DepthOrArraySize, native_desc.MipLevels, from_native(native_desc.Flags)); } if (native_desc.Dimension == D3D12_RESOURCE_DIMENSION_TEXTURE3D) { - return HAL::ResourceDesc::Tex3D(from_native(native_desc.Format), { uint(native_desc.Width), native_desc.Height, native_desc.DepthOrArraySize }, native_desc.MipLevels, from_native(native_desc.Flags)); + return HAL::ResourceDesc::Tex3D(from_native(native_desc.Format), { uint(native_desc.Width), native_desc.Height, native_desc.DepthOrArraySize }, native_desc.MipLevels, from_native(native_desc.Flags)); } } @@ -51,13 +51,12 @@ namespace HAL auto& desc = THIS->desc; auto& heap_type = THIS->heap_type; - if(address.heap) - heap_type = address.heap->get_type(); + if (address.heap) + heap_type = address.heap->get_type(); else heap_type = HAL::HeapType::RESERVED; desc = _desc; - // Log::get() << "creating resource " << _desc << Log::endl; auto resourceDesc = to_native(desc); ResourceAllocationInfo info = device.get_alloc_info(_desc); @@ -128,9 +127,9 @@ namespace HAL initialLayout = TextureLayout::COPY_DEST; // probably update from CPU or copy } - if(check(_desc.Flags&ResFlags::DisableStateTracking)) + if (check(_desc.Flags & ResFlags::DisableStateTracking)) { - if(check(_desc.Flags&ResFlags::ShaderResource)) + if (check(_desc.Flags & ResFlags::ShaderResource)) initialLayout = TextureLayout::SHADER_RESOURCE;// | TextureLayout::COPY_SOURCE; else initialLayout = TextureLayout::COPY_SOURCE; @@ -157,7 +156,7 @@ namespace HAL } else { - auto resourceDesc1 = to_native_1(desc); + auto resourceDesc1 = to_native_1(desc); if (resourceDesc.Dimension != D3D12_RESOURCE_DIMENSION::D3D12_RESOURCE_DIMENSION_BUFFER) { @@ -175,17 +174,17 @@ namespace HAL } auto prev_flags = THIS->desc.Flags; init(native_resource, initialLayout, device); - THIS->desc.Flags |= prev_flags; + THIS->desc.Flags |= prev_flags; } - void Resource::init(D3D::Resource resource, TextureLayout layout, Device& device) + void Resource::init(D3D::Resource resource, TextureLayout layout, Device& device) { auto THIS = static_cast(this); THIS->m_device = static_cast(&device); THIS->desc = extract(native_resource); - if(layout == TextureLayout::PRESENT) + if (layout == TextureLayout::PRESENT) THIS->desc.Flags |= ResFlags::Swapchain; if (THIS->desc.is_buffer()) @@ -232,7 +231,7 @@ namespace HAL PlacementAddress address = { handle.get_heap().get(),handle.get_offset() }; - init(device, desc, address, TextureLayout::UNDEFINED); + init(device, desc, address, TextureLayout::UNDEFINED); if (own) { @@ -265,8 +264,8 @@ namespace HAL void Resource::set_name(std::string name) { - if(!this->name.empty()&&name.empty()) return; - ASSERT(name.size()>0); + if (!this->name.empty() && name.empty()) return; + ASSERT(name.size() > 0); this->name = name; get_dx()->SetName(convert(name).c_str()); diff --git a/sources/HAL/API/D3D12/HAL.D3D12.Resource.ixx b/sources/HAL/API/D3D12/HAL.D3D12.Resource.ixx index 1f2604dc..93b2b94f 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.Resource.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.Resource.ixx @@ -18,26 +18,25 @@ export namespace HAL size_t offset; }; - namespace API - { + namespace API { - class Resource - { - GPUAddressPtr address; - public: - using ptr = std::shared_ptr; - void init(Device& device, const ResourceDesc& desc, const PlacementAddress& address, TextureLayout initialLayout = TextureLayout::UNDEFINED); - void init(D3D::Resource resource, TextureLayout layout, Device& device); + class Resource + { + GPUAddressPtr address; + public: + using ptr = std::shared_ptr; + void init(Device& device, const ResourceDesc& desc, const PlacementAddress& address, TextureLayout initialLayout = TextureLayout::UNDEFINED); + void init(D3D::Resource resource, TextureLayout layout, Device& device); - GPUAddressPtr get_address(); - public: - D3D::Resource native_resource; + GPUAddressPtr get_address(); + + D3D::Resource native_resource; auto get_dx() const { return native_resource.Get(); } - }; + }; } } diff --git a/sources/HAL/API/D3D12/HAL.D3D12.RootSignature.ixx b/sources/HAL/API/D3D12/HAL.D3D12.RootSignature.ixx index b66ed07b..ec7df2ab 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.RootSignature.ixx +++ b/sources/HAL/API/D3D12/HAL.D3D12.RootSignature.ixx @@ -12,7 +12,7 @@ export namespace HAL protected: D3D::RootSignature m_rootSignature; public: - virtual~RootSignature() = default; + virtual ~RootSignature() = default; D3D::RootSignature get_native(); }; } diff --git a/sources/HAL/API/D3D12/HAL.D3D12.TextureData.cpp b/sources/HAL/API/D3D12/HAL.D3D12.TextureData.cpp index c0039861..e80597e2 100644 --- a/sources/HAL/API/D3D12/HAL.D3D12.TextureData.cpp +++ b/sources/HAL/API/D3D12/HAL.D3D12.TextureData.cpp @@ -1,4 +1,5 @@ -module HAL:TextureData; + +module HAL:TextureData; import :Utils; import :Types; @@ -186,6 +187,71 @@ namespace HAL return generate_tex_data(compressed); } + texture_data::ptr texture_data::from_readback(uint width, uint height, Format fmt, + std::span gpu_data, + const texture_layout& layout) + { + auto result = std::make_shared(1, 1, width, height, 1, fmt); + auto& mip = result->array[0]->mips[0]; + + uint row_bytes = mip->width_stride; + for (uint row = 0; row < mip->num_rows; ++row) + { + auto src = reinterpret_cast(gpu_data.data()) + row * layout.row_stride; + auto dst = mip->data.data() + row * row_bytes; + std::memcpy(dst, src, row_bytes); + } + return result; + } + + std::vector texture_data::to_png() const + { + if (array.empty() || array[0]->mips.empty()) + return {}; + + auto& mip_data = array[0]->mips[0]; + + DirectXTex::Image img; + img.width = mip_data->width; + img.height = mip_data->height; + img.format = to_native(format); + img.rowPitch = mip_data->width_stride; + img.slicePitch = mip_data->slice_stride; + img.pixels = reinterpret_cast(const_cast(mip_data->data.data())); + + const DirectXTex::Image* save_img = &img; + DirectXTex::ScratchImage converted; + + CoInitialize(nullptr); + + if (img.format != DXGI_FORMAT_R8G8B8A8_UNORM) + { + ASSERT(false); + } + + DirectXTex::Blob blob; + if (FAILED(DirectXTex::SaveToWICMemory(*save_img, DirectXTex::WIC_FLAGS_NONE, + GUID_ContainerFormatPng, blob))) + return {}; + + auto* bytes = static_cast(blob.GetBufferPointer()); + return std::vector(bytes, bytes + blob.GetBufferSize()); + } + + texture_data::ptr texture_data::from_png(const void* data, size_t size) + { + CoInitialize(nullptr); + + DirectXTex::TexMetadata metadata; + DirectXTex::ScratchImage image; + if (FAILED(DirectXTex::LoadFromWICMemory( + static_cast(data), size, + DirectXTex::WIC_FLAGS_NONE, &metadata, image))) + return nullptr; + + return generate_tex_data(image); + } + texture_data::ptr texture_data::load_texture(std::shared_ptr file, int flags) { bool mips = (flags & LoadFlags::GENERATE_MIPS); diff --git a/sources/HAL/API/D3D12/HAL.Utils.cpp b/sources/HAL/API/D3D12/HAL.Utils.cpp index 90c8a0de..2aeb1c2e 100644 --- a/sources/HAL/API/D3D12/HAL.Utils.cpp +++ b/sources/HAL/API/D3D12/HAL.Utils.cpp @@ -734,14 +734,16 @@ D3D12_RESOURCE_FLAGS to_native(const ResFlags& flags) { D3D12_RESOURCE_FLAGS result = D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_NONE; - if (!check(flags & ResFlags::ShaderResource)) - result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE; if (check(flags & ResFlags::UnorderedAccess)) result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS; if (check(flags & ResFlags::RenderTarget)) result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_ALLOW_RENDER_TARGET; if (check(flags & ResFlags::DepthStencil)) + { result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_ALLOW_DEPTH_STENCIL; + if (!check(flags & ResFlags::ShaderResource)) + result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_DENY_SHADER_RESOURCE; + } if (check(flags & ResFlags::Raytracing)) result |= D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_RAYTRACING_ACCELERATION_STRUCTURE | D3D12_RESOURCE_FLAGS::D3D12_RESOURCE_FLAG_ALLOW_UNORDERED_ACCESS; diff --git a/sources/HAL/API/D3D12/HAL.Utils.ixx b/sources/HAL/API/D3D12/HAL.Utils.ixx index c88c5f22..49c6be82 100644 --- a/sources/HAL/API/D3D12/HAL.Utils.ixx +++ b/sources/HAL/API/D3D12/HAL.Utils.ixx @@ -91,33 +91,6 @@ export D3D12_DESCRIPTOR_RANGE_TYPE to_native(DescriptorRange range); export D3D12_SHADER_VISIBILITY to_native(ShaderVisibility visibility); -// -//export D3D12_BARRIER_LAYOUT to_native(TextureLayout flags) -//{ -// -// if (flags == TextureLayout::UNDEFINED) return D3D12_BARRIER_LAYOUT_UNDEFINED; -// -// -// D3D12_BARRIER_LAYOUT result = D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_COMMON; -// -// -// -// -// if (check(flags & TextureLayout::COMMON)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_COMMON; -// if (check(flags & TextureLayout::PRESENT)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_PRESENT; -// if (check(flags & TextureLayout::RENDER_TARGET)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_RENDER_TARGET; -// if (check(flags & TextureLayout::UNORDERED_ACCESS)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_UNORDERED_ACCESS; -// if (check(flags & TextureLayout::DEPTH_STENCIL_WRITE)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_WRITE; -// if (check(flags & TextureLayout::DEPTH_STENCIL_READ)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_DEPTH_STENCIL_READ; -// if (check(flags & TextureLayout::SHADER_RESOURCE)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_SHADER_RESOURCE; -// if (check(flags & TextureLayout::COPY_DEST)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_COPY_DEST; -// if (check(flags & TextureLayout::COPY_SOURCE)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_COPY_SOURCE; -// if (check(flags & TextureLayout::RESOLVE_DEST)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_RESOLVE_DEST; -// if (check(flags & TextureLayout::RESOLVE_SOURCE)) result |= D3D12_BARRIER_LAYOUT::D3D12_BARRIER_LAYOUT_RESOLVE_SOURCE; -// -// return result; -//} - export D3D12_BARRIER_LAYOUT to_native(TextureLayout layout); export D3D12_BARRIER_SYNC to_native(BarrierSync flags); @@ -140,7 +113,7 @@ export D3D12_RAYTRACING_GEOMETRY_TYPE to_native(GeometryType type); export D3D12_RAYTRACING_GEOMETRY_FLAGS to_native(GeometryFlags flags); -export struct RaytracingDescNative :public D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS +export struct RaytracingDescNative : public D3D12_BUILD_RAYTRACING_ACCELERATION_STRUCTURE_INPUTS { std::vector descs; @@ -158,59 +131,6 @@ export CD3DX12_RESOURCE_DESC1 to_native(const ResourceDesc& desc); export namespace cereal { - /* - template - void serialize(Archive& ar, D3D12_DISPATCH_ARGUMENTS& g) - { - ar& NVPG(ThreadGroupCountX); - ar& NVPG(ThreadGroupCountY); - ar& NVPG(ThreadGroupCountZ); - }*/ - - /* - template - void serialize(Archive& ar, D3D12_DRAW_INDEXED_ARGUMENTS& g) - { - ar& NVPG(IndexCountPerInstance); - ar& NVPG(InstanceCount); - ar& NVPG(StartIndexLocation); - ar& NVPG(BaseVertexLocation); - ar& NVPG(StartInstanceLocation); - }*/ - - template - void serialize(Archive& ar, D3D12_DEPTH_STENCILOP_DESC& g, const unsigned int) - { - // ar & g.DefaultValue; - ar& NVPG(StencilDepthFailOp); - ar& NVPG(StencilFailOp); - ar& NVPG(StencilFunc); - ar& NVPG(StencilPassOp); - } - - template - void serialize(Archive& ar, DXGI_SAMPLE_DESC& g, const unsigned int) - { - // ar & g.DefaultValue; - ar& NVPG(Count); - ar& NVPG(Quality); - } - - template - void serialize(Archive& ar, D3D::ResourceDesc& g, const unsigned int) - { - ar& NVPG(Dimension); - ar& NVPG(Alignment); - ar& NVPG(Width); - ar& NVPG(Height); - ar& NVPG(DepthOrArraySize); - ar& NVPG(MipLevels); - ar& NVPG(Format); - ar& NVPG(SampleDesc); - ar& NVPG(Layout); - ar& NVPG(Flags); - } - template void serialize(Archive& ar, D3D12_AUTO_BREADCRUMB_NODE& g, const unsigned int) { diff --git a/sources/HAL/API/D3D12/HAL.cpp b/sources/HAL/API/D3D12/HAL.cpp index 8ef8590a..ef2cb616 100644 --- a/sources/HAL/API/D3D12/HAL.cpp +++ b/sources/HAL/API/D3D12/HAL.cpp @@ -1,5 +1,5 @@ extern "C" { - _declspec(dllexport) extern const unsigned int D3D12SDKVersion = 618; + _declspec(dllexport) extern const unsigned int D3D12SDKVersion = 619; } extern "C" { diff --git a/sources/HAL/HAL.CommandList.cpp b/sources/HAL/HAL.CommandList.cpp index d44acead..fa39c415 100644 --- a/sources/HAL/HAL.CommandList.cpp +++ b/sources/HAL/HAL.CommandList.cpp @@ -342,7 +342,7 @@ namespace HAL } } - void GraphicsContext::set_rtv(const CompiledRT& rt, RTOptions options, float depth, uint stencil) + void GraphicsContext::set_rtv(const CompiledRT& rt, RTOptions options, float depth, uint stencil, vec4 clear_color) { compiled_rt = rt; const RTVHandle& table_rtv = rt.table_rtv; @@ -367,7 +367,7 @@ namespace HAL { for (uint i = 0; i < table_rtv.get_count(); i++) { - list->clear_rtv(table_rtv[i], float4(0, 0, 0, 0)); + list->clear_rtv(table_rtv[i], clear_color); } } diff --git a/sources/HAL/HAL.CommandList.ixx b/sources/HAL/HAL.CommandList.ixx index 66364e60..649c5eb2 100644 --- a/sources/HAL/HAL.CommandList.ixx +++ b/sources/HAL/HAL.CommandList.ixx @@ -502,17 +502,14 @@ export{ std::vector get_formats() const; template - CompiledRT set_rtv(const RT& rt, RTOptions options = RTOptions::Default, float depth = 0, uint stencil = 0) + CompiledRT set_rtv(const RT& rt, RTOptions options = RTOptions::Default, float depth = 0, uint stencil = 0, vec4 clear_color = vec4(0, 0, 0, 0)) { - auto compiled = rt.compile(*this); - - set_rtv(compiled, options, depth, stencil); - + set_rtv(compiled, options, depth, stencil, clear_color); return compiled; } - void set_rtv(const CompiledRT& rt, RTOptions options = RTOptions::Default, float depth = 0, uint stencil = 0); + void set_rtv(const CompiledRT& rt, RTOptions options = RTOptions::Default, float depth = 0, uint stencil = 0, vec4 clear_color = vec4(0, 0, 0, 0)); CommandList& get_base(); diff --git a/sources/HAL/HAL.Device.cpp b/sources/HAL/HAL.Device.cpp index 877e6fa4..d50dcbec 100644 --- a/sources/HAL/HAL.Device.cpp +++ b/sources/HAL/HAL.Device.cpp @@ -72,6 +72,7 @@ namespace HAL { Log::get().crash_error("Cant find proper device"); } + else result->init_managers(); return result; } diff --git a/sources/HAL/HAL.TextureData.ixx b/sources/HAL/HAL.TextureData.ixx index 31ada404..ac119746 100644 --- a/sources/HAL/HAL.TextureData.ixx +++ b/sources/HAL/HAL.TextureData.ixx @@ -104,6 +104,17 @@ export namespace HAL static ptr load_texture(std::shared_ptr file, int flags); static ptr compress(ptr orig); + // Build from GPU readback data: strips row padding (layout.row_stride → width_stride) + static ptr from_readback(uint width, uint height, Format fmt, + std::span gpu_data, + const texture_layout& layout); + + // Encode mip[0] as PNG bytes (converts to R8G8B8A8_UNORM if needed) + std::vector to_png() const; + + // Decode PNG bytes into texture_data + static ptr from_png(const void* data, size_t size); + }; diff --git a/sources/HAL/autogen/autogen.cpp b/sources/HAL/autogen/autogen.cpp index 368d4a35..4d56db57 100644 --- a/sources/HAL/autogen/autogen.cpp +++ b/sources/HAL/autogen/autogen.cpp @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + module HAL; import HAL; diff --git a/sources/HAL/autogen/autogen.ixx b/sources/HAL/autogen/autogen.ixx index 8430ca4d..2944e361 100644 --- a/sources/HAL/autogen/autogen.ixx +++ b/sources/HAL/autogen/autogen.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen; diff --git a/sources/HAL/autogen/enums.ixx b/sources/HAL/autogen/enums.ixx index 2e8069d8..19955a0e 100644 --- a/sources/HAL/autogen/enums.ixx +++ b/sources/HAL/autogen/enums.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Enums; import Core; diff --git a/sources/HAL/autogen/layout/DefaultLayout.layout.ixx b/sources/HAL/autogen/layout/DefaultLayout.layout.ixx index 52de5fad..28dbaf46 100644 --- a/sources/HAL/autogen/layout/DefaultLayout.layout.ixx +++ b/sources/HAL/autogen/layout/DefaultLayout.layout.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Layouts.DefaultLayout; import Core; import :Autogen.Layouts.FrameLayout; diff --git a/sources/HAL/autogen/layout/FrameLayout.layout.ixx b/sources/HAL/autogen/layout/FrameLayout.layout.ixx index f2618bbe..54c53982 100644 --- a/sources/HAL/autogen/layout/FrameLayout.layout.ixx +++ b/sources/HAL/autogen/layout/FrameLayout.layout.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Layouts.FrameLayout; import Core; import :Types; diff --git a/sources/HAL/autogen/layout/NoneLayout.layout.ixx b/sources/HAL/autogen/layout/NoneLayout.layout.ixx index 7b791159..c3931cbf 100644 --- a/sources/HAL/autogen/layout/NoneLayout.layout.ixx +++ b/sources/HAL/autogen/layout/NoneLayout.layout.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Layouts.NoneLayout; import Core; import :Types; diff --git a/sources/HAL/autogen/pso.cpp b/sources/HAL/autogen/pso.cpp index 9455a798..b22fa525 100644 --- a/sources/HAL/autogen/pso.cpp +++ b/sources/HAL/autogen/pso.cpp @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + module HAL; import Core; import HAL; diff --git a/sources/HAL/autogen/pso/BRDF.pso.ixx b/sources/HAL/autogen/pso/BRDF.pso.ixx index 8f4f4274..3a549dae 100644 --- a/sources/HAL/autogen/pso/BRDF.pso.ixx +++ b/sources/HAL/autogen/pso/BRDF.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.BRDF; import Core; diff --git a/sources/HAL/autogen/pso/BlendWeight.pso.ixx b/sources/HAL/autogen/pso/BlendWeight.pso.ixx index 299ed7b2..3ff271a3 100644 --- a/sources/HAL/autogen/pso/BlendWeight.pso.ixx +++ b/sources/HAL/autogen/pso/BlendWeight.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.BlendWeight; import Core; diff --git a/sources/HAL/autogen/pso/Blending.pso.ixx b/sources/HAL/autogen/pso/Blending.pso.ixx index 11e1ad1d..ca840f33 100644 --- a/sources/HAL/autogen/pso/Blending.pso.ixx +++ b/sources/HAL/autogen/pso/Blending.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.Blending; import Core; diff --git a/sources/HAL/autogen/pso/BlueNoise.pso.ixx b/sources/HAL/autogen/pso/BlueNoise.pso.ixx index 5e80e0e9..978620df 100644 --- a/sources/HAL/autogen/pso/BlueNoise.pso.ixx +++ b/sources/HAL/autogen/pso/BlueNoise.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.BlueNoise; import Core; diff --git a/sources/HAL/autogen/pso/CanvasBack.pso.ixx b/sources/HAL/autogen/pso/CanvasBack.pso.ixx index 22248dbd..aca8eb8d 100644 --- a/sources/HAL/autogen/pso/CanvasBack.pso.ixx +++ b/sources/HAL/autogen/pso/CanvasBack.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.CanvasBack; import Core; diff --git a/sources/HAL/autogen/pso/CanvasLines.pso.ixx b/sources/HAL/autogen/pso/CanvasLines.pso.ixx index 92257248..b5e62ff7 100644 --- a/sources/HAL/autogen/pso/CanvasLines.pso.ixx +++ b/sources/HAL/autogen/pso/CanvasLines.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.CanvasLines; import Core; diff --git a/sources/HAL/autogen/pso/CopyTexture.pso.ixx b/sources/HAL/autogen/pso/CopyTexture.pso.ixx index 66eac214..df005d04 100644 --- a/sources/HAL/autogen/pso/CopyTexture.pso.ixx +++ b/sources/HAL/autogen/pso/CopyTexture.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.CopyTexture; import Core; diff --git a/sources/HAL/autogen/pso/CubemapENV.pso.ixx b/sources/HAL/autogen/pso/CubemapENV.pso.ixx index 48d802fd..a254cf97 100644 --- a/sources/HAL/autogen/pso/CubemapENV.pso.ixx +++ b/sources/HAL/autogen/pso/CubemapENV.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.CubemapENV; import Core; diff --git a/sources/HAL/autogen/pso/CubemapENVDiffuse.pso.ixx b/sources/HAL/autogen/pso/CubemapENVDiffuse.pso.ixx index e34f523b..ddca2fa9 100644 --- a/sources/HAL/autogen/pso/CubemapENVDiffuse.pso.ixx +++ b/sources/HAL/autogen/pso/CubemapENVDiffuse.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.CubemapENVDiffuse; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserDownsample.pso.ixx b/sources/HAL/autogen/pso/DenoiserDownsample.pso.ixx index eeded7c4..2ccd7ffe 100644 --- a/sources/HAL/autogen/pso/DenoiserDownsample.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserDownsample.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserDownsample; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserHistoryFix.pso.ixx b/sources/HAL/autogen/pso/DenoiserHistoryFix.pso.ixx index a09d7bb2..5f725d82 100644 --- a/sources/HAL/autogen/pso/DenoiserHistoryFix.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserHistoryFix.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserHistoryFix; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserReflectionPrefilter.pso.ixx b/sources/HAL/autogen/pso/DenoiserReflectionPrefilter.pso.ixx index 7563f88b..9252c72c 100644 --- a/sources/HAL/autogen/pso/DenoiserReflectionPrefilter.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserReflectionPrefilter.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserReflectionPrefilter; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserReflectionReproject.pso.ixx b/sources/HAL/autogen/pso/DenoiserReflectionReproject.pso.ixx index 33d4276a..314808eb 100644 --- a/sources/HAL/autogen/pso/DenoiserReflectionReproject.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserReflectionReproject.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserReflectionReproject; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserReflectionResolve.pso.ixx b/sources/HAL/autogen/pso/DenoiserReflectionResolve.pso.ixx index 15d022fa..a15d2867 100644 --- a/sources/HAL/autogen/pso/DenoiserReflectionResolve.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserReflectionResolve.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserReflectionResolve; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserShadow_Filter.pso.ixx b/sources/HAL/autogen/pso/DenoiserShadow_Filter.pso.ixx index a92bdd33..cfceca00 100644 --- a/sources/HAL/autogen/pso/DenoiserShadow_Filter.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserShadow_Filter.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserShadow_Filter; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserShadow_Prepare.pso.ixx b/sources/HAL/autogen/pso/DenoiserShadow_Prepare.pso.ixx index 47c1ed48..28f29f3e 100644 --- a/sources/HAL/autogen/pso/DenoiserShadow_Prepare.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserShadow_Prepare.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserShadow_Prepare; import Core; diff --git a/sources/HAL/autogen/pso/DenoiserShadow_TileClassification.pso.ixx b/sources/HAL/autogen/pso/DenoiserShadow_TileClassification.pso.ixx index 0bd42d06..0660c870 100644 --- a/sources/HAL/autogen/pso/DenoiserShadow_TileClassification.pso.ixx +++ b/sources/HAL/autogen/pso/DenoiserShadow_TileClassification.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DenoiserShadow_TileClassification; import Core; diff --git a/sources/HAL/autogen/pso/DepthDraw.pso.ixx b/sources/HAL/autogen/pso/DepthDraw.pso.ixx index 7647eb62..a1651573 100644 --- a/sources/HAL/autogen/pso/DepthDraw.pso.ixx +++ b/sources/HAL/autogen/pso/DepthDraw.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DepthDraw; import Core; diff --git a/sources/HAL/autogen/pso/DownsampleDepth.pso.ixx b/sources/HAL/autogen/pso/DownsampleDepth.pso.ixx index 6629cf94..ce4f0358 100644 --- a/sources/HAL/autogen/pso/DownsampleDepth.pso.ixx +++ b/sources/HAL/autogen/pso/DownsampleDepth.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DownsampleDepth; import Core; diff --git a/sources/HAL/autogen/pso/DrawAxis.pso.ixx b/sources/HAL/autogen/pso/DrawAxis.pso.ixx index dce715fd..df98086c 100644 --- a/sources/HAL/autogen/pso/DrawAxis.pso.ixx +++ b/sources/HAL/autogen/pso/DrawAxis.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DrawAxis; import Core; diff --git a/sources/HAL/autogen/pso/DrawBox.pso.ixx b/sources/HAL/autogen/pso/DrawBox.pso.ixx index 23e3dedc..1482a848 100644 --- a/sources/HAL/autogen/pso/DrawBox.pso.ixx +++ b/sources/HAL/autogen/pso/DrawBox.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DrawBox; import Core; diff --git a/sources/HAL/autogen/pso/DrawSelected.pso.ixx b/sources/HAL/autogen/pso/DrawSelected.pso.ixx index 406bcac7..34bc6ce6 100644 --- a/sources/HAL/autogen/pso/DrawSelected.pso.ixx +++ b/sources/HAL/autogen/pso/DrawSelected.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DrawSelected; import Core; diff --git a/sources/HAL/autogen/pso/DrawStencil.pso.ixx b/sources/HAL/autogen/pso/DrawStencil.pso.ixx index 5af5394f..f0c4945c 100644 --- a/sources/HAL/autogen/pso/DrawStencil.pso.ixx +++ b/sources/HAL/autogen/pso/DrawStencil.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.DrawStencil; import Core; diff --git a/sources/HAL/autogen/pso/EdgeDetect.pso.ixx b/sources/HAL/autogen/pso/EdgeDetect.pso.ixx index 1f77bf23..92e63a1a 100644 --- a/sources/HAL/autogen/pso/EdgeDetect.pso.ixx +++ b/sources/HAL/autogen/pso/EdgeDetect.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.EdgeDetect; import Core; diff --git a/sources/HAL/autogen/pso/FSR.pso.ixx b/sources/HAL/autogen/pso/FSR.pso.ixx index 796d4711..b6501e78 100644 --- a/sources/HAL/autogen/pso/FSR.pso.ixx +++ b/sources/HAL/autogen/pso/FSR.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FSR; import Core; diff --git a/sources/HAL/autogen/pso/FontRender.pso.ixx b/sources/HAL/autogen/pso/FontRender.pso.ixx index f9392bd1..237ac795 100644 --- a/sources/HAL/autogen/pso/FontRender.pso.ixx +++ b/sources/HAL/autogen/pso/FontRender.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FontRender; import Core; diff --git a/sources/HAL/autogen/pso/FrameClassification.pso.ixx b/sources/HAL/autogen/pso/FrameClassification.pso.ixx index 4ac37cd4..eface915 100644 --- a/sources/HAL/autogen/pso/FrameClassification.pso.ixx +++ b/sources/HAL/autogen/pso/FrameClassification.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameClassification; import Core; diff --git a/sources/HAL/autogen/pso/FrameClassificationInitDispatch.pso.ixx b/sources/HAL/autogen/pso/FrameClassificationInitDispatch.pso.ixx index a56d5913..0b48c101 100644 --- a/sources/HAL/autogen/pso/FrameClassificationInitDispatch.pso.ixx +++ b/sources/HAL/autogen/pso/FrameClassificationInitDispatch.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameClassificationInitDispatch; import Core; diff --git a/sources/HAL/autogen/pso/FrameGraph_Debug_NotImplemented.pso.ixx b/sources/HAL/autogen/pso/FrameGraph_Debug_NotImplemented.pso.ixx index a20e5050..664063ad 100644 --- a/sources/HAL/autogen/pso/FrameGraph_Debug_NotImplemented.pso.ixx +++ b/sources/HAL/autogen/pso/FrameGraph_Debug_NotImplemented.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameGraph_Debug_NotImplemented; import Core; diff --git a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2D.pso.ixx b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2D.pso.ixx index 5f112d8b..7438997d 100644 --- a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2D.pso.ixx +++ b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2D.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameGraph_Debug_Texture2D; import Core; diff --git a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2DArray.pso.ixx b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2DArray.pso.ixx index 2e87e85a..a5ce77b5 100644 --- a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2DArray.pso.ixx +++ b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture2DArray.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameGraph_Debug_Texture2DArray; import Core; diff --git a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture3D.pso.ixx b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture3D.pso.ixx index d15b46e1..44d0c9b6 100644 --- a/sources/HAL/autogen/pso/FrameGraph_Debug_Texture3D.pso.ixx +++ b/sources/HAL/autogen/pso/FrameGraph_Debug_Texture3D.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameGraph_Debug_Texture3D; import Core; diff --git a/sources/HAL/autogen/pso/FrameGraph_Debug_TextureCube.pso.ixx b/sources/HAL/autogen/pso/FrameGraph_Debug_TextureCube.pso.ixx index ba69339e..da297dee 100644 --- a/sources/HAL/autogen/pso/FrameGraph_Debug_TextureCube.pso.ixx +++ b/sources/HAL/autogen/pso/FrameGraph_Debug_TextureCube.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.FrameGraph_Debug_TextureCube; import Core; diff --git a/sources/HAL/autogen/pso/GBufferDownsample.pso.ixx b/sources/HAL/autogen/pso/GBufferDownsample.pso.ixx index 81f9f92f..58535b69 100644 --- a/sources/HAL/autogen/pso/GBufferDownsample.pso.ixx +++ b/sources/HAL/autogen/pso/GBufferDownsample.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.GBufferDownsample; import Core; diff --git a/sources/HAL/autogen/pso/GBufferDraw.pso.ixx b/sources/HAL/autogen/pso/GBufferDraw.pso.ixx index eabfe380..501e0ae2 100644 --- a/sources/HAL/autogen/pso/GBufferDraw.pso.ixx +++ b/sources/HAL/autogen/pso/GBufferDraw.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.GBufferDraw; import Core; diff --git a/sources/HAL/autogen/pso/GatherBoxes.pso.ixx b/sources/HAL/autogen/pso/GatherBoxes.pso.ixx index 5ecbce9f..320f8eff 100644 --- a/sources/HAL/autogen/pso/GatherBoxes.pso.ixx +++ b/sources/HAL/autogen/pso/GatherBoxes.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.GatherBoxes; import Core; diff --git a/sources/HAL/autogen/pso/GatherMeshes.pso.ixx b/sources/HAL/autogen/pso/GatherMeshes.pso.ixx index 479b365d..44fd1e49 100644 --- a/sources/HAL/autogen/pso/GatherMeshes.pso.ixx +++ b/sources/HAL/autogen/pso/GatherMeshes.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.GatherMeshes; import Core; diff --git a/sources/HAL/autogen/pso/GatherPipeline.pso.ixx b/sources/HAL/autogen/pso/GatherPipeline.pso.ixx index 798dcdfd..4b27afa9 100644 --- a/sources/HAL/autogen/pso/GatherPipeline.pso.ixx +++ b/sources/HAL/autogen/pso/GatherPipeline.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.GatherPipeline; import Core; diff --git a/sources/HAL/autogen/pso/InitDispatch.pso.ixx b/sources/HAL/autogen/pso/InitDispatch.pso.ixx index e9e191be..23c21ae6 100644 --- a/sources/HAL/autogen/pso/InitDispatch.pso.ixx +++ b/sources/HAL/autogen/pso/InitDispatch.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.InitDispatch; import Core; diff --git a/sources/HAL/autogen/pso/Lighting.pso.ixx b/sources/HAL/autogen/pso/Lighting.pso.ixx index f38623e1..b7406ee3 100644 --- a/sources/HAL/autogen/pso/Lighting.pso.ixx +++ b/sources/HAL/autogen/pso/Lighting.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.Lighting; import Core; diff --git a/sources/HAL/autogen/pso/MipMapping.pso.ixx b/sources/HAL/autogen/pso/MipMapping.pso.ixx index bb9c057f..faf8a90f 100644 --- a/sources/HAL/autogen/pso/MipMapping.pso.ixx +++ b/sources/HAL/autogen/pso/MipMapping.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.MipMapping; import Core; diff --git a/sources/HAL/autogen/pso/NinePatch.pso.ixx b/sources/HAL/autogen/pso/NinePatch.pso.ixx index 38296332..4be39084 100644 --- a/sources/HAL/autogen/pso/NinePatch.pso.ixx +++ b/sources/HAL/autogen/pso/NinePatch.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.NinePatch; import Core; diff --git a/sources/HAL/autogen/pso/PSSMApply.pso.ixx b/sources/HAL/autogen/pso/PSSMApply.pso.ixx index e262af4e..12315087 100644 --- a/sources/HAL/autogen/pso/PSSMApply.pso.ixx +++ b/sources/HAL/autogen/pso/PSSMApply.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.PSSMApply; import Core; diff --git a/sources/HAL/autogen/pso/PSSMMask.pso.ixx b/sources/HAL/autogen/pso/PSSMMask.pso.ixx index 6e8be89b..ca603061 100644 --- a/sources/HAL/autogen/pso/PSSMMask.pso.ixx +++ b/sources/HAL/autogen/pso/PSSMMask.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.PSSMMask; import Core; diff --git a/sources/HAL/autogen/pso/QualityColor.pso.ixx b/sources/HAL/autogen/pso/QualityColor.pso.ixx index 5675f568..9ab7ca39 100644 --- a/sources/HAL/autogen/pso/QualityColor.pso.ixx +++ b/sources/HAL/autogen/pso/QualityColor.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.QualityColor; import Core; diff --git a/sources/HAL/autogen/pso/QualityToStencil.pso.ixx b/sources/HAL/autogen/pso/QualityToStencil.pso.ixx index 09d4711b..7becf630 100644 --- a/sources/HAL/autogen/pso/QualityToStencil.pso.ixx +++ b/sources/HAL/autogen/pso/QualityToStencil.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.QualityToStencil; import Core; diff --git a/sources/HAL/autogen/pso/QualityToStencilREfl.pso.ixx b/sources/HAL/autogen/pso/QualityToStencilREfl.pso.ixx index ad3fb1c1..a579e525 100644 --- a/sources/HAL/autogen/pso/QualityToStencilREfl.pso.ixx +++ b/sources/HAL/autogen/pso/QualityToStencilREfl.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.QualityToStencilREfl; import Core; diff --git a/sources/HAL/autogen/pso/RCAS.pso.ixx b/sources/HAL/autogen/pso/RCAS.pso.ixx index fa66783b..704c4dc4 100644 --- a/sources/HAL/autogen/pso/RCAS.pso.ixx +++ b/sources/HAL/autogen/pso/RCAS.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.RCAS; import Core; diff --git a/sources/HAL/autogen/pso/ReflectionCombine.pso.ixx b/sources/HAL/autogen/pso/ReflectionCombine.pso.ixx index 577b6248..acb15da9 100644 --- a/sources/HAL/autogen/pso/ReflectionCombine.pso.ixx +++ b/sources/HAL/autogen/pso/ReflectionCombine.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.ReflectionCombine; import Core; diff --git a/sources/HAL/autogen/pso/RenderBoxes.pso.ixx b/sources/HAL/autogen/pso/RenderBoxes.pso.ixx index 221a2089..25f9bf18 100644 --- a/sources/HAL/autogen/pso/RenderBoxes.pso.ixx +++ b/sources/HAL/autogen/pso/RenderBoxes.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.RenderBoxes; import Core; diff --git a/sources/HAL/autogen/pso/RenderToDS.pso.ixx b/sources/HAL/autogen/pso/RenderToDS.pso.ixx index 0f9afee3..921ea8c8 100644 --- a/sources/HAL/autogen/pso/RenderToDS.pso.ixx +++ b/sources/HAL/autogen/pso/RenderToDS.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.RenderToDS; import Core; diff --git a/sources/HAL/autogen/pso/SS_Shadow.pso.ixx b/sources/HAL/autogen/pso/SS_Shadow.pso.ixx index bb3bd47c..49a7ae85 100644 --- a/sources/HAL/autogen/pso/SS_Shadow.pso.ixx +++ b/sources/HAL/autogen/pso/SS_Shadow.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.SS_Shadow; import Core; diff --git a/sources/HAL/autogen/pso/SimpleRect.pso.ixx b/sources/HAL/autogen/pso/SimpleRect.pso.ixx index e7a10316..9dfd1ac1 100644 --- a/sources/HAL/autogen/pso/SimpleRect.pso.ixx +++ b/sources/HAL/autogen/pso/SimpleRect.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.SimpleRect; import Core; diff --git a/sources/HAL/autogen/pso/Sky.pso.ixx b/sources/HAL/autogen/pso/Sky.pso.ixx index e042405c..e5d5a880 100644 --- a/sources/HAL/autogen/pso/Sky.pso.ixx +++ b/sources/HAL/autogen/pso/Sky.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.Sky; import Core; diff --git a/sources/HAL/autogen/pso/SkyCube.pso.ixx b/sources/HAL/autogen/pso/SkyCube.pso.ixx index 113b5997..1d71252e 100644 --- a/sources/HAL/autogen/pso/SkyCube.pso.ixx +++ b/sources/HAL/autogen/pso/SkyCube.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.SkyCube; import Core; diff --git a/sources/HAL/autogen/pso/StencilerLast.pso.ixx b/sources/HAL/autogen/pso/StencilerLast.pso.ixx index b157ee3e..4dad6db3 100644 --- a/sources/HAL/autogen/pso/StencilerLast.pso.ixx +++ b/sources/HAL/autogen/pso/StencilerLast.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.StencilerLast; import Core; diff --git a/sources/HAL/autogen/pso/VoxelCopy.pso.ixx b/sources/HAL/autogen/pso/VoxelCopy.pso.ixx index ae62eb19..ce76d904 100644 --- a/sources/HAL/autogen/pso/VoxelCopy.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelCopy.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelCopy; import Core; diff --git a/sources/HAL/autogen/pso/VoxelDebug.pso.ixx b/sources/HAL/autogen/pso/VoxelDebug.pso.ixx index d3abaf22..08ab3a5c 100644 --- a/sources/HAL/autogen/pso/VoxelDebug.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelDebug.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelDebug; import Core; diff --git a/sources/HAL/autogen/pso/VoxelDownsample.pso.ixx b/sources/HAL/autogen/pso/VoxelDownsample.pso.ixx index 468e3cbe..b13030f7 100644 --- a/sources/HAL/autogen/pso/VoxelDownsample.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelDownsample.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelDownsample; import Core; diff --git a/sources/HAL/autogen/pso/VoxelIndirectFilter.pso.ixx b/sources/HAL/autogen/pso/VoxelIndirectFilter.pso.ixx index a5ca7b92..0cae006c 100644 --- a/sources/HAL/autogen/pso/VoxelIndirectFilter.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelIndirectFilter.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelIndirectFilter; import Core; diff --git a/sources/HAL/autogen/pso/VoxelIndirectHi.pso.ixx b/sources/HAL/autogen/pso/VoxelIndirectHi.pso.ixx index 98c6ef6d..deeb9179 100644 --- a/sources/HAL/autogen/pso/VoxelIndirectHi.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelIndirectHi.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelIndirectHi; import Core; diff --git a/sources/HAL/autogen/pso/VoxelIndirectLow.pso.ixx b/sources/HAL/autogen/pso/VoxelIndirectLow.pso.ixx index 2f88cb72..a27b07a2 100644 --- a/sources/HAL/autogen/pso/VoxelIndirectLow.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelIndirectLow.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelIndirectLow; import Core; diff --git a/sources/HAL/autogen/pso/VoxelIndirectUpsample.pso.ixx b/sources/HAL/autogen/pso/VoxelIndirectUpsample.pso.ixx index 90cbd939..1e6a6415 100644 --- a/sources/HAL/autogen/pso/VoxelIndirectUpsample.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelIndirectUpsample.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelIndirectUpsample; import Core; diff --git a/sources/HAL/autogen/pso/VoxelReflectionHi.pso.ixx b/sources/HAL/autogen/pso/VoxelReflectionHi.pso.ixx index ad040f64..5d2a382f 100644 --- a/sources/HAL/autogen/pso/VoxelReflectionHi.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelReflectionHi.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelReflectionHi; import Core; diff --git a/sources/HAL/autogen/pso/VoxelReflectionUpsample.pso.ixx b/sources/HAL/autogen/pso/VoxelReflectionUpsample.pso.ixx index dd34fa19..17b5d249 100644 --- a/sources/HAL/autogen/pso/VoxelReflectionUpsample.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelReflectionUpsample.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelReflectionUpsample; import Core; diff --git a/sources/HAL/autogen/pso/VoxelVisibility.pso.ixx b/sources/HAL/autogen/pso/VoxelVisibility.pso.ixx index 987da701..ae1bbaea 100644 --- a/sources/HAL/autogen/pso/VoxelVisibility.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelVisibility.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelVisibility; import Core; diff --git a/sources/HAL/autogen/pso/VoxelZero.pso.ixx b/sources/HAL/autogen/pso/VoxelZero.pso.ixx index bf80fb39..7aedbcc0 100644 --- a/sources/HAL/autogen/pso/VoxelZero.pso.ixx +++ b/sources/HAL/autogen/pso/VoxelZero.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.VoxelZero; import Core; diff --git a/sources/HAL/autogen/pso/Voxelization.pso.ixx b/sources/HAL/autogen/pso/Voxelization.pso.ixx index 21988db7..2e945e63 100644 --- a/sources/HAL/autogen/pso/Voxelization.pso.ixx +++ b/sources/HAL/autogen/pso/Voxelization.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.Voxelization; import Core; diff --git a/sources/HAL/autogen/pso/WorkGR.pso.ixx b/sources/HAL/autogen/pso/WorkGR.pso.ixx index 3fb9921b..77f692d7 100644 --- a/sources/HAL/autogen/pso/WorkGR.pso.ixx +++ b/sources/HAL/autogen/pso/WorkGR.pso.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.PSO.WorkGR; import Core; diff --git a/sources/HAL/autogen/rt/DepthOnly.rt.ixx b/sources/HAL/autogen/rt/DepthOnly.rt.ixx index 0909f150..e578e032 100644 --- a/sources/HAL/autogen/rt/DepthOnly.rt.ixx +++ b/sources/HAL/autogen/rt/DepthOnly.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.DepthOnly; import Core; diff --git a/sources/HAL/autogen/rt/GBuffer.rt.ixx b/sources/HAL/autogen/rt/GBuffer.rt.ixx index 21d3463e..8a8bfa04 100644 --- a/sources/HAL/autogen/rt/GBuffer.rt.ixx +++ b/sources/HAL/autogen/rt/GBuffer.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.GBuffer; import Core; diff --git a/sources/HAL/autogen/rt/GBufferDownsampleRT.rt.ixx b/sources/HAL/autogen/rt/GBufferDownsampleRT.rt.ixx index bf3371dd..785777f9 100644 --- a/sources/HAL/autogen/rt/GBufferDownsampleRT.rt.ixx +++ b/sources/HAL/autogen/rt/GBufferDownsampleRT.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.GBufferDownsampleRT; import Core; diff --git a/sources/HAL/autogen/rt/NoOutput.rt.ixx b/sources/HAL/autogen/rt/NoOutput.rt.ixx index 36367864..5b4d7d74 100644 --- a/sources/HAL/autogen/rt/NoOutput.rt.ixx +++ b/sources/HAL/autogen/rt/NoOutput.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.NoOutput; import Core; diff --git a/sources/HAL/autogen/rt/SingleColor.rt.ixx b/sources/HAL/autogen/rt/SingleColor.rt.ixx index fc3920e4..8c47cca1 100644 --- a/sources/HAL/autogen/rt/SingleColor.rt.ixx +++ b/sources/HAL/autogen/rt/SingleColor.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.SingleColor; import Core; diff --git a/sources/HAL/autogen/rt/SingleColorDepth.rt.ixx b/sources/HAL/autogen/rt/SingleColorDepth.rt.ixx index 0a59e925..43e7ddf7 100644 --- a/sources/HAL/autogen/rt/SingleColorDepth.rt.ixx +++ b/sources/HAL/autogen/rt/SingleColorDepth.rt.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RT.SingleColorDepth; import Core; diff --git a/sources/HAL/autogen/rtx/ColorPass.h b/sources/HAL/autogen/rtx/ColorPass.h index f881131a..2749887b 100644 --- a/sources/HAL/autogen/rtx/ColorPass.h +++ b/sources/HAL/autogen/rtx/ColorPass.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct ColorPass: public RaytracePass diff --git a/sources/HAL/autogen/rtx/Indirect.h b/sources/HAL/autogen/rtx/Indirect.h index 88d14485..93567e4d 100644 --- a/sources/HAL/autogen/rtx/Indirect.h +++ b/sources/HAL/autogen/rtx/Indirect.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct Indirect: public RaytraceRaygen diff --git a/sources/HAL/autogen/rtx/MainRTX.rtx.ixx b/sources/HAL/autogen/rtx/MainRTX.rtx.ixx index a5a6095d..4d358271 100644 --- a/sources/HAL/autogen/rtx/MainRTX.rtx.ixx +++ b/sources/HAL/autogen/rtx/MainRTX.rtx.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.RTX.MainRTX; import Core; diff --git a/sources/HAL/autogen/rtx/Reflection.h b/sources/HAL/autogen/rtx/Reflection.h index 50e50647..c37a250c 100644 --- a/sources/HAL/autogen/rtx/Reflection.h +++ b/sources/HAL/autogen/rtx/Reflection.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct Reflection: public RaytraceRaygen diff --git a/sources/HAL/autogen/rtx/Shadow.h b/sources/HAL/autogen/rtx/Shadow.h index 39b2a245..3b19c8f3 100644 --- a/sources/HAL/autogen/rtx/Shadow.h +++ b/sources/HAL/autogen/rtx/Shadow.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct Shadow: public RaytraceRaygen diff --git a/sources/HAL/autogen/rtx/ShadowPass.h b/sources/HAL/autogen/rtx/ShadowPass.h index 1f6d2547..d3967acc 100644 --- a/sources/HAL/autogen/rtx/ShadowPass.h +++ b/sources/HAL/autogen/rtx/ShadowPass.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct ShadowPass: public RaytracePass diff --git a/sources/HAL/autogen/slots/BRDF.ixx b/sources/HAL/autogen/slots/BRDF.ixx index 7483831d..73dc1b69 100644 --- a/sources/HAL/autogen/slots/BRDF.ixx +++ b/sources/HAL/autogen/slots/BRDF.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.BRDF; import Core; import :Autogen.Tables.BRDF; diff --git a/sources/HAL/autogen/slots/BlueNoise.ixx b/sources/HAL/autogen/slots/BlueNoise.ixx index 98640641..bfccaa81 100644 --- a/sources/HAL/autogen/slots/BlueNoise.ixx +++ b/sources/HAL/autogen/slots/BlueNoise.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.BlueNoise; import Core; import :Autogen.Tables.BlueNoise; diff --git a/sources/HAL/autogen/slots/Color.ixx b/sources/HAL/autogen/slots/Color.ixx index 28224b73..a436f7c7 100644 --- a/sources/HAL/autogen/slots/Color.ixx +++ b/sources/HAL/autogen/slots/Color.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Color; import Core; import :Autogen.Tables.Color; diff --git a/sources/HAL/autogen/slots/ColorRect.ixx b/sources/HAL/autogen/slots/ColorRect.ixx index d270fe40..d698b098 100644 --- a/sources/HAL/autogen/slots/ColorRect.ixx +++ b/sources/HAL/autogen/slots/ColorRect.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.ColorRect; import Core; import :Autogen.Tables.ColorRect; diff --git a/sources/HAL/autogen/slots/CopyTexture.ixx b/sources/HAL/autogen/slots/CopyTexture.ixx index 954839d1..4bc75519 100644 --- a/sources/HAL/autogen/slots/CopyTexture.ixx +++ b/sources/HAL/autogen/slots/CopyTexture.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.CopyTexture; import Core; import :Autogen.Tables.CopyTexture; diff --git a/sources/HAL/autogen/slots/Countour.ixx b/sources/HAL/autogen/slots/Countour.ixx index 1442b1b2..ce104e18 100644 --- a/sources/HAL/autogen/slots/Countour.ixx +++ b/sources/HAL/autogen/slots/Countour.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Countour; import Core; import :Autogen.Tables.Countour; diff --git a/sources/HAL/autogen/slots/DebugInfo.ixx b/sources/HAL/autogen/slots/DebugInfo.ixx index e104b449..bbcb4ba3 100644 --- a/sources/HAL/autogen/slots/DebugInfo.ixx +++ b/sources/HAL/autogen/slots/DebugInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DebugInfo; import Core; import :Autogen.Tables.DebugInfo; diff --git a/sources/HAL/autogen/slots/DenoiserDownsample.ixx b/sources/HAL/autogen/slots/DenoiserDownsample.ixx index b01abc03..08147c30 100644 --- a/sources/HAL/autogen/slots/DenoiserDownsample.ixx +++ b/sources/HAL/autogen/slots/DenoiserDownsample.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserDownsample; import Core; import :Autogen.Tables.DenoiserDownsample; diff --git a/sources/HAL/autogen/slots/DenoiserHistoryFix.ixx b/sources/HAL/autogen/slots/DenoiserHistoryFix.ixx index eecb69b3..3faa0522 100644 --- a/sources/HAL/autogen/slots/DenoiserHistoryFix.ixx +++ b/sources/HAL/autogen/slots/DenoiserHistoryFix.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserHistoryFix; import Core; import :Autogen.Tables.DenoiserHistoryFix; diff --git a/sources/HAL/autogen/slots/DenoiserReflectionCommon.ixx b/sources/HAL/autogen/slots/DenoiserReflectionCommon.ixx index 70a000b9..74a5cb73 100644 --- a/sources/HAL/autogen/slots/DenoiserReflectionCommon.ixx +++ b/sources/HAL/autogen/slots/DenoiserReflectionCommon.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserReflectionCommon; import Core; import :Autogen.Tables.DenoiserReflectionCommon; diff --git a/sources/HAL/autogen/slots/DenoiserReflectionPrefilter.ixx b/sources/HAL/autogen/slots/DenoiserReflectionPrefilter.ixx index 6c1441c2..7286390b 100644 --- a/sources/HAL/autogen/slots/DenoiserReflectionPrefilter.ixx +++ b/sources/HAL/autogen/slots/DenoiserReflectionPrefilter.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserReflectionPrefilter; import Core; import :Autogen.Tables.DenoiserReflectionPrefilter; diff --git a/sources/HAL/autogen/slots/DenoiserReflectionReproject.ixx b/sources/HAL/autogen/slots/DenoiserReflectionReproject.ixx index 324a817f..e66f1e39 100644 --- a/sources/HAL/autogen/slots/DenoiserReflectionReproject.ixx +++ b/sources/HAL/autogen/slots/DenoiserReflectionReproject.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserReflectionReproject; import Core; import :Autogen.Tables.DenoiserReflectionReproject; diff --git a/sources/HAL/autogen/slots/DenoiserReflectionResolve.ixx b/sources/HAL/autogen/slots/DenoiserReflectionResolve.ixx index 3db35176..be1c7d74 100644 --- a/sources/HAL/autogen/slots/DenoiserReflectionResolve.ixx +++ b/sources/HAL/autogen/slots/DenoiserReflectionResolve.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserReflectionResolve; import Core; import :Autogen.Tables.DenoiserReflectionResolve; diff --git a/sources/HAL/autogen/slots/DenoiserShadow_Filter.ixx b/sources/HAL/autogen/slots/DenoiserShadow_Filter.ixx index 8f221f0a..7941c762 100644 --- a/sources/HAL/autogen/slots/DenoiserShadow_Filter.ixx +++ b/sources/HAL/autogen/slots/DenoiserShadow_Filter.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserShadow_Filter; import Core; import :Autogen.Tables.DenoiserShadow_Filter; diff --git a/sources/HAL/autogen/slots/DenoiserShadow_FilterLast.ixx b/sources/HAL/autogen/slots/DenoiserShadow_FilterLast.ixx index ce187a72..c812a38a 100644 --- a/sources/HAL/autogen/slots/DenoiserShadow_FilterLast.ixx +++ b/sources/HAL/autogen/slots/DenoiserShadow_FilterLast.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserShadow_FilterLast; import Core; import :Autogen.Tables.DenoiserShadow_FilterLast; diff --git a/sources/HAL/autogen/slots/DenoiserShadow_FilterLocal.ixx b/sources/HAL/autogen/slots/DenoiserShadow_FilterLocal.ixx index 8e94c0e4..88964bd5 100644 --- a/sources/HAL/autogen/slots/DenoiserShadow_FilterLocal.ixx +++ b/sources/HAL/autogen/slots/DenoiserShadow_FilterLocal.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserShadow_FilterLocal; import Core; import :Autogen.Tables.DenoiserShadow_FilterLocal; diff --git a/sources/HAL/autogen/slots/DenoiserShadow_Prepare.ixx b/sources/HAL/autogen/slots/DenoiserShadow_Prepare.ixx index 77b7c286..fed45263 100644 --- a/sources/HAL/autogen/slots/DenoiserShadow_Prepare.ixx +++ b/sources/HAL/autogen/slots/DenoiserShadow_Prepare.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserShadow_Prepare; import Core; import :Autogen.Tables.DenoiserShadow_Prepare; diff --git a/sources/HAL/autogen/slots/DenoiserShadow_TileClassification.ixx b/sources/HAL/autogen/slots/DenoiserShadow_TileClassification.ixx index ba0e55e3..cf2bea8f 100644 --- a/sources/HAL/autogen/slots/DenoiserShadow_TileClassification.ixx +++ b/sources/HAL/autogen/slots/DenoiserShadow_TileClassification.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DenoiserShadow_TileClassification; import Core; import :Autogen.Tables.DenoiserShadow_TileClassification; diff --git a/sources/HAL/autogen/slots/DispatchParameters.ixx b/sources/HAL/autogen/slots/DispatchParameters.ixx index d3507d83..91eee612 100644 --- a/sources/HAL/autogen/slots/DispatchParameters.ixx +++ b/sources/HAL/autogen/slots/DispatchParameters.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DispatchParameters; import Core; import :Autogen.Tables.DispatchParameters; diff --git a/sources/HAL/autogen/slots/DownsampleDepth.ixx b/sources/HAL/autogen/slots/DownsampleDepth.ixx index e708f9ec..06a46ba3 100644 --- a/sources/HAL/autogen/slots/DownsampleDepth.ixx +++ b/sources/HAL/autogen/slots/DownsampleDepth.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DownsampleDepth; import Core; import :Autogen.Tables.DownsampleDepth; diff --git a/sources/HAL/autogen/slots/DrawBoxes.ixx b/sources/HAL/autogen/slots/DrawBoxes.ixx index 87d2a1b4..043b345a 100644 --- a/sources/HAL/autogen/slots/DrawBoxes.ixx +++ b/sources/HAL/autogen/slots/DrawBoxes.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DrawBoxes; import Core; import :Autogen.Tables.DrawBoxes; diff --git a/sources/HAL/autogen/slots/DrawStencil.ixx b/sources/HAL/autogen/slots/DrawStencil.ixx index 5e011698..29fa143f 100644 --- a/sources/HAL/autogen/slots/DrawStencil.ixx +++ b/sources/HAL/autogen/slots/DrawStencil.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.DrawStencil; import Core; import :Autogen.Tables.DrawStencil; diff --git a/sources/HAL/autogen/slots/EnvFilter.ixx b/sources/HAL/autogen/slots/EnvFilter.ixx index d25425f7..b6a4d9e7 100644 --- a/sources/HAL/autogen/slots/EnvFilter.ixx +++ b/sources/HAL/autogen/slots/EnvFilter.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.EnvFilter; import Core; import :Autogen.Tables.EnvFilter; diff --git a/sources/HAL/autogen/slots/EnvSource.ixx b/sources/HAL/autogen/slots/EnvSource.ixx index e53bcf2d..ab5b7184 100644 --- a/sources/HAL/autogen/slots/EnvSource.ixx +++ b/sources/HAL/autogen/slots/EnvSource.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.EnvSource; import Core; import :Autogen.Tables.EnvSource; diff --git a/sources/HAL/autogen/slots/FSR.ixx b/sources/HAL/autogen/slots/FSR.ixx index f08c8b35..37236913 100644 --- a/sources/HAL/autogen/slots/FSR.ixx +++ b/sources/HAL/autogen/slots/FSR.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FSR; import Core; import :Autogen.Tables.FSR; diff --git a/sources/HAL/autogen/slots/FlowGraph.ixx b/sources/HAL/autogen/slots/FlowGraph.ixx index e1192c3a..8519db11 100644 --- a/sources/HAL/autogen/slots/FlowGraph.ixx +++ b/sources/HAL/autogen/slots/FlowGraph.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FlowGraph; import Core; import :Autogen.Tables.FlowGraph; diff --git a/sources/HAL/autogen/slots/FontRendering.ixx b/sources/HAL/autogen/slots/FontRendering.ixx index 1fa9c5aa..94da5e72 100644 --- a/sources/HAL/autogen/slots/FontRendering.ixx +++ b/sources/HAL/autogen/slots/FontRendering.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FontRendering; import Core; import :Autogen.Tables.FontRendering; diff --git a/sources/HAL/autogen/slots/FontRenderingConstants.ixx b/sources/HAL/autogen/slots/FontRenderingConstants.ixx index 59b9c67d..55b363f6 100644 --- a/sources/HAL/autogen/slots/FontRenderingConstants.ixx +++ b/sources/HAL/autogen/slots/FontRenderingConstants.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FontRenderingConstants; import Core; import :Autogen.Tables.FontRenderingConstants; diff --git a/sources/HAL/autogen/slots/FontRenderingGlyphs.ixx b/sources/HAL/autogen/slots/FontRenderingGlyphs.ixx index 5e44e235..bf43668d 100644 --- a/sources/HAL/autogen/slots/FontRenderingGlyphs.ixx +++ b/sources/HAL/autogen/slots/FontRenderingGlyphs.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FontRenderingGlyphs; import Core; import :Autogen.Tables.FontRenderingGlyphs; diff --git a/sources/HAL/autogen/slots/FrameClassification.ixx b/sources/HAL/autogen/slots/FrameClassification.ixx index 34f8fcaf..68628d3f 100644 --- a/sources/HAL/autogen/slots/FrameClassification.ixx +++ b/sources/HAL/autogen/slots/FrameClassification.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameClassification; import Core; import :Autogen.Tables.FrameClassification; diff --git a/sources/HAL/autogen/slots/FrameClassificationInitDispatch.ixx b/sources/HAL/autogen/slots/FrameClassificationInitDispatch.ixx index 382067be..eda0f066 100644 --- a/sources/HAL/autogen/slots/FrameClassificationInitDispatch.ixx +++ b/sources/HAL/autogen/slots/FrameClassificationInitDispatch.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameClassificationInitDispatch; import Core; import :Autogen.Tables.FrameClassificationInitDispatch; diff --git a/sources/HAL/autogen/slots/FrameGraph_Debug_Common.ixx b/sources/HAL/autogen/slots/FrameGraph_Debug_Common.ixx index 94014c1e..63697189 100644 --- a/sources/HAL/autogen/slots/FrameGraph_Debug_Common.ixx +++ b/sources/HAL/autogen/slots/FrameGraph_Debug_Common.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameGraph_Debug_Common; import Core; import :Autogen.Tables.FrameGraph_Debug_Common; diff --git a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2D.ixx b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2D.ixx index ae0597dd..0ecdf865 100644 --- a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2D.ixx +++ b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2D.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameGraph_Debug_Texture2D; import Core; import :Autogen.Tables.FrameGraph_Debug_Texture2D; diff --git a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2DArray.ixx b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2DArray.ixx index 492c5aa1..06c535c4 100644 --- a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2DArray.ixx +++ b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture2DArray.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameGraph_Debug_Texture2DArray; import Core; import :Autogen.Tables.FrameGraph_Debug_Texture2DArray; diff --git a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture3D.ixx b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture3D.ixx index 859983d2..1f3f4ca4 100644 --- a/sources/HAL/autogen/slots/FrameGraph_Debug_Texture3D.ixx +++ b/sources/HAL/autogen/slots/FrameGraph_Debug_Texture3D.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameGraph_Debug_Texture3D; import Core; import :Autogen.Tables.FrameGraph_Debug_Texture3D; diff --git a/sources/HAL/autogen/slots/FrameGraph_Debug_TextureCube.ixx b/sources/HAL/autogen/slots/FrameGraph_Debug_TextureCube.ixx index 6c5e5104..13d058c4 100644 --- a/sources/HAL/autogen/slots/FrameGraph_Debug_TextureCube.ixx +++ b/sources/HAL/autogen/slots/FrameGraph_Debug_TextureCube.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameGraph_Debug_TextureCube; import Core; import :Autogen.Tables.FrameGraph_Debug_TextureCube; diff --git a/sources/HAL/autogen/slots/FrameInfo.ixx b/sources/HAL/autogen/slots/FrameInfo.ixx index 1020932a..900c5c5b 100644 --- a/sources/HAL/autogen/slots/FrameInfo.ixx +++ b/sources/HAL/autogen/slots/FrameInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.FrameInfo; import Core; import :Autogen.Tables.FrameInfo; diff --git a/sources/HAL/autogen/slots/GBuffer.ixx b/sources/HAL/autogen/slots/GBuffer.ixx index 730cde6f..57f357e8 100644 --- a/sources/HAL/autogen/slots/GBuffer.ixx +++ b/sources/HAL/autogen/slots/GBuffer.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GBuffer; import Core; import :Autogen.Tables.GBuffer; diff --git a/sources/HAL/autogen/slots/GBufferDownsample.ixx b/sources/HAL/autogen/slots/GBufferDownsample.ixx index d4b923d7..5ec307f3 100644 --- a/sources/HAL/autogen/slots/GBufferDownsample.ixx +++ b/sources/HAL/autogen/slots/GBufferDownsample.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GBufferDownsample; import Core; import :Autogen.Tables.GBufferDownsample; diff --git a/sources/HAL/autogen/slots/GBufferQuality.ixx b/sources/HAL/autogen/slots/GBufferQuality.ixx index d3f3df4a..72098eff 100644 --- a/sources/HAL/autogen/slots/GBufferQuality.ixx +++ b/sources/HAL/autogen/slots/GBufferQuality.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GBufferQuality; import Core; import :Autogen.Tables.GBufferQuality; diff --git a/sources/HAL/autogen/slots/GatherBoxes.ixx b/sources/HAL/autogen/slots/GatherBoxes.ixx index 19fbeb9d..2260373b 100644 --- a/sources/HAL/autogen/slots/GatherBoxes.ixx +++ b/sources/HAL/autogen/slots/GatherBoxes.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GatherBoxes; import Core; import :Autogen.Tables.GatherBoxes; diff --git a/sources/HAL/autogen/slots/GatherMeshesBoxes.ixx b/sources/HAL/autogen/slots/GatherMeshesBoxes.ixx index 473c0af2..c18cf4db 100644 --- a/sources/HAL/autogen/slots/GatherMeshesBoxes.ixx +++ b/sources/HAL/autogen/slots/GatherMeshesBoxes.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GatherMeshesBoxes; import Core; import :Autogen.Tables.GatherMeshesBoxes; diff --git a/sources/HAL/autogen/slots/GatherPipeline.ixx b/sources/HAL/autogen/slots/GatherPipeline.ixx index 099edfa1..93a657c4 100644 --- a/sources/HAL/autogen/slots/GatherPipeline.ixx +++ b/sources/HAL/autogen/slots/GatherPipeline.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GatherPipeline; import Core; import :Autogen.Tables.GatherPipeline; diff --git a/sources/HAL/autogen/slots/GatherPipelineGlobal.ixx b/sources/HAL/autogen/slots/GatherPipelineGlobal.ixx index 26c82ce2..778efbe3 100644 --- a/sources/HAL/autogen/slots/GatherPipelineGlobal.ixx +++ b/sources/HAL/autogen/slots/GatherPipelineGlobal.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GatherPipelineGlobal; import Core; import :Autogen.Tables.GatherPipelineGlobal; diff --git a/sources/HAL/autogen/slots/GraphInput.ixx b/sources/HAL/autogen/slots/GraphInput.ixx index 56c03132..9cf126bc 100644 --- a/sources/HAL/autogen/slots/GraphInput.ixx +++ b/sources/HAL/autogen/slots/GraphInput.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.GraphInput; import Core; import :Autogen.Tables.GraphInput; diff --git a/sources/HAL/autogen/slots/InitDispatch.ixx b/sources/HAL/autogen/slots/InitDispatch.ixx index 8a9f4999..2f60f377 100644 --- a/sources/HAL/autogen/slots/InitDispatch.ixx +++ b/sources/HAL/autogen/slots/InitDispatch.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.InitDispatch; import Core; import :Autogen.Tables.InitDispatch; diff --git a/sources/HAL/autogen/slots/Instance.ixx b/sources/HAL/autogen/slots/Instance.ixx index fb1de13f..dcdb00a1 100644 --- a/sources/HAL/autogen/slots/Instance.ixx +++ b/sources/HAL/autogen/slots/Instance.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Instance; import Core; import :Autogen.Tables.Instance; diff --git a/sources/HAL/autogen/slots/LineRender.ixx b/sources/HAL/autogen/slots/LineRender.ixx index c778e61e..4d727067 100644 --- a/sources/HAL/autogen/slots/LineRender.ixx +++ b/sources/HAL/autogen/slots/LineRender.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.LineRender; import Core; import :Autogen.Tables.LineRender; diff --git a/sources/HAL/autogen/slots/MaterialInfo.ixx b/sources/HAL/autogen/slots/MaterialInfo.ixx index 9b92c4bc..46925668 100644 --- a/sources/HAL/autogen/slots/MaterialInfo.ixx +++ b/sources/HAL/autogen/slots/MaterialInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.MaterialInfo; import Core; import :Autogen.Tables.MaterialInfo; diff --git a/sources/HAL/autogen/slots/MeshInfo.ixx b/sources/HAL/autogen/slots/MeshInfo.ixx index aa52544d..4980afb5 100644 --- a/sources/HAL/autogen/slots/MeshInfo.ixx +++ b/sources/HAL/autogen/slots/MeshInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.MeshInfo; import Core; import :Autogen.Tables.MeshInfo; diff --git a/sources/HAL/autogen/slots/MeshInstanceInfo.ixx b/sources/HAL/autogen/slots/MeshInstanceInfo.ixx index a9ec6316..533039b3 100644 --- a/sources/HAL/autogen/slots/MeshInstanceInfo.ixx +++ b/sources/HAL/autogen/slots/MeshInstanceInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.MeshInstanceInfo; import Core; import :Autogen.Tables.MeshInstanceInfo; diff --git a/sources/HAL/autogen/slots/MipMapping.ixx b/sources/HAL/autogen/slots/MipMapping.ixx index 390a9157..1b17f221 100644 --- a/sources/HAL/autogen/slots/MipMapping.ixx +++ b/sources/HAL/autogen/slots/MipMapping.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.MipMapping; import Core; import :Autogen.Tables.MipMapping; diff --git a/sources/HAL/autogen/slots/NinePatch.ixx b/sources/HAL/autogen/slots/NinePatch.ixx index edc43139..494c4dfc 100644 --- a/sources/HAL/autogen/slots/NinePatch.ixx +++ b/sources/HAL/autogen/slots/NinePatch.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.NinePatch; import Core; import :Autogen.Tables.NinePatch; diff --git a/sources/HAL/autogen/slots/PSSMConstants.ixx b/sources/HAL/autogen/slots/PSSMConstants.ixx index ed7a4b89..9c5ade73 100644 --- a/sources/HAL/autogen/slots/PSSMConstants.ixx +++ b/sources/HAL/autogen/slots/PSSMConstants.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.PSSMConstants; import Core; import :Autogen.Tables.PSSMConstants; diff --git a/sources/HAL/autogen/slots/PSSMData.ixx b/sources/HAL/autogen/slots/PSSMData.ixx index 2e7bafc5..484093a9 100644 --- a/sources/HAL/autogen/slots/PSSMData.ixx +++ b/sources/HAL/autogen/slots/PSSMData.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.PSSMData; import Core; import :Autogen.Tables.PSSMData; diff --git a/sources/HAL/autogen/slots/PSSMDataGlobal.ixx b/sources/HAL/autogen/slots/PSSMDataGlobal.ixx index f0503b84..9fd0d005 100644 --- a/sources/HAL/autogen/slots/PSSMDataGlobal.ixx +++ b/sources/HAL/autogen/slots/PSSMDataGlobal.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.PSSMDataGlobal; import Core; import :Autogen.Tables.PSSMDataGlobal; diff --git a/sources/HAL/autogen/slots/PSSMLighting.ixx b/sources/HAL/autogen/slots/PSSMLighting.ixx index af95b8c1..f1c38173 100644 --- a/sources/HAL/autogen/slots/PSSMLighting.ixx +++ b/sources/HAL/autogen/slots/PSSMLighting.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.PSSMLighting; import Core; import :Autogen.Tables.PSSMLighting; diff --git a/sources/HAL/autogen/slots/PickerBuffer.ixx b/sources/HAL/autogen/slots/PickerBuffer.ixx index 013306c2..a9a587d3 100644 --- a/sources/HAL/autogen/slots/PickerBuffer.ixx +++ b/sources/HAL/autogen/slots/PickerBuffer.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.PickerBuffer; import Core; import :Autogen.Tables.PickerBuffer; diff --git a/sources/HAL/autogen/slots/Raytracing.ixx b/sources/HAL/autogen/slots/Raytracing.ixx index 91dea392..4f81e9fd 100644 --- a/sources/HAL/autogen/slots/Raytracing.ixx +++ b/sources/HAL/autogen/slots/Raytracing.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Raytracing; import Core; import :Autogen.Tables.Raytracing; diff --git a/sources/HAL/autogen/slots/RaytracingRays.ixx b/sources/HAL/autogen/slots/RaytracingRays.ixx index bdb78eb9..dd84a6d9 100644 --- a/sources/HAL/autogen/slots/RaytracingRays.ixx +++ b/sources/HAL/autogen/slots/RaytracingRays.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.RaytracingRays; import Core; import :Autogen.Tables.RaytracingRays; diff --git a/sources/HAL/autogen/slots/ReflectionCombine.ixx b/sources/HAL/autogen/slots/ReflectionCombine.ixx index 2343c62e..5d58c6dc 100644 --- a/sources/HAL/autogen/slots/ReflectionCombine.ixx +++ b/sources/HAL/autogen/slots/ReflectionCombine.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.ReflectionCombine; import Core; import :Autogen.Tables.ReflectionCombine; diff --git a/sources/HAL/autogen/slots/SMAA_Blend.ixx b/sources/HAL/autogen/slots/SMAA_Blend.ixx index afa393e2..9cfd2421 100644 --- a/sources/HAL/autogen/slots/SMAA_Blend.ixx +++ b/sources/HAL/autogen/slots/SMAA_Blend.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SMAA_Blend; import Core; import :Autogen.Tables.SMAA_Blend; diff --git a/sources/HAL/autogen/slots/SMAA_Global.ixx b/sources/HAL/autogen/slots/SMAA_Global.ixx index 441548cb..fcc84f5e 100644 --- a/sources/HAL/autogen/slots/SMAA_Global.ixx +++ b/sources/HAL/autogen/slots/SMAA_Global.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SMAA_Global; import Core; import :Autogen.Tables.SMAA_Global; diff --git a/sources/HAL/autogen/slots/SMAA_Weights.ixx b/sources/HAL/autogen/slots/SMAA_Weights.ixx index 960cd755..20b084f7 100644 --- a/sources/HAL/autogen/slots/SMAA_Weights.ixx +++ b/sources/HAL/autogen/slots/SMAA_Weights.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SMAA_Weights; import Core; import :Autogen.Tables.SMAA_Weights; diff --git a/sources/HAL/autogen/slots/SceneData.ixx b/sources/HAL/autogen/slots/SceneData.ixx index 12a8f1bc..1667308a 100644 --- a/sources/HAL/autogen/slots/SceneData.ixx +++ b/sources/HAL/autogen/slots/SceneData.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SceneData; import Core; import :Autogen.Tables.SceneData; diff --git a/sources/HAL/autogen/slots/SkyData.ixx b/sources/HAL/autogen/slots/SkyData.ixx index 877ed15a..9beb25a6 100644 --- a/sources/HAL/autogen/slots/SkyData.ixx +++ b/sources/HAL/autogen/slots/SkyData.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SkyData; import Core; import :Autogen.Tables.SkyData; diff --git a/sources/HAL/autogen/slots/SkyFace.ixx b/sources/HAL/autogen/slots/SkyFace.ixx index 1b9065bf..0a2fa3b1 100644 --- a/sources/HAL/autogen/slots/SkyFace.ixx +++ b/sources/HAL/autogen/slots/SkyFace.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.SkyFace; import Core; import :Autogen.Tables.SkyFace; diff --git a/sources/HAL/autogen/slots/Test.ixx b/sources/HAL/autogen/slots/Test.ixx index 1fbfc43a..2eaa0777 100644 --- a/sources/HAL/autogen/slots/Test.ixx +++ b/sources/HAL/autogen/slots/Test.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Test; import Core; import :Autogen.Tables.Test; diff --git a/sources/HAL/autogen/slots/TextureRenderer.ixx b/sources/HAL/autogen/slots/TextureRenderer.ixx index 432da10a..71cf22ba 100644 --- a/sources/HAL/autogen/slots/TextureRenderer.ixx +++ b/sources/HAL/autogen/slots/TextureRenderer.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.TextureRenderer; import Core; import :Autogen.Tables.TextureRenderer; diff --git a/sources/HAL/autogen/slots/TilingPostprocess.ixx b/sources/HAL/autogen/slots/TilingPostprocess.ixx index fa56d8e1..7356348b 100644 --- a/sources/HAL/autogen/slots/TilingPostprocess.ixx +++ b/sources/HAL/autogen/slots/TilingPostprocess.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.TilingPostprocess; import Core; import :Autogen.Tables.TilingPostprocess; diff --git a/sources/HAL/autogen/slots/VoxelBlur.ixx b/sources/HAL/autogen/slots/VoxelBlur.ixx index 626e733b..4acfe7d1 100644 --- a/sources/HAL/autogen/slots/VoxelBlur.ixx +++ b/sources/HAL/autogen/slots/VoxelBlur.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelBlur; import Core; import :Autogen.Tables.VoxelBlur; diff --git a/sources/HAL/autogen/slots/VoxelCopy.ixx b/sources/HAL/autogen/slots/VoxelCopy.ixx index 97901900..3a9cc51b 100644 --- a/sources/HAL/autogen/slots/VoxelCopy.ixx +++ b/sources/HAL/autogen/slots/VoxelCopy.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelCopy; import Core; import :Autogen.Tables.VoxelCopy; diff --git a/sources/HAL/autogen/slots/VoxelDebug.ixx b/sources/HAL/autogen/slots/VoxelDebug.ixx index 7f4168cf..b1c83651 100644 --- a/sources/HAL/autogen/slots/VoxelDebug.ixx +++ b/sources/HAL/autogen/slots/VoxelDebug.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelDebug; import Core; import :Autogen.Tables.VoxelDebug; diff --git a/sources/HAL/autogen/slots/VoxelInfo.ixx b/sources/HAL/autogen/slots/VoxelInfo.ixx index ee97f8eb..5981fa23 100644 --- a/sources/HAL/autogen/slots/VoxelInfo.ixx +++ b/sources/HAL/autogen/slots/VoxelInfo.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelInfo; import Core; import :Autogen.Tables.VoxelInfo; diff --git a/sources/HAL/autogen/slots/VoxelLighting.ixx b/sources/HAL/autogen/slots/VoxelLighting.ixx index 246ad3e4..171f3d27 100644 --- a/sources/HAL/autogen/slots/VoxelLighting.ixx +++ b/sources/HAL/autogen/slots/VoxelLighting.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelLighting; import Core; import :Autogen.Tables.VoxelLighting; diff --git a/sources/HAL/autogen/slots/VoxelMipMap.ixx b/sources/HAL/autogen/slots/VoxelMipMap.ixx index 299f98da..2993606d 100644 --- a/sources/HAL/autogen/slots/VoxelMipMap.ixx +++ b/sources/HAL/autogen/slots/VoxelMipMap.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelMipMap; import Core; import :Autogen.Tables.VoxelMipMap; diff --git a/sources/HAL/autogen/slots/VoxelOutput.ixx b/sources/HAL/autogen/slots/VoxelOutput.ixx index 889a4ed5..909287e0 100644 --- a/sources/HAL/autogen/slots/VoxelOutput.ixx +++ b/sources/HAL/autogen/slots/VoxelOutput.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelOutput; import Core; import :Autogen.Tables.VoxelOutput; diff --git a/sources/HAL/autogen/slots/VoxelScreen.ixx b/sources/HAL/autogen/slots/VoxelScreen.ixx index ba7dedd3..f7b8511d 100644 --- a/sources/HAL/autogen/slots/VoxelScreen.ixx +++ b/sources/HAL/autogen/slots/VoxelScreen.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelScreen; import Core; import :Autogen.Tables.VoxelScreen; diff --git a/sources/HAL/autogen/slots/VoxelUpscale.ixx b/sources/HAL/autogen/slots/VoxelUpscale.ixx index febebdd4..344c673e 100644 --- a/sources/HAL/autogen/slots/VoxelUpscale.ixx +++ b/sources/HAL/autogen/slots/VoxelUpscale.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelUpscale; import Core; import :Autogen.Tables.VoxelUpscale; diff --git a/sources/HAL/autogen/slots/VoxelVisibility.ixx b/sources/HAL/autogen/slots/VoxelVisibility.ixx index 3ce19578..eb1ea213 100644 --- a/sources/HAL/autogen/slots/VoxelVisibility.ixx +++ b/sources/HAL/autogen/slots/VoxelVisibility.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelVisibility; import Core; import :Autogen.Tables.VoxelVisibility; diff --git a/sources/HAL/autogen/slots/VoxelZero.ixx b/sources/HAL/autogen/slots/VoxelZero.ixx index fafabf46..62323e8c 100644 --- a/sources/HAL/autogen/slots/VoxelZero.ixx +++ b/sources/HAL/autogen/slots/VoxelZero.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.VoxelZero; import Core; import :Autogen.Tables.VoxelZero; diff --git a/sources/HAL/autogen/slots/Voxelization.ixx b/sources/HAL/autogen/slots/Voxelization.ixx index 4e7d9c72..90aa80eb 100644 --- a/sources/HAL/autogen/slots/Voxelization.ixx +++ b/sources/HAL/autogen/slots/Voxelization.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.Voxelization; import Core; import :Autogen.Tables.Voxelization; diff --git a/sources/HAL/autogen/slots/WorkGraphTest.ixx b/sources/HAL/autogen/slots/WorkGraphTest.ixx index 05562c79..406217d9 100644 --- a/sources/HAL/autogen/slots/WorkGraphTest.ixx +++ b/sources/HAL/autogen/slots/WorkGraphTest.ixx @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Slots.WorkGraphTest; import Core; import :Autogen.Tables.WorkGraphTest; diff --git a/sources/HAL/autogen/tables/AABB.table.ixx b/sources/HAL/autogen/tables/AABB.table.ixx index 3ab4a3fc..5a55d17d 100644 --- a/sources/HAL/autogen/tables/AABB.table.ixx +++ b/sources/HAL/autogen/tables/AABB.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.AABB; import Core; diff --git a/sources/HAL/autogen/tables/BRDF.table.ixx b/sources/HAL/autogen/tables/BRDF.table.ixx index a2281f40..45f0c137 100644 --- a/sources/HAL/autogen/tables/BRDF.table.ixx +++ b/sources/HAL/autogen/tables/BRDF.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.BRDF; import Core; diff --git a/sources/HAL/autogen/tables/BlueNoise.table.ixx b/sources/HAL/autogen/tables/BlueNoise.table.ixx index 16e2aa61..c7ae9b07 100644 --- a/sources/HAL/autogen/tables/BlueNoise.table.ixx +++ b/sources/HAL/autogen/tables/BlueNoise.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.BlueNoise; import Core; diff --git a/sources/HAL/autogen/tables/BoxInfo.table.ixx b/sources/HAL/autogen/tables/BoxInfo.table.ixx index dafc5931..1fd6163e 100644 --- a/sources/HAL/autogen/tables/BoxInfo.table.ixx +++ b/sources/HAL/autogen/tables/BoxInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.BoxInfo; import Core; diff --git a/sources/HAL/autogen/tables/Camera.table.ixx b/sources/HAL/autogen/tables/Camera.table.ixx index 180e22dc..4957e2e4 100644 --- a/sources/HAL/autogen/tables/Camera.table.ixx +++ b/sources/HAL/autogen/tables/Camera.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Camera; import Core; diff --git a/sources/HAL/autogen/tables/Color.table.ixx b/sources/HAL/autogen/tables/Color.table.ixx index 68908112..42b037c1 100644 --- a/sources/HAL/autogen/tables/Color.table.ixx +++ b/sources/HAL/autogen/tables/Color.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Color; import Core; diff --git a/sources/HAL/autogen/tables/ColorRect.table.ixx b/sources/HAL/autogen/tables/ColorRect.table.ixx index be67a8a2..c99966aa 100644 --- a/sources/HAL/autogen/tables/ColorRect.table.ixx +++ b/sources/HAL/autogen/tables/ColorRect.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.ColorRect; import Core; diff --git a/sources/HAL/autogen/tables/CommandData.table.ixx b/sources/HAL/autogen/tables/CommandData.table.ixx index a78ad0fd..93000089 100644 --- a/sources/HAL/autogen/tables/CommandData.table.ixx +++ b/sources/HAL/autogen/tables/CommandData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.CommandData; import Core; diff --git a/sources/HAL/autogen/tables/CopyTexture.table.ixx b/sources/HAL/autogen/tables/CopyTexture.table.ixx index d1582173..7441c34e 100644 --- a/sources/HAL/autogen/tables/CopyTexture.table.ixx +++ b/sources/HAL/autogen/tables/CopyTexture.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.CopyTexture; import Core; diff --git a/sources/HAL/autogen/tables/Countour.table.ixx b/sources/HAL/autogen/tables/Countour.table.ixx index 7fa7c48c..f573edc0 100644 --- a/sources/HAL/autogen/tables/Countour.table.ixx +++ b/sources/HAL/autogen/tables/Countour.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Countour; import Core; diff --git a/sources/HAL/autogen/tables/DebugInfo.table.ixx b/sources/HAL/autogen/tables/DebugInfo.table.ixx index b5d90c6f..914173bc 100644 --- a/sources/HAL/autogen/tables/DebugInfo.table.ixx +++ b/sources/HAL/autogen/tables/DebugInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DebugInfo; import Core; diff --git a/sources/HAL/autogen/tables/DebugStruct.table.ixx b/sources/HAL/autogen/tables/DebugStruct.table.ixx index 51dee700..175a3a61 100644 --- a/sources/HAL/autogen/tables/DebugStruct.table.ixx +++ b/sources/HAL/autogen/tables/DebugStruct.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DebugStruct; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserDownsample.table.ixx b/sources/HAL/autogen/tables/DenoiserDownsample.table.ixx index b870104d..02930fda 100644 --- a/sources/HAL/autogen/tables/DenoiserDownsample.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserDownsample.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserDownsample; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserHistoryFix.table.ixx b/sources/HAL/autogen/tables/DenoiserHistoryFix.table.ixx index 0623881a..f9e62fbe 100644 --- a/sources/HAL/autogen/tables/DenoiserHistoryFix.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserHistoryFix.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserHistoryFix; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserReflectionCommon.table.ixx b/sources/HAL/autogen/tables/DenoiserReflectionCommon.table.ixx index 1d5b1b9a..3255e0ba 100644 --- a/sources/HAL/autogen/tables/DenoiserReflectionCommon.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserReflectionCommon.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserReflectionCommon; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserReflectionPrefilter.table.ixx b/sources/HAL/autogen/tables/DenoiserReflectionPrefilter.table.ixx index 914e6ede..eec0c513 100644 --- a/sources/HAL/autogen/tables/DenoiserReflectionPrefilter.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserReflectionPrefilter.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserReflectionPrefilter; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserReflectionReproject.table.ixx b/sources/HAL/autogen/tables/DenoiserReflectionReproject.table.ixx index 38dc4518..dab55545 100644 --- a/sources/HAL/autogen/tables/DenoiserReflectionReproject.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserReflectionReproject.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserReflectionReproject; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserReflectionResolve.table.ixx b/sources/HAL/autogen/tables/DenoiserReflectionResolve.table.ixx index 642d8157..c9010c6e 100644 --- a/sources/HAL/autogen/tables/DenoiserReflectionResolve.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserReflectionResolve.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserReflectionResolve; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserShadow_Filter.table.ixx b/sources/HAL/autogen/tables/DenoiserShadow_Filter.table.ixx index 8adde204..c5a4d801 100644 --- a/sources/HAL/autogen/tables/DenoiserShadow_Filter.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserShadow_Filter.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserShadow_Filter; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserShadow_FilterLast.table.ixx b/sources/HAL/autogen/tables/DenoiserShadow_FilterLast.table.ixx index 674d3aaf..a3cf0ec7 100644 --- a/sources/HAL/autogen/tables/DenoiserShadow_FilterLast.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserShadow_FilterLast.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserShadow_FilterLast; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserShadow_FilterLocal.table.ixx b/sources/HAL/autogen/tables/DenoiserShadow_FilterLocal.table.ixx index 7d98f845..dadebb42 100644 --- a/sources/HAL/autogen/tables/DenoiserShadow_FilterLocal.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserShadow_FilterLocal.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserShadow_FilterLocal; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserShadow_Prepare.table.ixx b/sources/HAL/autogen/tables/DenoiserShadow_Prepare.table.ixx index 40db150e..0eb37839 100644 --- a/sources/HAL/autogen/tables/DenoiserShadow_Prepare.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserShadow_Prepare.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserShadow_Prepare; import Core; diff --git a/sources/HAL/autogen/tables/DenoiserShadow_TileClassification.table.ixx b/sources/HAL/autogen/tables/DenoiserShadow_TileClassification.table.ixx index fca3abc2..4a0c33bc 100644 --- a/sources/HAL/autogen/tables/DenoiserShadow_TileClassification.table.ixx +++ b/sources/HAL/autogen/tables/DenoiserShadow_TileClassification.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DenoiserShadow_TileClassification; import Core; diff --git a/sources/HAL/autogen/tables/DepthOnly.table.ixx b/sources/HAL/autogen/tables/DepthOnly.table.ixx index 922fc5b6..96148068 100644 --- a/sources/HAL/autogen/tables/DepthOnly.table.ixx +++ b/sources/HAL/autogen/tables/DepthOnly.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DepthOnly; import Core; diff --git a/sources/HAL/autogen/tables/DispatchParameters.table.ixx b/sources/HAL/autogen/tables/DispatchParameters.table.ixx index fc4e029d..33fdfea5 100644 --- a/sources/HAL/autogen/tables/DispatchParameters.table.ixx +++ b/sources/HAL/autogen/tables/DispatchParameters.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DispatchParameters; import Core; diff --git a/sources/HAL/autogen/tables/DownsampleDepth.table.ixx b/sources/HAL/autogen/tables/DownsampleDepth.table.ixx index 5edf7b6e..c62a24bd 100644 --- a/sources/HAL/autogen/tables/DownsampleDepth.table.ixx +++ b/sources/HAL/autogen/tables/DownsampleDepth.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DownsampleDepth; import Core; diff --git a/sources/HAL/autogen/tables/DrawBoxes.table.ixx b/sources/HAL/autogen/tables/DrawBoxes.table.ixx index f9492add..504ebf03 100644 --- a/sources/HAL/autogen/tables/DrawBoxes.table.ixx +++ b/sources/HAL/autogen/tables/DrawBoxes.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DrawBoxes; import Core; diff --git a/sources/HAL/autogen/tables/DrawStencil.table.ixx b/sources/HAL/autogen/tables/DrawStencil.table.ixx index a74990c4..e2140c62 100644 --- a/sources/HAL/autogen/tables/DrawStencil.table.ixx +++ b/sources/HAL/autogen/tables/DrawStencil.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.DrawStencil; import Core; diff --git a/sources/HAL/autogen/tables/EnvFilter.table.ixx b/sources/HAL/autogen/tables/EnvFilter.table.ixx index a2e33b06..5c18e591 100644 --- a/sources/HAL/autogen/tables/EnvFilter.table.ixx +++ b/sources/HAL/autogen/tables/EnvFilter.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.EnvFilter; import Core; diff --git a/sources/HAL/autogen/tables/EnvSource.table.ixx b/sources/HAL/autogen/tables/EnvSource.table.ixx index d9706fec..92924b5e 100644 --- a/sources/HAL/autogen/tables/EnvSource.table.ixx +++ b/sources/HAL/autogen/tables/EnvSource.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.EnvSource; import Core; diff --git a/sources/HAL/autogen/tables/FSR.table.ixx b/sources/HAL/autogen/tables/FSR.table.ixx index 9e1ac7d5..fe3a8b7a 100644 --- a/sources/HAL/autogen/tables/FSR.table.ixx +++ b/sources/HAL/autogen/tables/FSR.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FSR; import Core; diff --git a/sources/HAL/autogen/tables/FSRConstants.table.ixx b/sources/HAL/autogen/tables/FSRConstants.table.ixx index b0ce4e2d..c0fae675 100644 --- a/sources/HAL/autogen/tables/FSRConstants.table.ixx +++ b/sources/HAL/autogen/tables/FSRConstants.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FSRConstants; import Core; diff --git a/sources/HAL/autogen/tables/FlowGraph.table.ixx b/sources/HAL/autogen/tables/FlowGraph.table.ixx index 39025428..ce2a086b 100644 --- a/sources/HAL/autogen/tables/FlowGraph.table.ixx +++ b/sources/HAL/autogen/tables/FlowGraph.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FlowGraph; import Core; diff --git a/sources/HAL/autogen/tables/FontRendering.table.ixx b/sources/HAL/autogen/tables/FontRendering.table.ixx index d56db726..dad5ab64 100644 --- a/sources/HAL/autogen/tables/FontRendering.table.ixx +++ b/sources/HAL/autogen/tables/FontRendering.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FontRendering; import Core; diff --git a/sources/HAL/autogen/tables/FontRenderingConstants.table.ixx b/sources/HAL/autogen/tables/FontRenderingConstants.table.ixx index 3404f17b..71aa2db4 100644 --- a/sources/HAL/autogen/tables/FontRenderingConstants.table.ixx +++ b/sources/HAL/autogen/tables/FontRenderingConstants.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FontRenderingConstants; import Core; diff --git a/sources/HAL/autogen/tables/FontRenderingGlyphs.table.ixx b/sources/HAL/autogen/tables/FontRenderingGlyphs.table.ixx index d9f90520..1c46b43c 100644 --- a/sources/HAL/autogen/tables/FontRenderingGlyphs.table.ixx +++ b/sources/HAL/autogen/tables/FontRenderingGlyphs.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FontRenderingGlyphs; import Core; diff --git a/sources/HAL/autogen/tables/FrameClassification.table.ixx b/sources/HAL/autogen/tables/FrameClassification.table.ixx index aae53b82..49580a82 100644 --- a/sources/HAL/autogen/tables/FrameClassification.table.ixx +++ b/sources/HAL/autogen/tables/FrameClassification.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameClassification; import Core; diff --git a/sources/HAL/autogen/tables/FrameClassificationInitDispatch.table.ixx b/sources/HAL/autogen/tables/FrameClassificationInitDispatch.table.ixx index bc5eeae3..1e094d23 100644 --- a/sources/HAL/autogen/tables/FrameClassificationInitDispatch.table.ixx +++ b/sources/HAL/autogen/tables/FrameClassificationInitDispatch.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameClassificationInitDispatch; import Core; diff --git a/sources/HAL/autogen/tables/FrameGraph_Debug_Common.table.ixx b/sources/HAL/autogen/tables/FrameGraph_Debug_Common.table.ixx index 4ca18d50..ed2d86b6 100644 --- a/sources/HAL/autogen/tables/FrameGraph_Debug_Common.table.ixx +++ b/sources/HAL/autogen/tables/FrameGraph_Debug_Common.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameGraph_Debug_Common; import Core; diff --git a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2D.table.ixx b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2D.table.ixx index b0cfdd1d..bf6169f2 100644 --- a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2D.table.ixx +++ b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2D.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameGraph_Debug_Texture2D; import Core; diff --git a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2DArray.table.ixx b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2DArray.table.ixx index 6870ac78..42128b1a 100644 --- a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2DArray.table.ixx +++ b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture2DArray.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameGraph_Debug_Texture2DArray; import Core; diff --git a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture3D.table.ixx b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture3D.table.ixx index 1e3fbaa5..517d5115 100644 --- a/sources/HAL/autogen/tables/FrameGraph_Debug_Texture3D.table.ixx +++ b/sources/HAL/autogen/tables/FrameGraph_Debug_Texture3D.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameGraph_Debug_Texture3D; import Core; diff --git a/sources/HAL/autogen/tables/FrameGraph_Debug_TextureCube.table.ixx b/sources/HAL/autogen/tables/FrameGraph_Debug_TextureCube.table.ixx index c2fba5cd..4c952d24 100644 --- a/sources/HAL/autogen/tables/FrameGraph_Debug_TextureCube.table.ixx +++ b/sources/HAL/autogen/tables/FrameGraph_Debug_TextureCube.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameGraph_Debug_TextureCube; import Core; diff --git a/sources/HAL/autogen/tables/FrameInfo.table.ixx b/sources/HAL/autogen/tables/FrameInfo.table.ixx index 5779008e..470557e8 100644 --- a/sources/HAL/autogen/tables/FrameInfo.table.ixx +++ b/sources/HAL/autogen/tables/FrameInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.FrameInfo; import Core; diff --git a/sources/HAL/autogen/tables/Frustum.table.ixx b/sources/HAL/autogen/tables/Frustum.table.ixx index 2c8e1b57..f4ffe654 100644 --- a/sources/HAL/autogen/tables/Frustum.table.ixx +++ b/sources/HAL/autogen/tables/Frustum.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Frustum; import Core; diff --git a/sources/HAL/autogen/tables/GBuffer.table.ixx b/sources/HAL/autogen/tables/GBuffer.table.ixx index e567ea60..63f52159 100644 --- a/sources/HAL/autogen/tables/GBuffer.table.ixx +++ b/sources/HAL/autogen/tables/GBuffer.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GBuffer; import Core; diff --git a/sources/HAL/autogen/tables/GBufferDownsample.table.ixx b/sources/HAL/autogen/tables/GBufferDownsample.table.ixx index e77d4b85..92b334e3 100644 --- a/sources/HAL/autogen/tables/GBufferDownsample.table.ixx +++ b/sources/HAL/autogen/tables/GBufferDownsample.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GBufferDownsample; import Core; diff --git a/sources/HAL/autogen/tables/GBufferDownsampleRT.table.ixx b/sources/HAL/autogen/tables/GBufferDownsampleRT.table.ixx index 035456b7..4ba29009 100644 --- a/sources/HAL/autogen/tables/GBufferDownsampleRT.table.ixx +++ b/sources/HAL/autogen/tables/GBufferDownsampleRT.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GBufferDownsampleRT; import Core; diff --git a/sources/HAL/autogen/tables/GBufferQuality.table.ixx b/sources/HAL/autogen/tables/GBufferQuality.table.ixx index 18bf3cf0..6d034898 100644 --- a/sources/HAL/autogen/tables/GBufferQuality.table.ixx +++ b/sources/HAL/autogen/tables/GBufferQuality.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GBufferQuality; import Core; diff --git a/sources/HAL/autogen/tables/GatherBoxes.table.ixx b/sources/HAL/autogen/tables/GatherBoxes.table.ixx index 84489569..2ad74eb7 100644 --- a/sources/HAL/autogen/tables/GatherBoxes.table.ixx +++ b/sources/HAL/autogen/tables/GatherBoxes.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GatherBoxes; import Core; diff --git a/sources/HAL/autogen/tables/GatherMeshesBoxes.table.ixx b/sources/HAL/autogen/tables/GatherMeshesBoxes.table.ixx index 5eb8cb90..bcdf6437 100644 --- a/sources/HAL/autogen/tables/GatherMeshesBoxes.table.ixx +++ b/sources/HAL/autogen/tables/GatherMeshesBoxes.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GatherMeshesBoxes; import Core; diff --git a/sources/HAL/autogen/tables/GatherPipeline.table.ixx b/sources/HAL/autogen/tables/GatherPipeline.table.ixx index 93e58c25..05704a0e 100644 --- a/sources/HAL/autogen/tables/GatherPipeline.table.ixx +++ b/sources/HAL/autogen/tables/GatherPipeline.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GatherPipeline; import Core; diff --git a/sources/HAL/autogen/tables/GatherPipelineGlobal.table.ixx b/sources/HAL/autogen/tables/GatherPipelineGlobal.table.ixx index 27f6ef86..f7552905 100644 --- a/sources/HAL/autogen/tables/GatherPipelineGlobal.table.ixx +++ b/sources/HAL/autogen/tables/GatherPipelineGlobal.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GatherPipelineGlobal; import Core; diff --git a/sources/HAL/autogen/tables/Glyph.table.ixx b/sources/HAL/autogen/tables/Glyph.table.ixx index 06563142..2d23b3bb 100644 --- a/sources/HAL/autogen/tables/Glyph.table.ixx +++ b/sources/HAL/autogen/tables/Glyph.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Glyph; import Core; diff --git a/sources/HAL/autogen/tables/GraphInput.table.ixx b/sources/HAL/autogen/tables/GraphInput.table.ixx index 2ee70157..aad65f6b 100644 --- a/sources/HAL/autogen/tables/GraphInput.table.ixx +++ b/sources/HAL/autogen/tables/GraphInput.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.GraphInput; import Core; diff --git a/sources/HAL/autogen/tables/InitDispatch.table.ixx b/sources/HAL/autogen/tables/InitDispatch.table.ixx index 85c4f3f8..f46fc3a7 100644 --- a/sources/HAL/autogen/tables/InitDispatch.table.ixx +++ b/sources/HAL/autogen/tables/InitDispatch.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.InitDispatch; import Core; diff --git a/sources/HAL/autogen/tables/Instance.table.ixx b/sources/HAL/autogen/tables/Instance.table.ixx index b3f3ea15..8a1239c5 100644 --- a/sources/HAL/autogen/tables/Instance.table.ixx +++ b/sources/HAL/autogen/tables/Instance.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Instance; import Core; diff --git a/sources/HAL/autogen/tables/LineRender.table.ixx b/sources/HAL/autogen/tables/LineRender.table.ixx index 4973aafd..803ccb45 100644 --- a/sources/HAL/autogen/tables/LineRender.table.ixx +++ b/sources/HAL/autogen/tables/LineRender.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.LineRender; import Core; diff --git a/sources/HAL/autogen/tables/MaterialCommandData.table.ixx b/sources/HAL/autogen/tables/MaterialCommandData.table.ixx index c2453d1e..3d30a7d6 100644 --- a/sources/HAL/autogen/tables/MaterialCommandData.table.ixx +++ b/sources/HAL/autogen/tables/MaterialCommandData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MaterialCommandData; import Core; diff --git a/sources/HAL/autogen/tables/MaterialInfo.table.ixx b/sources/HAL/autogen/tables/MaterialInfo.table.ixx index 9b174388..484a46b4 100644 --- a/sources/HAL/autogen/tables/MaterialInfo.table.ixx +++ b/sources/HAL/autogen/tables/MaterialInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MaterialInfo; import Core; diff --git a/sources/HAL/autogen/tables/MeshCommandData.table.ixx b/sources/HAL/autogen/tables/MeshCommandData.table.ixx index fa7a349c..daf62240 100644 --- a/sources/HAL/autogen/tables/MeshCommandData.table.ixx +++ b/sources/HAL/autogen/tables/MeshCommandData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MeshCommandData; import Core; diff --git a/sources/HAL/autogen/tables/MeshInfo.table.ixx b/sources/HAL/autogen/tables/MeshInfo.table.ixx index 93b5c783..6cf20768 100644 --- a/sources/HAL/autogen/tables/MeshInfo.table.ixx +++ b/sources/HAL/autogen/tables/MeshInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MeshInfo; import Core; diff --git a/sources/HAL/autogen/tables/MeshInstance.table.ixx b/sources/HAL/autogen/tables/MeshInstance.table.ixx index 16973a48..262f56b8 100644 --- a/sources/HAL/autogen/tables/MeshInstance.table.ixx +++ b/sources/HAL/autogen/tables/MeshInstance.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MeshInstance; import Core; diff --git a/sources/HAL/autogen/tables/MeshInstanceInfo.table.ixx b/sources/HAL/autogen/tables/MeshInstanceInfo.table.ixx index be3e038a..80197fb4 100644 --- a/sources/HAL/autogen/tables/MeshInstanceInfo.table.ixx +++ b/sources/HAL/autogen/tables/MeshInstanceInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MeshInstanceInfo; import Core; diff --git a/sources/HAL/autogen/tables/Meshlet.table.ixx b/sources/HAL/autogen/tables/Meshlet.table.ixx index 41d5a3f2..ddc6612d 100644 --- a/sources/HAL/autogen/tables/Meshlet.table.ixx +++ b/sources/HAL/autogen/tables/Meshlet.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Meshlet; import Core; diff --git a/sources/HAL/autogen/tables/MeshletCullData.table.ixx b/sources/HAL/autogen/tables/MeshletCullData.table.ixx index 4b136221..9130f2d5 100644 --- a/sources/HAL/autogen/tables/MeshletCullData.table.ixx +++ b/sources/HAL/autogen/tables/MeshletCullData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MeshletCullData; import Core; diff --git a/sources/HAL/autogen/tables/MipMapping.table.ixx b/sources/HAL/autogen/tables/MipMapping.table.ixx index 11e19e05..c2ef5b30 100644 --- a/sources/HAL/autogen/tables/MipMapping.table.ixx +++ b/sources/HAL/autogen/tables/MipMapping.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.MipMapping; import Core; diff --git a/sources/HAL/autogen/tables/NinePatch.table.ixx b/sources/HAL/autogen/tables/NinePatch.table.ixx index d13b7e1c..34969a61 100644 --- a/sources/HAL/autogen/tables/NinePatch.table.ixx +++ b/sources/HAL/autogen/tables/NinePatch.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.NinePatch; import Core; diff --git a/sources/HAL/autogen/tables/NoOutput.table.ixx b/sources/HAL/autogen/tables/NoOutput.table.ixx index 8f4b6e83..ad24159b 100644 --- a/sources/HAL/autogen/tables/NoOutput.table.ixx +++ b/sources/HAL/autogen/tables/NoOutput.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.NoOutput; import Core; diff --git a/sources/HAL/autogen/tables/PSSMConstants.table.ixx b/sources/HAL/autogen/tables/PSSMConstants.table.ixx index e32ba7d7..7532000c 100644 --- a/sources/HAL/autogen/tables/PSSMConstants.table.ixx +++ b/sources/HAL/autogen/tables/PSSMConstants.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.PSSMConstants; import Core; diff --git a/sources/HAL/autogen/tables/PSSMData.table.ixx b/sources/HAL/autogen/tables/PSSMData.table.ixx index abb857c2..d86287e5 100644 --- a/sources/HAL/autogen/tables/PSSMData.table.ixx +++ b/sources/HAL/autogen/tables/PSSMData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.PSSMData; import Core; diff --git a/sources/HAL/autogen/tables/PSSMDataGlobal.table.ixx b/sources/HAL/autogen/tables/PSSMDataGlobal.table.ixx index 95411d2d..9dd10243 100644 --- a/sources/HAL/autogen/tables/PSSMDataGlobal.table.ixx +++ b/sources/HAL/autogen/tables/PSSMDataGlobal.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.PSSMDataGlobal; import Core; diff --git a/sources/HAL/autogen/tables/PSSMLighting.table.ixx b/sources/HAL/autogen/tables/PSSMLighting.table.ixx index 74d85009..f226252d 100644 --- a/sources/HAL/autogen/tables/PSSMLighting.table.ixx +++ b/sources/HAL/autogen/tables/PSSMLighting.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.PSSMLighting; import Core; diff --git a/sources/HAL/autogen/tables/PickerBuffer.table.ixx b/sources/HAL/autogen/tables/PickerBuffer.table.ixx index 04c5c325..fdddc046 100644 --- a/sources/HAL/autogen/tables/PickerBuffer.table.ixx +++ b/sources/HAL/autogen/tables/PickerBuffer.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.PickerBuffer; import Core; diff --git a/sources/HAL/autogen/tables/RayCone.table.ixx b/sources/HAL/autogen/tables/RayCone.table.ixx index 841635ce..fb66c520 100644 --- a/sources/HAL/autogen/tables/RayCone.table.ixx +++ b/sources/HAL/autogen/tables/RayCone.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.RayCone; import Core; diff --git a/sources/HAL/autogen/tables/RayPayload.table.ixx b/sources/HAL/autogen/tables/RayPayload.table.ixx index e8824616..aa9cc58f 100644 --- a/sources/HAL/autogen/tables/RayPayload.table.ixx +++ b/sources/HAL/autogen/tables/RayPayload.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.RayPayload; import Core; diff --git a/sources/HAL/autogen/tables/RaytraceInstanceInfo.table.ixx b/sources/HAL/autogen/tables/RaytraceInstanceInfo.table.ixx index c3591c18..4d37ae22 100644 --- a/sources/HAL/autogen/tables/RaytraceInstanceInfo.table.ixx +++ b/sources/HAL/autogen/tables/RaytraceInstanceInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.RaytraceInstanceInfo; import Core; diff --git a/sources/HAL/autogen/tables/Raytracing.table.ixx b/sources/HAL/autogen/tables/Raytracing.table.ixx index 1eeebb73..e7beada6 100644 --- a/sources/HAL/autogen/tables/Raytracing.table.ixx +++ b/sources/HAL/autogen/tables/Raytracing.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Raytracing; import Core; diff --git a/sources/HAL/autogen/tables/RaytracingRays.table.ixx b/sources/HAL/autogen/tables/RaytracingRays.table.ixx index ac154d86..f03a8fa7 100644 --- a/sources/HAL/autogen/tables/RaytracingRays.table.ixx +++ b/sources/HAL/autogen/tables/RaytracingRays.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.RaytracingRays; import Core; diff --git a/sources/HAL/autogen/tables/ReflectionCombine.table.ixx b/sources/HAL/autogen/tables/ReflectionCombine.table.ixx index 959d859d..fcfb6fd6 100644 --- a/sources/HAL/autogen/tables/ReflectionCombine.table.ixx +++ b/sources/HAL/autogen/tables/ReflectionCombine.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.ReflectionCombine; import Core; diff --git a/sources/HAL/autogen/tables/SMAA_Blend.table.ixx b/sources/HAL/autogen/tables/SMAA_Blend.table.ixx index 66d50d40..a072699f 100644 --- a/sources/HAL/autogen/tables/SMAA_Blend.table.ixx +++ b/sources/HAL/autogen/tables/SMAA_Blend.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SMAA_Blend; import Core; diff --git a/sources/HAL/autogen/tables/SMAA_Global.table.ixx b/sources/HAL/autogen/tables/SMAA_Global.table.ixx index 46f8d65a..b108a039 100644 --- a/sources/HAL/autogen/tables/SMAA_Global.table.ixx +++ b/sources/HAL/autogen/tables/SMAA_Global.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SMAA_Global; import Core; diff --git a/sources/HAL/autogen/tables/SMAA_Weights.table.ixx b/sources/HAL/autogen/tables/SMAA_Weights.table.ixx index bc6da12e..3bb3370a 100644 --- a/sources/HAL/autogen/tables/SMAA_Weights.table.ixx +++ b/sources/HAL/autogen/tables/SMAA_Weights.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SMAA_Weights; import Core; diff --git a/sources/HAL/autogen/tables/SceneData.table.ixx b/sources/HAL/autogen/tables/SceneData.table.ixx index d4c61418..8a6fe19d 100644 --- a/sources/HAL/autogen/tables/SceneData.table.ixx +++ b/sources/HAL/autogen/tables/SceneData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SceneData; import Core; diff --git a/sources/HAL/autogen/tables/ShadowPayload.table.ixx b/sources/HAL/autogen/tables/ShadowPayload.table.ixx index 15d37a8e..c27cef7a 100644 --- a/sources/HAL/autogen/tables/ShadowPayload.table.ixx +++ b/sources/HAL/autogen/tables/ShadowPayload.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.ShadowPayload; import Core; diff --git a/sources/HAL/autogen/tables/SingleColor.table.ixx b/sources/HAL/autogen/tables/SingleColor.table.ixx index b412ef50..b4f4a12e 100644 --- a/sources/HAL/autogen/tables/SingleColor.table.ixx +++ b/sources/HAL/autogen/tables/SingleColor.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SingleColor; import Core; diff --git a/sources/HAL/autogen/tables/SingleColorDepth.table.ixx b/sources/HAL/autogen/tables/SingleColorDepth.table.ixx index 020b950a..908546f9 100644 --- a/sources/HAL/autogen/tables/SingleColorDepth.table.ixx +++ b/sources/HAL/autogen/tables/SingleColorDepth.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SingleColorDepth; import Core; diff --git a/sources/HAL/autogen/tables/SkyData.table.ixx b/sources/HAL/autogen/tables/SkyData.table.ixx index 41a04b5c..6cd2d2c8 100644 --- a/sources/HAL/autogen/tables/SkyData.table.ixx +++ b/sources/HAL/autogen/tables/SkyData.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SkyData; import Core; diff --git a/sources/HAL/autogen/tables/SkyFace.table.ixx b/sources/HAL/autogen/tables/SkyFace.table.ixx index ef47ffde..20ec9ae2 100644 --- a/sources/HAL/autogen/tables/SkyFace.table.ixx +++ b/sources/HAL/autogen/tables/SkyFace.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.SkyFace; import Core; diff --git a/sources/HAL/autogen/tables/Test.table.ixx b/sources/HAL/autogen/tables/Test.table.ixx index 9ea35b2c..d1ef7a9b 100644 --- a/sources/HAL/autogen/tables/Test.table.ixx +++ b/sources/HAL/autogen/tables/Test.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Test; import Core; diff --git a/sources/HAL/autogen/tables/TextureRenderer.table.ixx b/sources/HAL/autogen/tables/TextureRenderer.table.ixx index 7bdd22e7..6ba47eda 100644 --- a/sources/HAL/autogen/tables/TextureRenderer.table.ixx +++ b/sources/HAL/autogen/tables/TextureRenderer.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.TextureRenderer; import Core; diff --git a/sources/HAL/autogen/tables/TilingParams.table.ixx b/sources/HAL/autogen/tables/TilingParams.table.ixx index b8691c2f..bf30fa07 100644 --- a/sources/HAL/autogen/tables/TilingParams.table.ixx +++ b/sources/HAL/autogen/tables/TilingParams.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.TilingParams; import Core; diff --git a/sources/HAL/autogen/tables/TilingPostprocess.table.ixx b/sources/HAL/autogen/tables/TilingPostprocess.table.ixx index 3260f21c..8c61bec7 100644 --- a/sources/HAL/autogen/tables/TilingPostprocess.table.ixx +++ b/sources/HAL/autogen/tables/TilingPostprocess.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.TilingPostprocess; import Core; diff --git a/sources/HAL/autogen/tables/Triangle.table.ixx b/sources/HAL/autogen/tables/Triangle.table.ixx index 7690ad2e..a82535ba 100644 --- a/sources/HAL/autogen/tables/Triangle.table.ixx +++ b/sources/HAL/autogen/tables/Triangle.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Triangle; import Core; diff --git a/sources/HAL/autogen/tables/VSLine.table.ixx b/sources/HAL/autogen/tables/VSLine.table.ixx index f9dca496..95117cb7 100644 --- a/sources/HAL/autogen/tables/VSLine.table.ixx +++ b/sources/HAL/autogen/tables/VSLine.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VSLine; import Core; diff --git a/sources/HAL/autogen/tables/VoxelBlur.table.ixx b/sources/HAL/autogen/tables/VoxelBlur.table.ixx index 22e9c3cb..ea48aa82 100644 --- a/sources/HAL/autogen/tables/VoxelBlur.table.ixx +++ b/sources/HAL/autogen/tables/VoxelBlur.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelBlur; import Core; diff --git a/sources/HAL/autogen/tables/VoxelCopy.table.ixx b/sources/HAL/autogen/tables/VoxelCopy.table.ixx index 722eaf0a..06084d01 100644 --- a/sources/HAL/autogen/tables/VoxelCopy.table.ixx +++ b/sources/HAL/autogen/tables/VoxelCopy.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelCopy; import Core; diff --git a/sources/HAL/autogen/tables/VoxelDebug.table.ixx b/sources/HAL/autogen/tables/VoxelDebug.table.ixx index 940cba05..8dce77c6 100644 --- a/sources/HAL/autogen/tables/VoxelDebug.table.ixx +++ b/sources/HAL/autogen/tables/VoxelDebug.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelDebug; import Core; diff --git a/sources/HAL/autogen/tables/VoxelInfo.table.ixx b/sources/HAL/autogen/tables/VoxelInfo.table.ixx index c67bbde8..255d55b1 100644 --- a/sources/HAL/autogen/tables/VoxelInfo.table.ixx +++ b/sources/HAL/autogen/tables/VoxelInfo.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelInfo; import Core; diff --git a/sources/HAL/autogen/tables/VoxelLighting.table.ixx b/sources/HAL/autogen/tables/VoxelLighting.table.ixx index 3d7850ce..143f212a 100644 --- a/sources/HAL/autogen/tables/VoxelLighting.table.ixx +++ b/sources/HAL/autogen/tables/VoxelLighting.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelLighting; import Core; diff --git a/sources/HAL/autogen/tables/VoxelMipMap.table.ixx b/sources/HAL/autogen/tables/VoxelMipMap.table.ixx index f1fc9657..5f201d4b 100644 --- a/sources/HAL/autogen/tables/VoxelMipMap.table.ixx +++ b/sources/HAL/autogen/tables/VoxelMipMap.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelMipMap; import Core; diff --git a/sources/HAL/autogen/tables/VoxelOutput.table.ixx b/sources/HAL/autogen/tables/VoxelOutput.table.ixx index 8b04b591..15976552 100644 --- a/sources/HAL/autogen/tables/VoxelOutput.table.ixx +++ b/sources/HAL/autogen/tables/VoxelOutput.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelOutput; import Core; diff --git a/sources/HAL/autogen/tables/VoxelScreen.table.ixx b/sources/HAL/autogen/tables/VoxelScreen.table.ixx index 2e30726d..2f1ffddf 100644 --- a/sources/HAL/autogen/tables/VoxelScreen.table.ixx +++ b/sources/HAL/autogen/tables/VoxelScreen.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelScreen; import Core; diff --git a/sources/HAL/autogen/tables/VoxelTilingParams.table.ixx b/sources/HAL/autogen/tables/VoxelTilingParams.table.ixx index d2472f2a..0daa7968 100644 --- a/sources/HAL/autogen/tables/VoxelTilingParams.table.ixx +++ b/sources/HAL/autogen/tables/VoxelTilingParams.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelTilingParams; import Core; diff --git a/sources/HAL/autogen/tables/VoxelUpscale.table.ixx b/sources/HAL/autogen/tables/VoxelUpscale.table.ixx index cad52eff..2d57633a 100644 --- a/sources/HAL/autogen/tables/VoxelUpscale.table.ixx +++ b/sources/HAL/autogen/tables/VoxelUpscale.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelUpscale; import Core; diff --git a/sources/HAL/autogen/tables/VoxelVisibility.table.ixx b/sources/HAL/autogen/tables/VoxelVisibility.table.ixx index 05c0bdc1..de5cdb42 100644 --- a/sources/HAL/autogen/tables/VoxelVisibility.table.ixx +++ b/sources/HAL/autogen/tables/VoxelVisibility.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelVisibility; import Core; diff --git a/sources/HAL/autogen/tables/VoxelZero.table.ixx b/sources/HAL/autogen/tables/VoxelZero.table.ixx index c336784d..a1ab086e 100644 --- a/sources/HAL/autogen/tables/VoxelZero.table.ixx +++ b/sources/HAL/autogen/tables/VoxelZero.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.VoxelZero; import Core; diff --git a/sources/HAL/autogen/tables/Voxelization.table.ixx b/sources/HAL/autogen/tables/Voxelization.table.ixx index bf6c168f..52b30df9 100644 --- a/sources/HAL/autogen/tables/Voxelization.table.ixx +++ b/sources/HAL/autogen/tables/Voxelization.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.Voxelization; import Core; diff --git a/sources/HAL/autogen/tables/WorkGraphTest.table.ixx b/sources/HAL/autogen/tables/WorkGraphTest.table.ixx index b333f78e..9a635d0d 100644 --- a/sources/HAL/autogen/tables/WorkGraphTest.table.ixx +++ b/sources/HAL/autogen/tables/WorkGraphTest.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.WorkGraphTest; import Core; diff --git a/sources/HAL/autogen/tables/mesh_vertex_input.table.ixx b/sources/HAL/autogen/tables/mesh_vertex_input.table.ixx index 6959007f..b151da05 100644 --- a/sources/HAL/autogen/tables/mesh_vertex_input.table.ixx +++ b/sources/HAL/autogen/tables/mesh_vertex_input.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.mesh_vertex_input; import Core; diff --git a/sources/HAL/autogen/tables/node_data.table.ixx b/sources/HAL/autogen/tables/node_data.table.ixx index 93cfe83d..e9784f8e 100644 --- a/sources/HAL/autogen/tables/node_data.table.ixx +++ b/sources/HAL/autogen/tables/node_data.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.node_data; import Core; diff --git a/sources/HAL/autogen/tables/vertex_input.table.ixx b/sources/HAL/autogen/tables/vertex_input.table.ixx index c673b966..95d091bf 100644 --- a/sources/HAL/autogen/tables/vertex_input.table.ixx +++ b/sources/HAL/autogen/tables/vertex_input.table.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module HAL:Autogen.Tables.vertex_input; import Core; diff --git a/sources/Modules/d3d12/d3d12.ixx b/sources/Modules/d3d12/d3d12.ixx index 2720989d..fbbf302b 100644 --- a/sources/Modules/d3d12/d3d12.ixx +++ b/sources/Modules/d3d12/d3d12.ixx @@ -8,7 +8,7 @@ module; #include #include #include - + #include export module d3d12; export @@ -253,20 +253,27 @@ export namespace DirectXTex using TexMetadata = ::DirectX::TexMetadata; using ScratchImage = ::DirectX::ScratchImage; using Image = ::DirectX::Image; + using Blob = ::DirectX::Blob; using WIC_FLAGS = ::DirectX::WIC_FLAGS; using DDS_FLAGS = ::DirectX::DDS_FLAGS; using TEX_COMPRESS_FLAGS = ::DirectX::TEX_COMPRESS_FLAGS; using TEX_FILTER_FLAGS = ::DirectX::TEX_FILTER_FLAGS; using TEX_DIMENSION = ::DirectX::TEX_DIMENSION; + // Unscoped enum values promoted into this namespace for convenience + inline constexpr WIC_FLAGS WIC_FLAGS_NONE = ::DirectX::WIC_FLAGS_NONE; + // ------------------------------------------------------------------------- - // Free functions (implementations in directxtex.cpp) + // Free functions — thin inline wrappers forwarding to DirectX:: // ------------------------------------------------------------------------- - HRESULT GetMetadataFromTGAFile(const wchar_t* szFile, DirectX::TexMetadata& metadata) noexcept { return DirectX::GetMetadataFromTGAFile(szFile, metadata); } - HRESULT GetMetadataFromWICFile(const wchar_t* szFile, DirectX::WIC_FLAGS flags, DirectX::TexMetadata& metadata) noexcept { return DirectX::GetMetadataFromWICFile(szFile, flags, metadata); } - HRESULT LoadFromTGAMemory(const void* pSource, size_t size, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromTGAMemory(pSource, size, metadata, image); } - HRESULT LoadFromDDSMemory(const void* pSource, size_t size, DirectX::DDS_FLAGS flags, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromDDSMemory(pSource, size, flags, metadata, image); } - HRESULT LoadFromWICMemory(const void* pSource, size_t size, DirectX::WIC_FLAGS flags, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromWICMemory(pSource, size, flags, metadata, image); } - HRESULT GenerateMipMaps(const DirectX::Image* srcImages, size_t nimages, const DirectX::TexMetadata& metadata, DirectX::TEX_FILTER_FLAGS filter, size_t levels, DirectX::ScratchImage& mipChain) noexcept { return DirectX::GenerateMipMaps(srcImages, nimages, metadata, filter, levels, mipChain); } -// HRESULT Compress(const DirectX::Image* srcImages, size_t nimages, const DirectX::TexMetadata& metadata, DXGI_FORMAT format, DirectX::TEX_COMPRESS_FLAGS compress, float threshold, DirectX::ScratchImage& cImage) noexcept { return DirectX::Compress(srcImages, nimages, metadata, format, compress, threshold, cImage); } + inline HRESULT GetMetadataFromTGAFile(const wchar_t* szFile, DirectX::TexMetadata& metadata) noexcept { return DirectX::GetMetadataFromTGAFile(szFile, metadata); } + inline HRESULT GetMetadataFromWICFile(const wchar_t* szFile, DirectX::WIC_FLAGS flags, DirectX::TexMetadata& metadata) noexcept { return DirectX::GetMetadataFromWICFile(szFile, flags, metadata); } + inline HRESULT LoadFromTGAMemory(const void* pSource, size_t size, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromTGAMemory(pSource, size, metadata, image); } + inline HRESULT LoadFromDDSMemory(const void* pSource, size_t size, DirectX::DDS_FLAGS flags, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromDDSMemory(pSource, size, flags, metadata, image); } + inline HRESULT LoadFromWICMemory(const void* pSource, size_t size, DirectX::WIC_FLAGS flags, DirectX::TexMetadata* metadata, DirectX::ScratchImage& image) noexcept { return DirectX::LoadFromWICMemory(pSource, size, flags, metadata, image); } + inline HRESULT GenerateMipMaps(const DirectX::Image* srcImages, size_t nimages, const DirectX::TexMetadata& metadata, DirectX::TEX_FILTER_FLAGS filter, size_t levels, DirectX::ScratchImage& mipChain) noexcept { return DirectX::GenerateMipMaps(srcImages, nimages, metadata, filter, levels, mipChain); } + inline HRESULT SaveToWICMemory(const DirectX::Image& image, DirectX::WIC_FLAGS flags, REFGUID guidContainerFormat, DirectX::Blob& blob) noexcept { return DirectX::SaveToWICMemory(image, flags, guidContainerFormat, blob); } } + + +export DEFINE_GUID(GUID_ContainerFormatPng, 0x1b7cfaf4, 0x713f, 0x473c, 0xbb, 0xcd, 0x61, 0x37, 0x42, 0x5f, 0xae, 0xaf); \ No newline at end of file diff --git a/sources/RenderSystem/FrameGraph/autogen/enums.h b/sources/RenderSystem/FrameGraph/autogen/enums.h index fbfcef88..7862aea4 100644 --- a/sources/RenderSystem/FrameGraph/autogen/enums.h +++ b/sources/RenderSystem/FrameGraph/autogen/enums.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module FrameGraphAutogen:Passes.; import FrameGraph; diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/AssetGBuffer.h b/sources/RenderSystem/FrameGraph/autogen/pass/AssetGBuffer.h index 978f236b..46cffdbd 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/AssetGBuffer.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/AssetGBuffer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/AssetMip.h b/sources/RenderSystem/FrameGraph/autogen/pass/AssetMip.h index 4c117c6e..5621e959 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/AssetMip.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/AssetMip.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/AssetPipeline.pipeline.h b/sources/RenderSystem/FrameGraph/autogen/pass/AssetPipeline.pipeline.h index 09aff4cc..5cdfcd81 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/AssetPipeline.pipeline.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/AssetPipeline.pipeline.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #include "ResultCreation.h" #include "PreScene.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/BlueNoise.h b/sources/RenderSystem/FrameGraph/autogen/pass/BlueNoise.h index 317f870a..ec6fc45c 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/BlueNoise.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/BlueNoise.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/CopyPrev.h b/sources/RenderSystem/FrameGraph/autogen/pass/CopyPrev.h index ff143ddf..5fe79dac 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/CopyPrev.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/CopyPrev.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapDownsample.h b/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapDownsample.h index 56e7912f..90801ed8 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapDownsample.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapDownsample.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapEnviromentProcessor.h b/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapEnviromentProcessor.h index e391d2ab..52265649 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapEnviromentProcessor.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/CubeMapEnviromentProcessor.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/CubeSky.h b/sources/RenderSystem/FrameGraph/autogen/pass/CubeSky.h index ee9b658b..657a72d0 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/CubeSky.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/CubeSky.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/FSR.h b/sources/RenderSystem/FrameGraph/autogen/pass/FSR.h index e8e877bd..9d8bb6d4 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/FSR.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/FSR.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/GBuffer.h b/sources/RenderSystem/FrameGraph/autogen/pass/GBuffer.h index 6d61cf7b..682ca5de 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/GBuffer.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/GBuffer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/GBufferDownsampler.h b/sources/RenderSystem/FrameGraph/autogen/pass/GBufferDownsampler.h index 962d2aca..577729fd 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/GBufferDownsampler.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/GBufferDownsampler.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Lighting.h b/sources/RenderSystem/FrameGraph/autogen/pass/Lighting.h index 435be24e..1d778fda 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Lighting.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Lighting.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/MainPipeline.pipeline.h b/sources/RenderSystem/FrameGraph/autogen/pass/MainPipeline.pipeline.h index a58f4faf..c7eb76e9 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/MainPipeline.pipeline.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/MainPipeline.pipeline.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #include "PreScene.h" #include "BlueNoise.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Mipmapping.h b/sources/RenderSystem/FrameGraph/autogen/pass/Mipmapping.h index 152633ab..6cf2e645 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Mipmapping.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Mipmapping.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Cascade.h b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Cascade.h index 08adaf7f..9e0c2ac3 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Cascade.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Cascade.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Combine.h b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Combine.h index b40f6bed..5977150c 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Combine.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Combine.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_GenerateMask.h b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_GenerateMask.h index 96aee86b..ecb21976 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_GenerateMask.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_GenerateMask.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Global.h b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Global.h index 7480e584..dcfbce4c 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Global.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/PSSM_Global.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/PreScene.h b/sources/RenderSystem/FrameGraph/autogen/pass/PreScene.h index 240300a1..39e81550 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/PreScene.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/PreScene.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Profiler.h b/sources/RenderSystem/FrameGraph/autogen/pass/Profiler.h index 14045230..c6f48bea 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Profiler.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Profiler.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/RTXPass.h b/sources/RenderSystem/FrameGraph/autogen/pass/RTXPass.h index 16de7558..465db3b0 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/RTXPass.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/RTXPass.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ReflCombine.h b/sources/RenderSystem/FrameGraph/autogen/pass/ReflCombine.h index 7a27bb9e..e3b98f26 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ReflCombine.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ReflCombine.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ReflectionDenoiser_Reproject.h b/sources/RenderSystem/FrameGraph/autogen/pass/ReflectionDenoiser_Reproject.h index 85071e8b..6b44a6f4 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ReflectionDenoiser_Reproject.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ReflectionDenoiser_Reproject.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ResultCreation.h b/sources/RenderSystem/FrameGraph/autogen/pass/ResultCreation.h index 0b86c400..b95d8b53 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ResultCreation.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ResultCreation.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/SMAA.h b/sources/RenderSystem/FrameGraph/autogen/pass/SMAA.h index eb0271d9..f9f42b85 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/SMAA.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/SMAA.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Scene.h b/sources/RenderSystem/FrameGraph/autogen/pass/Scene.h index 8f9b7a5d..1f56b62c 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Scene.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Scene.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ScreenReflection.h b/sources/RenderSystem/FrameGraph/autogen/pass/ScreenReflection.h index 084f97c1..658f2a51 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ScreenReflection.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ScreenReflection.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Filter.h b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Filter.h index 0e672fc3..2d2f7ec6 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Filter.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Filter.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Prepare.h b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Prepare.h index 49b2dd64..f5f2e755 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Prepare.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_Prepare.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_TileClassification.h b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_TileClassification.h index 69ea3f4c..77450598 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_TileClassification.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/ShadowDenoiser_TileClassification.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Sky.h b/sources/RenderSystem/FrameGraph/autogen/pass/Sky.h index 53956d9e..bd4b7392 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Sky.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Sky.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/UIPipeline.pipeline.h b/sources/RenderSystem/FrameGraph/autogen/pass/UIPipeline.pipeline.h index 489642ec..c9e72ccb 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/UIPipeline.pipeline.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/UIPipeline.pipeline.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #include "Profiler.h" #include "UI_Render.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/UI_Render.h b/sources/RenderSystem/FrameGraph/autogen/pass/UI_Render.h index 664e837e..121ee788 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/UI_Render.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/UI_Render.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelCombine.h b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelCombine.h index 966a112e..d010599b 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelCombine.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelCombine.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelDebug.h b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelDebug.h index af8a69a0..440e49d3 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelDebug.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelDebug.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelScreen.h b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelScreen.h index c0aa8de2..cb9d72af 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/VoxelScreen.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/VoxelScreen.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" #include "GBuffer.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/Voxelize.h b/sources/RenderSystem/FrameGraph/autogen/pass/Voxelize.h index 4a17a47c..cc1e33e8 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/Voxelize.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/Voxelize.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_after.h b/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_after.h index 2073f3d5..f2febfcf 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_after.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_after.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_before.h b/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_before.h index b9f33d32..8fd4c01b 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_before.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass/stencil_renderer_before.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "../PassNodeBase.h" diff --git a/sources/RenderSystem/FrameGraph/autogen/pass_defaults.h b/sources/RenderSystem/FrameGraph/autogen/pass_defaults.h index 6e36dc89..04261c23 100644 --- a/sources/RenderSystem/FrameGraph/autogen/pass_defaults.h +++ b/sources/RenderSystem/FrameGraph/autogen/pass_defaults.h @@ -1,13 +1,16 @@ -#pragma once - -// AUTO-GENERATED — do not edit by hand. -// Regenerate by running SIGParser. -// Source: passes marked [Static] in *.sig files. +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ // // PassDefault provides the setup/render implementations for passes whose // logic is fully self-contained (no external wiring needed). Bodies are // defined out-of-line in main.cpp. +#pragma once + extern "C++" { diff --git a/sources/RenderSystem/FrameGraph/autogen/passes.ixx b/sources/RenderSystem/FrameGraph/autogen/passes.ixx index f49a3a57..7d990b85 100644 --- a/sources/RenderSystem/FrameGraph/autogen/passes.ixx +++ b/sources/RenderSystem/FrameGraph/autogen/passes.ixx @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + export module FrameGraph:Passes; import :Base; diff --git a/sources/SIGParser/templates/cpp/autogen.jinja b/sources/SIGParser/templates/cpp/autogen.jinja index 881b8562..1fb315d7 100644 --- a/sources/SIGParser/templates/cpp/autogen.jinja +++ b/sources/SIGParser/templates/cpp/autogen.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen; diff --git a/sources/SIGParser/templates/cpp/autogen_impl.jinja b/sources/SIGParser/templates/cpp/autogen_impl.jinja index 6606e5e7..cf102184 100644 --- a/sources/SIGParser/templates/cpp/autogen_impl.jinja +++ b/sources/SIGParser/templates/cpp/autogen_impl.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ module HAL; import HAL; diff --git a/sources/SIGParser/templates/cpp/enums.jinja b/sources/SIGParser/templates/cpp/enums.jinja index 9c9fa79f..ce8a2c13 100644 --- a/sources/SIGParser/templates/cpp/enums.jinja +++ b/sources/SIGParser/templates/cpp/enums.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Enums; import Core; diff --git a/sources/SIGParser/templates/cpp/layout.jinja b/sources/SIGParser/templates/cpp/layout.jinja index 9cbcd5ab..31e282fb 100644 --- a/sources/SIGParser/templates/cpp/layout.jinja +++ b/sources/SIGParser/templates/cpp/layout.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Layouts.{{layout.name}}; {% set slots = recursive_slots(layout.name) -%} {%- set samplers = recursive_samplers(layout.name) -%} diff --git a/sources/SIGParser/templates/cpp/pass.jinja b/sources/SIGParser/templates/cpp/pass.jinja index fae81844..7098d22e 100644 --- a/sources/SIGParser/templates/cpp/pass.jinja +++ b/sources/SIGParser/templates/cpp/pass.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once #include "../PassNodeBase.h" {% for v in pass.params -%} diff --git a/sources/SIGParser/templates/cpp/pass_defaults.jinja b/sources/SIGParser/templates/cpp/pass_defaults.jinja index 21cbdf32..0543f94c 100644 --- a/sources/SIGParser/templates/cpp/pass_defaults.jinja +++ b/sources/SIGParser/templates/cpp/pass_defaults.jinja @@ -1,12 +1,13 @@ -#pragma once - -// AUTO-GENERATED — do not edit by hand. -// Regenerate by running SIGParser. -// Source: passes marked [Static] in *.sig files. -// +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ // PassDefault provides the setup/render implementations for passes whose // logic is fully self-contained (no external wiring needed). Bodies are // defined out-of-line in main.cpp. +#pragma once extern "C++" { diff --git a/sources/SIGParser/templates/cpp/pass_enums.jinja b/sources/SIGParser/templates/cpp/pass_enums.jinja index a649d4b6..4b6c06fd 100644 --- a/sources/SIGParser/templates/cpp/pass_enums.jinja +++ b/sources/SIGParser/templates/cpp/pass_enums.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module FrameGraphAutogen:Passes.{{pass.name}}; import FrameGraph; diff --git a/sources/SIGParser/templates/cpp/pass_view.jinja b/sources/SIGParser/templates/cpp/pass_view.jinja index 12c0ff45..cbb0f79f 100644 --- a/sources/SIGParser/templates/cpp/pass_view.jinja +++ b/sources/SIGParser/templates/cpp/pass_view.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once {% for v in pass.params -%} diff --git a/sources/SIGParser/templates/cpp/passes.jinja b/sources/SIGParser/templates/cpp/passes.jinja index 09ffe7d5..8abc8d27 100644 --- a/sources/SIGParser/templates/cpp/passes.jinja +++ b/sources/SIGParser/templates/cpp/passes.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module FrameGraph:Passes; import :Base; diff --git a/sources/SIGParser/templates/cpp/pipeline.jinja b/sources/SIGParser/templates/cpp/pipeline.jinja index 5c4889dd..9b162506 100644 --- a/sources/SIGParser/templates/cpp/pipeline.jinja +++ b/sources/SIGParser/templates/cpp/pipeline.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ {% for entry in pipeline.entries %} #include "{{entry.name}}.h" {%- endfor %} diff --git a/sources/SIGParser/templates/cpp/pso.jinja b/sources/SIGParser/templates/cpp/pso.jinja index 662ec98f..69c45a81 100644 --- a/sources/SIGParser/templates/cpp/pso.jinja +++ b/sources/SIGParser/templates/cpp/pso.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.PSO.{{pso.name}}; import Core; diff --git a/sources/SIGParser/templates/cpp/psos.jinja b/sources/SIGParser/templates/cpp/psos.jinja index 49c98394..70f1b423 100644 --- a/sources/SIGParser/templates/cpp/psos.jinja +++ b/sources/SIGParser/templates/cpp/psos.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ module HAL; import Core; import HAL; diff --git a/sources/SIGParser/templates/cpp/raygen_pass.jinja b/sources/SIGParser/templates/cpp/raygen_pass.jinja index 446414fb..9baec9ec 100644 --- a/sources/SIGParser/templates/cpp/raygen_pass.jinja +++ b/sources/SIGParser/templates/cpp/raygen_pass.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once struct {{pso.name}}: public RaytraceRaygen<{{pso.name}}> diff --git a/sources/SIGParser/templates/cpp/raytrace_pass.jinja b/sources/SIGParser/templates/cpp/raytrace_pass.jinja index 490070c9..27c98632 100644 --- a/sources/SIGParser/templates/cpp/raytrace_pass.jinja +++ b/sources/SIGParser/templates/cpp/raytrace_pass.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once struct {{pso.name}}: public RaytracePass<{{pso.name}}> diff --git a/sources/SIGParser/templates/cpp/rt.jinja b/sources/SIGParser/templates/cpp/rt.jinja index a9feafb2..b043dfaf 100644 --- a/sources/SIGParser/templates/cpp/rt.jinja +++ b/sources/SIGParser/templates/cpp/rt.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.RT.{{rt.name}}; import Core; diff --git a/sources/SIGParser/templates/cpp/rtx_pso.jinja b/sources/SIGParser/templates/cpp/rtx_pso.jinja index 78cffa42..d02b1407 100644 --- a/sources/SIGParser/templates/cpp/rtx_pso.jinja +++ b/sources/SIGParser/templates/cpp/rtx_pso.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.RTX.{{pso.name}}; import Core; diff --git a/sources/SIGParser/templates/cpp/slot.jinja b/sources/SIGParser/templates/cpp/slot.jinja index 15b85183..f261c9df 100644 --- a/sources/SIGParser/templates/cpp/slot.jinja +++ b/sources/SIGParser/templates/cpp/slot.jinja @@ -1,4 +1,10 @@ -{%-set slot = table.slot-%} +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ +{%set slot = table.slot-%} export module HAL:Autogen.Slots.{{table.name}}; import Core; import :Autogen.Tables.{{table.name}}; diff --git a/sources/SIGParser/templates/cpp/table.jinja b/sources/SIGParser/templates/cpp/table.jinja index d8823de6..e47f6e09 100644 --- a/sources/SIGParser/templates/cpp/table.jinja +++ b/sources/SIGParser/templates/cpp/table.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ export module HAL:Autogen.Tables.{{table.name}}; import Core; diff --git a/sources/SIGParser/templates/hlsl/layout.jinja b/sources/SIGParser/templates/hlsl/layout.jinja index 2d51e1ae..4d3f4fcd 100644 --- a/sources/SIGParser/templates/hlsl/layout.jinja +++ b/sources/SIGParser/templates/hlsl/layout.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once {%- if layout.parent is defined%} diff --git a/sources/SIGParser/templates/hlsl/nobind_table.jinja b/sources/SIGParser/templates/hlsl/nobind_table.jinja index b9ca0cd3..478ee0da 100644 --- a/sources/SIGParser/templates/hlsl/nobind_table.jinja +++ b/sources/SIGParser/templates/hlsl/nobind_table.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once {% for t in table.used_tables -%} diff --git a/sources/SIGParser/templates/hlsl/pass.jinja b/sources/SIGParser/templates/hlsl/pass.jinja index d8d9d457..5b7837f5 100644 --- a/sources/SIGParser/templates/hlsl/pass.jinja +++ b/sources/SIGParser/templates/hlsl/pass.jinja @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + void {{pso.name}}(RaytracingAccelerationStructure scene, RayDesc ray, RAY_FLAG flag, inout {{ pso.params['payload'].expr }} payload) { TraceRay(scene, flag, ~0, {{pso.index}}, 0, {{pso.index}}, ray, payload); diff --git a/sources/SIGParser/templates/hlsl/pso.jinja b/sources/SIGParser/templates/hlsl/pso.jinja index 1cecbc6d..92dc386d 100644 --- a/sources/SIGParser/templates/hlsl/pso.jinja +++ b/sources/SIGParser/templates/hlsl/pso.jinja @@ -1,4 +1,9 @@ -ololo +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ diff --git a/sources/SIGParser/templates/hlsl/rt.jinja b/sources/SIGParser/templates/hlsl/rt.jinja index 883e9f4b..50cf731d 100644 --- a/sources/SIGParser/templates/hlsl/rt.jinja +++ b/sources/SIGParser/templates/hlsl/rt.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once struct {{rt.name}} diff --git a/sources/SIGParser/templates/hlsl/slot.jinja b/sources/SIGParser/templates/hlsl/slot.jinja index 31d118ce..a55920e9 100644 --- a/sources/SIGParser/templates/hlsl/slot.jinja +++ b/sources/SIGParser/templates/hlsl/slot.jinja @@ -1,4 +1,10 @@ -{%- set slot = table.slot -%} +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ +{% set slot = table.slot -%} #ifndef SLOT_{{slot.id}} #define SLOT_{{slot.id}} #else diff --git a/sources/SIGParser/templates/hlsl/table.jinja b/sources/SIGParser/templates/hlsl/table.jinja index 44227fc6..4fc05a44 100644 --- a/sources/SIGParser/templates/hlsl/table.jinja +++ b/sources/SIGParser/templates/hlsl/table.jinja @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #pragma once #include "sig_hlsl.hlsl" {%- for v in table.used_tables -%} diff --git a/sources/Spectrum/main.cpp b/sources/Spectrum/main.cpp index b2c17755..363aa1f8 100644 --- a/sources/Spectrum/main.cpp +++ b/sources/Spectrum/main.cpp @@ -87,14 +87,6 @@ void PassDefault::render( Passes::Profiler::Context&, FrameGraph::FrameContext&) {} -extern "C" { - _declspec(dllexport) extern const unsigned int D3D12SDKVersion = 618; -} - -extern "C" { - _declspec(dllexport) extern const char* D3D12SDKPath = ".\\D3D12\\"; -} - class tick_timer { std::chrono::time_point last_tick; @@ -1171,8 +1163,6 @@ void SetupDebug() struct test { - //D3D12_DRED_BREADCRUMB_CONTEXT c; - D3D12_AUTO_BREADCRUMB_OP op = D3D12_AUTO_BREADCRUMB_OP_BUILDRAYTRACINGACCELERATIONSTRUCTURE; std::string str = "wtf"; vec4 data = { 1, 2, 3, 4 }; @@ -1191,7 +1181,7 @@ struct test SERIALIZE() { - ar& NVP(op)& NVP(str)& NVP(data)& NVP(vec); + ar& NVP(str)& NVP(data)& NVP(vec); } } v; diff --git a/sources/Test/Defines.h b/sources/Test/Defines.h new file mode 100644 index 00000000..6c0bb3f8 --- /dev/null +++ b/sources/Test/Defines.h @@ -0,0 +1,56 @@ +#pragma once +// ============================================================================= +// Test/Defines.h — TEST LAYER +// Test framework and infrastructure for testing APIs. +// Chains upward to Spectrum/Defines.h. +// ============================================================================= +#include "RenderSystem/Defines.h" + +#define CONCAT(a, b) a##b +#define CONCAT_IMPL(a, b) CONCAT(a, b) + +#define TEST(category, name) \ + void CONCAT_IMPL(test_, __LINE__)(); \ + Test::TestRegistrator CONCAT_IMPL(registrator_, __LINE__)(#category, #name, CONCAT_IMPL(test_, __LINE__), __FILE__, __LINE__); \ + void CONCAT_IMPL(test_, __LINE__)() + +#define ASSERT_TRUE(condition) \ + Test::AssertTrue(condition, #condition, __FILE__, __LINE__) + +#define ASSERT_FALSE(condition) \ + Test::AssertFalse(condition, #condition, __FILE__, __LINE__) + +#define ASSERT_EQ(expected, actual) \ + Test::AssertEqual(expected, actual, __FILE__, __LINE__) + +#define ASSERT_NE(expected, actual) \ + Test::AssertNotEqual(expected, actual, __FILE__, __LINE__) + +#define SETUP_CATEGORY(category, ...) \ + namespace { \ + struct CONCAT_IMPL(SetupRegistrar_, __LINE__) { \ + CONCAT_IMPL(SetupRegistrar_, __LINE__)() { \ + Test::TestRegistry::Instance().RegisterSetup(#category, __VA_ARGS__); \ + } \ + }; \ + static CONCAT_IMPL(SetupRegistrar_, __LINE__) CONCAT_IMPL(setup_reg_, __LINE__); \ + } + +// Check a GPU texture against a saved PNG reference. +// Saves the texture as the reference if none exists. +// On mismatch: saves _actual.png and _diff.png under test_results/ and fails the test. +#define ASSERT_TEXTURE(tex, name) \ + Test::check_texture_reference(tex, name) + +#define ASSERT_TEXTURE_EX(tex, name, sub_resource, tolerance) \ + Test::check_texture_reference(tex, name, sub_resource, tolerance) + +#define TEARDOWN_CATEGORY(category, ...) \ + namespace { \ + struct CONCAT_IMPL(TeardownRegistrar_, __LINE__) { \ + CONCAT_IMPL(TeardownRegistrar_, __LINE__)() { \ + Test::TestRegistry::Instance().RegisterTeardown(#category, __VA_ARGS__); \ + } \ + }; \ + static CONCAT_IMPL(TeardownRegistrar_, __LINE__) CONCAT_IMPL(teardown_reg_, __LINE__); \ + } diff --git a/sources/Test/TestFramework/Test.Framework.ixx b/sources/Test/TestFramework/Test.Framework.ixx new file mode 100644 index 00000000..d01abeb7 --- /dev/null +++ b/sources/Test/TestFramework/Test.Framework.ixx @@ -0,0 +1,274 @@ +module; + +#include +#include +#include +#include +#include +#include + +export module Test.Framework; + +import Core; + +export namespace Test +{ + struct TestResult + { + std::string category; + std::string name; + bool passed = false; + bool skipped = false; + std::string errorMessage; + std::string file; + int line = 0; + }; + + class TestFailure : public std::exception + { + public: + explicit TestFailure(const std::string& msg) : message(msg) {} + const char* what() const noexcept override { return message.c_str(); } + + private: + std::string message; + }; + + class TestRegistry + { + public: + using TestFunc = std::function; + using SetupFunc = std::function; + using TeardownFunc = std::function; + + static TestRegistry& Instance() + { + static TestRegistry instance; + return instance; + } + + void Register(const std::string& category, const std::string& name, TestFunc func, const std::string& file, int line) + { + tests.push_back({category, name, func, file, line}); + } + + void RegisterSetup(const std::string& category, SetupFunc func) + { + setups[category] = std::move(func); + } + + void RegisterTeardown(const std::string& category, TeardownFunc func) + { + teardowns[category] = std::move(func); + } + + void SkipCategory(const std::string& category, const std::string& reason) + { + skipped_categories[category] = reason; + } + + std::vector RunAll() + { + std::vector results; + std::set ranSetups; + + Log::get() << Log::LEVEL_INFO << "========== Starting Tests ==========" << Log::endl; + Log::get() << Log::LEVEL_INFO << "Running " << tests.size() << " test(s)..." << Log::endl; + + auto runTeardown = [&](const std::string& category) + { + if (category.empty()) return; + auto it = teardowns.find(category); + if (it != teardowns.end()) + { + Log::get() << Log::LEVEL_INFO << "[TEARDOWN] " << category << Log::endl; + it->second(); + } + }; + + std::string currentCategory; + + for (const auto& test : tests) + { + if (test.category != currentCategory) + { + runTeardown(currentCategory); + currentCategory = test.category; + } + + if (!test.category.empty() && ranSetups.find(test.category) == ranSetups.end()) + { + auto it = setups.find(test.category); + if (it != setups.end()) + { + Log::get() << Log::LEVEL_INFO << "[SETUP] " << test.category << Log::endl; + it->second(); + } + ranSetups.insert(test.category); + } + + TestResult result; + result.category = test.category; + result.name = test.name; + result.file = test.file; + result.line = test.line; + + std::string fullName = result.category.empty() ? result.name : result.category + "::" + result.name; + + auto skipIt = skipped_categories.find(test.category); + if (skipIt != skipped_categories.end()) + { + result.skipped = true; + result.passed = true; + result.errorMessage = skipIt->second; + Log::get() << Log::LEVEL_INFO << "[SKIP] " << fullName << " (" << skipIt->second << ")" << Log::endl; + results.push_back(result); + continue; + } + + Log::get() << Log::LEVEL_INFO << ">> Starting: " << fullName << Log::endl; + + try + { + test.func(); + result.passed = true; + Log::get() << Log::LEVEL_INFO << "[PASS] " << fullName << Log::endl; + } + catch (const TestFailure& e) + { + result.passed = false; + result.errorMessage = e.what(); + Log::get() << Log::LEVEL_ERROR << "[FAIL] " << fullName << Log::endl; + Log::get() << Log::LEVEL_ERROR << " " << result.errorMessage << Log::endl; + } + + results.push_back(result); + } + + runTeardown(currentCategory); + + return results; + } + + void PrintResults(const std::vector& results) + { + int passed = 0, failed = 0, skipped = 0; + + struct CategoryStats { int passed = 0; int failed = 0; int skipped = 0; }; + std::map categoryStats; + + for (const auto& result : results) + { + auto& stats = categoryStats[result.category]; + if (result.skipped) + { + skipped++; + stats.skipped++; + } + else if (result.passed) + { + passed++; + stats.passed++; + } + else + { + failed++; + stats.failed++; + } + } + + Log::get() << Log::LEVEL_INFO << "========== Test Summary ==========" << Log::endl; + + for (const auto& [category, stats] : categoryStats) + { + std::string categoryName = category.empty() ? "Uncategorized" : category; + int total = stats.passed + stats.failed + stats.skipped; + std::stringstream ss; + ss << categoryName << ": " << total << " total, " << stats.passed << " passed"; + if (stats.skipped > 0) + ss << ", " << stats.skipped << " skipped"; + if (stats.failed > 0) + ss << ", " << stats.failed << " failed"; + Log::get() << Log::LEVEL_INFO << ss.str() << Log::endl; + } + + Log::get() << Log::LEVEL_INFO << "Total Tests: " << results.size() << Log::endl; + Log::get() << Log::LEVEL_INFO << "Passed: " << passed << Log::endl; + if (skipped > 0) + Log::get() << Log::LEVEL_INFO << "Skipped: " << skipped << Log::endl; + if (failed > 0) + Log::get() << Log::LEVEL_ERROR << "Failed: " << failed << Log::endl; + else + Log::get() << Log::LEVEL_INFO << "Failed: " << failed << Log::endl; + Log::get() << Log::LEVEL_INFO << "==================================" << Log::endl; + } + + private: + struct Test + { + std::string category; + std::string name; + TestFunc func; + std::string file; + int line; + }; + + std::vector tests; + std::map setups; + std::map teardowns; + std::map skipped_categories; + }; + + + inline void AssertTrue(bool condition, const std::string& message, const std::string& file, int line) + { + if (!condition) + { + std::stringstream ss; + ss << file << ":" << line << " - Assertion failed: " << message; + throw TestFailure(ss.str()); + } + } + + inline void AssertFalse(bool condition, const std::string& message, const std::string& file, int line) + { + if (condition) + { + std::stringstream ss; + ss << file << ":" << line << " - Assertion failed (expected false): " << message; + throw TestFailure(ss.str()); + } + } + + template + inline void AssertEqual(const T& expected, const T& actual, const std::string& file, int line) + { + if (expected != actual) + { + std::stringstream ss; + ss << file << ":" << line << " - Assertion failed: expected " << expected << " but got " << actual; + throw TestFailure(ss.str()); + } + } + + template + inline void AssertNotEqual(const T& expected, const T& actual, const std::string& file, int line) + { + if (expected == actual) + { + std::stringstream ss; + ss << file << ":" << line << " - Assertion failed: values should not be equal"; + throw TestFailure(ss.str()); + } + } + + class TestRegistrator + { + public: + TestRegistrator(const std::string& category, const std::string& name, TestRegistry::TestFunc func, const std::string& file, int line) + { + TestRegistry::Instance().Register(category, name, func, file, line); + } + }; +} + diff --git a/sources/Test/Tests/Test.Core.ixx b/sources/Test/Tests/Test.Core.ixx new file mode 100644 index 00000000..394c73ab --- /dev/null +++ b/sources/Test/Tests/Test.Core.ixx @@ -0,0 +1,136 @@ +module; + +export module Test.Core; + +export import Test.Framework; + +import Core; + +export namespace Test +{ + // Vector2 tests + TEST(Core.Vectors, Vec2_Creation) + { + vec2 v(3.0f, 4.0f); + ASSERT_EQ(v.x, 3.0f); + ASSERT_EQ(v.y, 4.0f); + } + + TEST(Core.Vectors, Vec2_Addition) + { + vec2 a(1.0f, 2.0f); + vec2 b(3.0f, 4.0f); + vec2 result = a + b; + ASSERT_EQ(result.x, 4.0f); + ASSERT_EQ(result.y, 6.0f); + } + + TEST(Core.Vectors, Vec2_Subtraction) + { + vec2 a(5.0f, 7.0f); + vec2 b(2.0f, 3.0f); + vec2 result = a - b; + ASSERT_EQ(result.x, 3.0f); + ASSERT_EQ(result.y, 4.0f); + } + + TEST(Core.Vectors, Vec2_DotProduct) + { + vec2 a(1.0f, 2.0f); + vec2 b(3.0f, 4.0f); + float result = vec2::dot(a, b); + ASSERT_EQ(result, 11.0f); + } + + TEST(Core.Vectors, Vec3_Creation) + { + vec3 v(1.0f, 2.0f, 3.0f); + ASSERT_EQ(v.x, 1.0f); + ASSERT_EQ(v.y, 2.0f); + ASSERT_EQ(v.z, 3.0f); + } + + TEST(Core.Vectors, Vec3_Addition) + { + vec3 a(1.0f, 2.0f, 3.0f); + vec3 b(4.0f, 5.0f, 6.0f); + vec3 result = a + b; + ASSERT_EQ(result.x, 5.0f); + ASSERT_EQ(result.y, 7.0f); + ASSERT_EQ(result.z, 9.0f); + } + + TEST(Core.Vectors, Vec3_CrossProduct) + { + vec3 a(1.0f, 0.0f, 0.0f); + vec3 b(0.0f, 1.0f, 0.0f); + vec3 result = vec3::cross(a, b); + ASSERT_EQ(result.x, 0.0f); + ASSERT_EQ(result.y, 0.0f); + ASSERT_EQ(result.z, 1.0f); + } + + TEST(Core.Vectors, Vec3_DotProduct) + { + vec3 a(1.0f, 2.0f, 3.0f); + vec3 b(4.0f, 5.0f, 6.0f); + float result = vec3::dot(a, b); + ASSERT_EQ(result, 32.0f); + } + + TEST(Core.Vectors, Vec3_Magnitude) + { + vec3 v(3.0f, 4.0f, 0.0f); + float length = v.length(); + ASSERT_EQ(length, 5.0f); + } + + TEST(Core.Vectors, Vec4_Creation) + { + vec4 v(1.0f, 2.0f, 3.0f, 4.0f); + ASSERT_EQ(v.x, 1.0f); + ASSERT_EQ(v.y, 2.0f); + ASSERT_EQ(v.z, 3.0f); + ASSERT_EQ(v.w, 4.0f); + } + + TEST(Core.Vectors, Vec4_Addition) + { + vec4 a(1.0f, 2.0f, 3.0f, 4.0f); + vec4 b(5.0f, 6.0f, 7.0f, 8.0f); + vec4 result = a + b; + ASSERT_EQ(result.x, 6.0f); + ASSERT_EQ(result.y, 8.0f); + ASSERT_EQ(result.z, 10.0f); + ASSERT_EQ(result.w, 12.0f); + } + + TEST(Core.Matrices, Mat4x4_Identity) + { + mat4x4 m; + m.identity(); + ASSERT_EQ(m.a11, 1.0f); + ASSERT_EQ(m.a22, 1.0f); + ASSERT_EQ(m.a33, 1.0f); + ASSERT_EQ(m.a44, 1.0f); + ASSERT_EQ(m.a12, 0.0f); + ASSERT_EQ(m.a13, 0.0f); + } + + TEST(Core.Matrices, Mat4x4_Translation) + { + vec3 trans(5.0f, 10.0f, 15.0f); + mat4x4 m = mat4x4::translation(trans); + ASSERT_EQ(m.a41, 5.0f); + ASSERT_EQ(m.a42, 10.0f); + ASSERT_EQ(m.a43, 15.0f); + } + + TEST(Core.Vectors, Vec3_Normalize) + { + vec3 v(3.0f, 4.0f, 0.0f); + vec3 normalized = v.normalize(); + float len = normalized.length(); + ASSERT_TRUE(len > 0.99f && len < 1.01f); + } +} diff --git a/sources/Test/Tests/Test.Events.ixx b/sources/Test/Tests/Test.Events.ixx new file mode 100644 index 00000000..24b7e302 --- /dev/null +++ b/sources/Test/Tests/Test.Events.ixx @@ -0,0 +1,877 @@ +export module Test.Events; + +export import Test.Framework; + +import Core; + +using namespace Events; + +export namespace Test +{ + // Event registration and firing tests + TEST(Core.Events, SimpleEventRegistration) + { + Event event; + std::atomic called(0); + + event.register_handler(nullptr, [&called](int value) { + called.store(value, std::memory_order_relaxed); + }); + + event(42); + ASSERT_EQ(called.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, EventFiring) + { + Event event; + std::atomic result(0); + + event.register_handler(nullptr, [&result](int val) { + result.store(val * 2, std::memory_order_relaxed); + }); + + event(21); + ASSERT_EQ(result.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, MultipleHandlerRegistration) + { + Event event; + std::atomic count(0); + + event.register_handler(nullptr, [&count](int) { + count.fetch_add(1, std::memory_order_relaxed); + }); + event.register_handler(nullptr, [&count](int) { + count.fetch_add(1, std::memory_order_relaxed); + }); + event.register_handler(nullptr, [&count](int) { + count.fetch_add(1, std::memory_order_relaxed); + }); + + event(0); + ASSERT_EQ(count.load(std::memory_order_relaxed), 3); + } + + TEST(Core.Events, EventWithMultipleArguments) + { + Event event; + std::atomic int_val(0); + std::atomic float_match(0); + std::string captured_string; + std::mutex str_mutex; + + event.register_handler(nullptr, [&int_val, &float_match, &captured_string, &str_mutex](int i, float f, const std::string& s) { + int_val.store(i, std::memory_order_relaxed); + if (std::abs(f - 3.14f) < 0.01f) + float_match.store(1, std::memory_order_relaxed); + { + std::lock_guard lock(str_mutex); + captured_string = s; + } + }); + + event(42, 3.14f, "test"); + + ASSERT_EQ(int_val.load(std::memory_order_relaxed), 42); + ASSERT_EQ(float_match.load(std::memory_order_relaxed), 1); + { + std::lock_guard lock(str_mutex); + ASSERT_EQ(captured_string, std::string("test")); + } + } + + TEST(Core.Events, EventWithVectorArgument) + { + Event&> event; + std::atomic size(0); + + event.register_handler(nullptr, [&size](const std::vector& vec) { + size.store(static_cast(vec.size()), std::memory_order_relaxed); + }); + + std::vector test_vec = {1, 2, 3, 4, 5}; + event(test_vec); + ASSERT_EQ(size.load(std::memory_order_relaxed), 5); + } + + TEST(Core.Events, EventWithCustomType) + { + struct Point { int x; int y; }; + Event event; + std::atomic sum(0); + + event.register_handler(nullptr, [&sum](Point p) { + sum.store(p.x + p.y, std::memory_order_relaxed); + }); + + Point p{10, 32}; + event(p); + ASSERT_EQ(sum.load(std::memory_order_relaxed), 42); + } + + // Handler callbacks and invocation tests + TEST(Core.Events, HandlerCallbackInvocation) + { + Event event; + std::atomic invocation_count(0); + + event.register_handler(nullptr, [&invocation_count](int val) { + invocation_count.fetch_add(val, std::memory_order_relaxed); + }); + + event(5); + event(10); + event(27); + + ASSERT_EQ(invocation_count.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, HandlerUnregistration) + { + Event event; + std::atomic called(0); + + auto handler = event.register_handler(nullptr, [&called](int) { + called.fetch_add(1, std::memory_order_relaxed); + }); + + event(0); + ASSERT_EQ(called.load(std::memory_order_relaxed), 1); + + handler->unregister(); + + event(0); + ASSERT_EQ(called.load(std::memory_order_relaxed), 1); + } + + TEST(Core.Events, SequentialHandlerInvocation) + { + Event<> event; + std::vector execution_order; + std::mutex order_mutex; + + event.register_handler(nullptr, [&execution_order, &order_mutex]() { + std::lock_guard lock(order_mutex); + execution_order.push_back(1); + }); + + event.register_handler(nullptr, [&execution_order, &order_mutex]() { + std::lock_guard lock(order_mutex); + execution_order.push_back(2); + }); + + event.register_handler(nullptr, [&execution_order, &order_mutex]() { + std::lock_guard lock(order_mutex); + execution_order.push_back(3); + }); + + event(); + + { + std::lock_guard lock(order_mutex); + ASSERT_EQ(execution_order.size(), static_cast(3)); + } + } + + TEST(Core.Events, HandlerWithCapture) + { + Event event; + int multiplier = 5; + std::atomic result(0); + + event.register_handler(nullptr, [&result, multiplier](int val) { + result.store(val * multiplier, std::memory_order_relaxed); + }); + + event(8); + ASSERT_EQ(result.load(std::memory_order_relaxed), 40); + } + + TEST(Core.Events, VoidEvent) + { + Event<> event; + std::atomic called(0); + + event.register_handler(nullptr, [&called]() { + called.store(1, std::memory_order_relaxed); + }); + + event(); + ASSERT_EQ(called.load(std::memory_order_relaxed), 1); + } + + // Event propagation tests + TEST(Core.Events, EventPropagationToMultipleHandlers) + { + Event event; + std::atomic handler1_val(0); + std::atomic handler2_val(0); + std::atomic handler3_val(0); + + event.register_handler(nullptr, [&handler1_val](int val) { + handler1_val.store(val, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&handler2_val](int val) { + handler2_val.store(val * 2, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&handler3_val](int val) { + handler3_val.store(val * 3, std::memory_order_relaxed); + }); + + event(7); + + ASSERT_EQ(handler1_val.load(std::memory_order_relaxed), 7); + ASSERT_EQ(handler2_val.load(std::memory_order_relaxed), 14); + ASSERT_EQ(handler3_val.load(std::memory_order_relaxed), 21); + } + + TEST(Core.Events, EventPropagationWithDifferentTypes) + { + Event event; + std::atomic sum(0); + + event.register_handler(nullptr, [&sum](int a, int b, int c) { + sum.store(a + b + c, std::memory_order_relaxed); + }); + + event(10, 20, 12); + ASSERT_EQ(sum.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, EventChaining) + { + Event event1; + Event event2; + std::atomic final_result(0); + + event1.register_handler(nullptr, [&event2](int val) { + event2(val * 2); + }); + + event2.register_handler(nullptr, [&final_result](int val) { + final_result.store(val, std::memory_order_relaxed); + }); + + event1(21); + ASSERT_EQ(final_result.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, ThreadSafeEventPropagation) + { + Event event; + std::atomic counter(0); + + for (int i = 0; i < 5; ++i) + { + event.register_handler(nullptr, [&counter](int) { + counter.fetch_add(1, std::memory_order_relaxed); + }); + } + + event(0); + ASSERT_EQ(counter.load(std::memory_order_relaxed), 5); + } + + TEST(Core.Events, ComplexEventFlow) + { + Event event; + std::vector log; + std::mutex log_mutex; + + event.register_handler(nullptr, [&log, &log_mutex](const std::string& msg) { + std::lock_guard lock(log_mutex); + log.push_back("Handler1:" + msg); + }); + + event.register_handler(nullptr, [&log, &log_mutex](const std::string& msg) { + std::lock_guard lock(log_mutex); + log.push_back("Handler2:" + msg); + }); + + event("Event1"); + event("Event2"); + + { + std::lock_guard lock(log_mutex); + ASSERT_EQ(log.size(), static_cast(4)); + } + } + + TEST(Core.Events, EventPropagationIntegrity) + { + Event event; + std::atomic checksum(0); + + event.register_handler(nullptr, [&checksum](int a, int b) { + checksum.store(a * 10 + b, std::memory_order_relaxed); + }); + + for (int i = 1; i <= 4; ++i) + { + for (int j = 1; j <= 4; ++j) + { + event(i, j); + int expected = i * 10 + j; + ASSERT_EQ(checksum.load(std::memory_order_relaxed), expected); + } + } + } + + // Event with Runner tests + TEST(Core.Events, EventWithRunner) + { + Runner runner; + Event event; + event.runner = &runner; + + std::atomic result(0); + + event.register_handler(nullptr, [&result](int val) { + result.store(val * 2, std::memory_order_relaxed); + }); + + event(21); + runner.process_tasks(); + + ASSERT_EQ(result.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, EventWithRunnerMultipleHandlers) + { + Runner runner; + Event event; + event.runner = &runner; + + std::atomic count(0); + + event.register_handler(nullptr, [&count](int) { + count.fetch_add(1, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&count](int) { + count.fetch_add(2, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&count](int) { + count.fetch_add(3, std::memory_order_relaxed); + }); + + event(0); + runner.process_tasks(); + + ASSERT_EQ(count.load(std::memory_order_relaxed), 6); + } + + TEST(Core.Events, EventWithRunnerAccumulation) + { + Runner runner; + Event event; + event.runner = &runner; + + std::atomic sum(0); + + event.register_handler(nullptr, [&sum](int val) { + sum.fetch_add(val, std::memory_order_relaxed); + }); + + event(10); + event(20); + event(12); + + runner.process_tasks(); + + ASSERT_EQ(sum.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, EventWithRunnerMultipleProcessing) + { + Runner runner; + Event event; + event.runner = &runner; + + std::atomic result(0); + + event.register_handler(nullptr, [&result](int val) { + result.store(val * 2, std::memory_order_relaxed); + }); + + event(5); + runner.process_tasks(); + ASSERT_EQ(result.load(std::memory_order_relaxed), 10); + + event(15); + runner.process_tasks(); + ASSERT_EQ(result.load(std::memory_order_relaxed), 30); + + event(6); + runner.process_tasks(); + ASSERT_EQ(result.load(std::memory_order_relaxed), 12); + } + + // Multi-threaded event tests using thread pool + TEST(Core.Events, EventFiringFromMultipleThreads) + { + Event event; + std::atomic counter(0); + + event.register_handler(nullptr, [&counter](int) { + counter.fetch_add(1, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 0; i < 10; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event]() { + event(0); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(counter.load(std::memory_order_relaxed), 10); + } + + TEST(Core.Events, MultipleHandlersFromMultipleThreads) + { + Event event; + std::atomic counter(0); + + event.register_handler(nullptr, [&counter](int) { + counter.fetch_add(1, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&counter](int) { + counter.fetch_add(1, std::memory_order_relaxed); + }); + + event.register_handler(nullptr, [&counter](int) { + counter.fetch_add(1, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 0; i < 5; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event]() { + event(0); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(counter.load(std::memory_order_relaxed), 15); + } + + TEST(Core.Events, EventWithDataFromThreadPool) + { + Event event; + std::atomic sum(0); + + event.register_handler(nullptr, [&sum](int val) { + sum.fetch_add(val, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 1; i <= 10; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event, i]() { + event(i); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(sum.load(std::memory_order_relaxed), 55); + } + + TEST(Core.Events, ConcurrentEventFiringAndHandling) + { + Event event; + std::atomic processed(0); + + event.register_handler(nullptr, [&processed](int val) { + std::this_thread::sleep_for(std::chrono::milliseconds(1)); + processed.fetch_add(val, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 0; i < 20; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event, i]() { + event(1); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(processed.load(std::memory_order_relaxed), 20); + } + + TEST(Core.Events, ThreadPoolEventChaining) + { + Event event1; + Event event2; + std::atomic final_result(0); + + event1.register_handler(nullptr, [&event2](int val) { + event2(val * 2); + }); + + event2.register_handler(nullptr, [&final_result](int val) { + final_result.store(val, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 0; i < 5; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event1]() { + event1(21); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(final_result.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, RunnerWithThreadPool) + { + Runner runner; + Event event; + event.runner = &runner; + + std::atomic processed(0); + + event.register_handler(nullptr, [&processed](int val) { + processed.fetch_add(val, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 1; i <= 5; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event, i]() { + event(i); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + runner.process_tasks(); + + ASSERT_EQ(processed.load(std::memory_order_relaxed), 15); + } + + TEST(Core.Events, ComplexAsyncEventFlow) + { + Runner runner; + Event producer_event; + Event worker_event; + + producer_event.runner = &runner; + worker_event.runner = &runner; + + std::atomic result(0); + + producer_event.register_handler(nullptr, [&worker_event](int val) { + worker_event(val * 2); + }); + + worker_event.register_handler(nullptr, [&result](int val) { + result.store(val + 10, std::memory_order_relaxed); + }); + + std::vector> futures; + + for (int i = 0; i < 5; ++i) + { + futures.push_back(thread_pool::get().enqueue([&producer_event]() { + producer_event(16); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + runner.process_tasks(); + + ASSERT_EQ(result.load(std::memory_order_relaxed), 42); + } + + // Class-based event handler tests + TEST(Core.Events, ClassEventHandlerRegistration) + { + struct EventListener : public prop_handler + { + std::atomic received_value{0}; + + void on_event(int val) + { + received_value.store(val, std::memory_order_relaxed); + } + }; + + Event event; + EventListener listener; + + event.register_handler(&listener, [&listener](int val) { + listener.on_event(val); + }); + + event(42); + ASSERT_EQ(listener.received_value.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, ClassEventHandlerDestruction) + { + struct EventListener : public prop_handler + { + std::atomic value{0}; + + void handle_event(int val) + { + value.store(val, std::memory_order_relaxed); + } + }; + + Event event; + + { + EventListener listener; + event.register_handler(&listener, [&listener](int val) { + listener.handle_event(val); + }); + + event(100); + ASSERT_EQ(listener.value.load(std::memory_order_relaxed), 100); + } + + // Listener is destroyed here - handler should be unregistered + // Event firing after destruction should not crash + event(200); + ASSERT_TRUE(true); + } + + TEST(Core.Events, MultipleClassHandlers) + { + struct Listener1 : public prop_handler + { + std::atomic count{0}; + + void on_event(int) + { + count.fetch_add(1, std::memory_order_relaxed); + } + }; + + struct Listener2 : public prop_handler + { + std::atomic sum{0}; + + void on_event(int val) + { + sum.fetch_add(val, std::memory_order_relaxed); + } + }; + + Event event; + Listener1 listener1; + Listener2 listener2; + + event.register_handler(&listener1, [&listener1](int val) { + listener1.on_event(val); + }); + + event.register_handler(&listener2, [&listener2](int val) { + listener2.on_event(val); + }); + + event(10); + event(20); + event(12); + + ASSERT_EQ(listener1.count.load(std::memory_order_relaxed), 3); + ASSERT_EQ(listener2.sum.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, ClassHandlerWithMultipleEvents) + { + struct EventManager : public prop_handler + { + std::atomic event1_count{0}; + std::atomic event2_sum{0}; + + void on_event1(int) + { + event1_count.fetch_add(1, std::memory_order_relaxed); + } + + void on_event2(int val) + { + event2_sum.fetch_add(val, std::memory_order_relaxed); + } + }; + + Event event1; + Event event2; + EventManager manager; + + event1.register_handler(&manager, [&manager](int val) { + manager.on_event1(val); + }); + + event2.register_handler(&manager, [&manager](int val) { + manager.on_event2(val); + }); + + event1(0); + event1(0); + event1(0); + + event2(10); + event2(20); + event2(12); + + ASSERT_EQ(manager.event1_count.load(std::memory_order_relaxed), 3); + ASSERT_EQ(manager.event2_sum.load(std::memory_order_relaxed), 42); + } + + TEST(Core.Events, ClassHandlerScopedLifetime) + { + struct ScopedListener : public prop_handler + { + std::atomic invocation_count{0}; + + void on_event(int) + { + invocation_count.fetch_add(1, std::memory_order_relaxed); + } + }; + + Event event; + + { + ScopedListener listener; + + event.register_handler(&listener, [&listener](int val) { + listener.on_event(val); + }); + + event(0); + ASSERT_EQ(listener.invocation_count.load(std::memory_order_relaxed), 1); + + event(0); + ASSERT_EQ(listener.invocation_count.load(std::memory_order_relaxed), 2); + } + + // After scope, listener is destroyed + // This should not invoke the handler + event(0); + + // Verify no crash occurred + ASSERT_TRUE(true); + } + + TEST(Core.Events, ClassHandlerThreadedRegistration) + { + struct ThreadedListener : public prop_handler + { + std::atomic processed{0}; + + void handle(int) + { + processed.fetch_add(1, std::memory_order_relaxed); + } + }; + + Event event; + ThreadedListener listener; + + event.register_handler(&listener, [&listener](int val) { + listener.handle(val); + }); + + std::vector> futures; + + for (int i = 0; i < 10; ++i) + { + futures.push_back(thread_pool::get().enqueue([&event]() { + event(0); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(listener.processed.load(std::memory_order_relaxed), 10); + } + + TEST(Core.Events, ClassHandlerAutomaticCleanup) + { + struct AutoCleanupListener : public prop_handler + { + std::atomic cleanup_count{0}; + Event* event_ptr = nullptr; + + AutoCleanupListener(Event* evt) : event_ptr(evt) + { + event_ptr->register_handler(this, [this](int val) { + process(val); + }); + } + + void process(int) + { + // Handler processing + } + + ~AutoCleanupListener() + { + // Automatic unregistration via prop_handler destructor + cleanup_count.store(1, std::memory_order_relaxed); + } + }; + + Event event; + + { + AutoCleanupListener listener(&event); + event(0); + } + + // Listener destroyed - handlers should be cleaned up automatically + event(0); + + ASSERT_TRUE(true); + } +} diff --git a/sources/Test/Tests/Test.FileSystem.ixx b/sources/Test/Tests/Test.FileSystem.ixx new file mode 100644 index 00000000..7e1bdd02 --- /dev/null +++ b/sources/Test/Tests/Test.FileSystem.ixx @@ -0,0 +1,321 @@ +export module Test.FileSystem; + +export import Test.Framework; + +import Core; + +namespace { + struct FileSystemSetup { + FileSystemSetup() { + auto provider = std::make_shared(); + FileSystem::get().register_provider(provider); + } + }; + + static FileSystemSetup setup; +} + +export namespace Test +{ + // File I/O operations tests + TEST(Core.FileSystem, SaveAndLoadString) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_string.txt"; + + std::string original = "Hello, FileSystem!"; + bool saved = FileSystem::get().save_data(test_file, original); + ASSERT_TRUE(saved); + + auto file = FileSystem::get().get_file(test_file); + ASSERT_TRUE(file != nullptr); + + std::string loaded = file->load_all(); + ASSERT_EQ(loaded, original); + + std::filesystem::remove(test_file); + } + + TEST(Core.FileSystem, SaveAndLoadMultilineText) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_multiline.txt"; + + std::string original = "Line 1\nLine 2\nLine 3\n"; + FileSystem::get().save_data(test_file, original); + + auto file = FileSystem::get().get_file(test_file); + std::string loaded = file->load_all(); + + ASSERT_EQ(loaded, original); + + std::filesystem::remove(test_file); + } + + + TEST(Core.FileSystem, SaveLargeFile) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_large.txt"; + + std::string original; + for (int i = 0; i < 10000; ++i) + { + original += "This is line " + std::to_string(i) + "\n"; + } + + FileSystem::get().save_data(test_file, original); + + auto file = FileSystem::get().get_file(test_file); + std::string loaded = file->load_all(); + + ASSERT_EQ(loaded.length(), original.length()); + + std::filesystem::remove(test_file); + } + + TEST(Core.FileSystem, FileExistence) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_exists.txt"; + + FileSystem::get().save_data(test_file, "test data"); + ASSERT_TRUE(std::filesystem::exists(test_file)); + + auto file = FileSystem::get().get_file(test_file); + ASSERT_TRUE(file != nullptr); + + std::filesystem::remove(test_file); + ASSERT_FALSE(std::filesystem::exists(test_file)); + } + + // Path handling and manipulation tests + TEST(Core.FileSystem, PathExtension) + { + std::filesystem::path file_path = "document.txt"; + ASSERT_EQ(file_path.extension().string(), std::string(".txt")); + } + + TEST(Core.FileSystem, PathFilename) + { + std::filesystem::path file_path = "/home/user/documents/file.txt"; + ASSERT_EQ(file_path.filename().string(), std::string("file.txt")); + } + + TEST(Core.FileSystem, PathParent) + { + std::filesystem::path file_path = "/home/user/documents/file.txt"; + std::filesystem::path parent = file_path.parent_path(); + ASSERT_TRUE(parent.string().find("documents") != std::string::npos); + } + + TEST(Core.FileSystem, PathCombine) + { + std::filesystem::path dir = std::filesystem::temp_directory_path(); + std::filesystem::path filename = "test.txt"; + std::filesystem::path full_path = dir / filename; + + ASSERT_TRUE(full_path.string().find("test.txt") != std::string::npos); + } + + TEST(Core.FileSystem, PathAbsolute) + { + std::filesystem::path relative = "file.txt"; + std::filesystem::path absolute = std::filesystem::absolute(relative); + + ASSERT_TRUE(absolute.is_absolute()); + } + + TEST(Core.FileSystem, PathRelative) + { + std::filesystem::path base = std::filesystem::temp_directory_path(); + std::filesystem::path full = base / "test.txt"; + std::filesystem::path relative = std::filesystem::relative(full, base); + + ASSERT_EQ(relative.string(), std::string("test.txt")); + } + + TEST(Core.FileSystem, PathComparison) + { + std::filesystem::path path1 = "/home/user/file.txt"; + std::filesystem::path path2 = "/home/user/file.txt"; + std::filesystem::path path3 = "/home/user/other.txt"; + + ASSERT_EQ(path1, path2); + ASSERT_NE(path1, path3); + } + + // Directory operations tests + TEST(Core.FileSystem, CreateDirectory) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_dir_123"; + + if (std::filesystem::exists(test_dir)) + std::filesystem::remove_all(test_dir); + + std::filesystem::create_directory(test_dir); + ASSERT_TRUE(std::filesystem::exists(test_dir)); + ASSERT_TRUE(std::filesystem::is_directory(test_dir)); + + std::filesystem::remove(test_dir); + } + + TEST(Core.FileSystem, CreateNestedDirectories) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_nested" / "sub" / "deep"; + + if (std::filesystem::exists(std::filesystem::temp_directory_path() / "test_nested")) + std::filesystem::remove_all(std::filesystem::temp_directory_path() / "test_nested"); + + std::filesystem::create_directories(test_dir); + ASSERT_TRUE(std::filesystem::exists(test_dir)); + + std::filesystem::remove_all(std::filesystem::temp_directory_path() / "test_nested"); + } + + TEST(Core.FileSystem, ListDirectoryFiles) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_list_dir"; + + if (std::filesystem::exists(test_dir)) + std::filesystem::remove_all(test_dir); + + std::filesystem::create_directory(test_dir); + + FileSystem::get().save_data(test_dir / "file1.txt", "content1"); + FileSystem::get().save_data(test_dir / "file2.txt", "content2"); + FileSystem::get().save_data(test_dir / "file3.txt", "content3"); + + std::atomic file_count(0); + FileSystem::get().iterate(test_dir, [&file_count](auto) { + file_count.fetch_add(1, std::memory_order_relaxed); + }, false); + + ASSERT_EQ(file_count.load(std::memory_order_relaxed), 3); + + std::filesystem::remove_all(test_dir); + } + + TEST(Core.FileSystem, ListDirectories) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_list_dirs"; + + if (std::filesystem::exists(test_dir)) + std::filesystem::remove_all(test_dir); + + std::filesystem::create_directory(test_dir); + std::filesystem::create_directory(test_dir / "subdir1"); + std::filesystem::create_directory(test_dir / "subdir2"); + std::filesystem::create_directory(test_dir / "subdir3"); + + std::atomic dir_count(0); + FileSystem::get().iterate_dirs(test_dir, [&dir_count](auto) { + dir_count.fetch_add(1, std::memory_order_relaxed); + }, false); + + ASSERT_EQ(dir_count.load(std::memory_order_relaxed), 3); + + std::filesystem::remove_all(test_dir); + } + + TEST(Core.FileSystem, RecursiveDirectoryIteration) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_recursive"; + + if (std::filesystem::exists(test_dir)) + std::filesystem::remove_all(test_dir); + + std::filesystem::create_directory(test_dir); + std::filesystem::create_directory(test_dir / "level1"); + std::filesystem::create_directory(test_dir / "level1" / "level2"); + + FileSystem::get().save_data(test_dir / "file1.txt", "content"); + FileSystem::get().save_data(test_dir / "level1" / "file2.txt", "content"); + FileSystem::get().save_data(test_dir / "level1" / "level2" / "file3.txt", "content"); + + std::atomic file_count(0); + FileSystem::get().iterate(test_dir, [&file_count](auto) { + file_count.fetch_add(1, std::memory_order_relaxed); + }, true); + + ASSERT_EQ(file_count.load(std::memory_order_relaxed), 3); + + std::filesystem::remove_all(test_dir); + } + + TEST(Core.FileSystem, DirectorySize) + { + std::filesystem::path test_dir = std::filesystem::temp_directory_path() / "test_size"; + + if (std::filesystem::exists(test_dir)) + std::filesystem::remove_all(test_dir); + + std::filesystem::create_directory(test_dir); + + FileSystem::get().save_data(test_dir / "file1.txt", "12345"); + FileSystem::get().save_data(test_dir / "file2.txt", "67890"); + + std::atomic total_size(0); + FileSystem::get().iterate(test_dir, [&total_size](auto file) { + std::string content = file->load_all(); + total_size.fetch_add(content.length(), std::memory_order_relaxed); + }, false); + + ASSERT_EQ(total_size.load(std::memory_order_relaxed), static_cast(10)); + + std::filesystem::remove_all(test_dir); + } + + TEST(Core.FileSystem, DeleteFile) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_delete.txt"; + + FileSystem::get().save_data(test_file, "temporary"); + ASSERT_TRUE(std::filesystem::exists(test_file)); + + std::filesystem::remove(test_file); + ASSERT_FALSE(std::filesystem::exists(test_file)); + } + + TEST(Core.FileSystem, RenameFile) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_old.txt"; + std::filesystem::path new_file = std::filesystem::temp_directory_path() / "test_new.txt"; + + FileSystem::get().save_data(test_file, "content"); + ASSERT_TRUE(std::filesystem::exists(test_file)); + + std::filesystem::rename(test_file, new_file); + ASSERT_FALSE(std::filesystem::exists(test_file)); + ASSERT_TRUE(std::filesystem::exists(new_file)); + + std::filesystem::remove(new_file); + } + + TEST(Core.FileSystem, CopyFile) + { + std::filesystem::path original = std::filesystem::temp_directory_path() / "test_original.txt"; + std::filesystem::path copy = std::filesystem::temp_directory_path() / "test_copy.txt"; + + std::string content = "original content"; + FileSystem::get().save_data(original, content); + + std::filesystem::copy_file(original, copy); + ASSERT_TRUE(std::filesystem::exists(copy)); + + auto copied_file = FileSystem::get().get_file(copy); + ASSERT_EQ(copied_file->load_all(), content); + + std::filesystem::remove(original); + std::filesystem::remove(copy); + } + + TEST(Core.FileSystem, FileSize) + { + std::filesystem::path test_file = std::filesystem::temp_directory_path() / "test_file_size.txt"; + + std::string content = "0123456789"; + FileSystem::get().save_data(test_file, content); + + size_t size = std::filesystem::file_size(test_file); + ASSERT_EQ(size, static_cast(10)); + + std::filesystem::remove(test_file); + } +} diff --git a/sources/Test/Tests/Test.HAL.Rendering.ixx b/sources/Test/Tests/Test.HAL.Rendering.ixx new file mode 100644 index 00000000..83985e09 --- /dev/null +++ b/sources/Test/Tests/Test.HAL.Rendering.ixx @@ -0,0 +1,250 @@ +export module Test.HAL.Rendering; + +export import Test.Framework; +export import Test.HAL.TextureUtils; + +import Core; +import HAL; + +export namespace Test +{ + TEST(Core.HAL, RenderTriangle) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 256; + constexpr uint HEIGHT = 256; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::RenderTarget), + HAL::HeapType::DEFAULT); + + // Orange triangle on black background. VS positions via SV_VertexID in clip space. + static constexpr const char* kShaderHLSL = R"hlsl( +float4 VS(uint vertID : SV_VertexID) : SV_Position +{ + float2 pos[3]; + pos[0] = float2(-0.5, -0.5); + pos[1] = float2( 0.0, 0.5); + pos[2] = float2( 0.5, -0.5); + return float4(pos[vertID], 0.0, 1.0); +} +float4 PS() : SV_Target +{ + return float4(1.0, 0.5, 0.0, 1.0); +} +)hlsl"; + + SimpleGraphicsPSO mpso("TestTriangle"); + mpso.root_signature = Layouts::NoneLayout; + mpso.vertex = { kShaderHLSL, "VS", HAL::ShaderOptions::None, {}, true }; + mpso.pixel = { kShaderHLSL, "PS", HAL::ShaderOptions::None, {}, true }; + mpso.rtv_formats = { HAL::Format::R8G8B8A8_UNORM }; + mpso.enable_depth = false; + mpso.cull = HAL::CullMode::None; + mpso.topology = HAL::PrimitiveTopologyType::TRIANGLE; + + auto pso = mpso.create(device); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"RenderTriangle"); + + HAL::Texture2DView view(tex, *list); + HAL::CompiledRT compiled; + compiled.table_rtv = view.renderTarget; + + auto& gfx = list->get_graphics(); + gfx.set_rtv(compiled, HAL::RTOptions::Default | HAL::RTOptions::ClearColor, 0, 0, vec4(0, 0, 0, 1)); + + gfx.set_pipeline(pso); + gfx.set_topology(HAL::PrimitiveTopologyType::TRIANGLE); + gfx.draw(3); + + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "triangle"); + } + + TEST(Core.HAL, RenderInstancing) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 256, HEIGHT = 256; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::RenderTarget), + HAL::HeapType::DEFAULT); + + // 9 instances of a small triangle arranged in a 3×3 grid. + // SV_InstanceID drives position (column/row offset) and color. + static constexpr const char* kInstHLSL = R"hlsl( +static const float2 kLocalPos[3] = { + float2(-0.12, -0.10), + float2( 0.12, -0.10), + float2( 0.00, 0.12), +}; +static const float4 kColor[9] = { + float4(1,0,0,1), float4(0,1,0,1), float4(0,0,1,1), + float4(1,1,0,1), float4(1,0,1,1), float4(0,1,1,1), + float4(1,0.5,0,1), float4(0,0.5,1,1), float4(0.5,1,0,1), +}; +struct VSOut { float4 pos : SV_Position; float4 col : COLOR0; }; +VSOut VS(uint vid : SV_VertexID, uint iid : SV_InstanceID) +{ + uint col = iid % 3; + uint row = iid / 3; + float2 offset = float2((float(col) - 1.0) * 0.62, + (1.0 - float(row)) * 0.62); + VSOut o; + o.pos = float4(kLocalPos[vid] + offset, 0.0, 1.0); + o.col = kColor[iid]; + return o; +} +float4 PS(VSOut i) : SV_Target { return i.col; } +)hlsl"; + + SimpleGraphicsPSO mpso("TestInstancing"); + mpso.root_signature = Layouts::NoneLayout; + mpso.vertex = { kInstHLSL, "VS", HAL::ShaderOptions::None, {}, true }; + mpso.pixel = { kInstHLSL, "PS", HAL::ShaderOptions::None, {}, true }; + mpso.rtv_formats = { HAL::Format::R8G8B8A8_UNORM }; + mpso.enable_depth = false; + mpso.cull = HAL::CullMode::None; + mpso.topology = HAL::PrimitiveTopologyType::TRIANGLE; + + auto pso = mpso.create(device); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"RenderInstancing"); + + HAL::Texture2DView view(tex, *list); + HAL::CompiledRT compiled; + compiled.table_rtv = view.renderTarget; + + auto& gfx = list->get_graphics(); + gfx.set_rtv(compiled, HAL::RTOptions::Default | HAL::RTOptions::ClearColor, 0, 0, vec4(0, 0, 0, 1)); + + gfx.set_pipeline(pso); + gfx.set_topology(HAL::PrimitiveTopologyType::TRIANGLE); + gfx.draw(3, 0, 9); // 3 vertices per instance, 9 instances + + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "instancing"); + } + + TEST(Core.HAL, RenderCube) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 256; + constexpr uint HEIGHT = 256; + + auto color_tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::RenderTarget), + HAL::HeapType::DEFAULT); + + auto depth_tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::D32_FLOAT, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::DepthStencil), + HAL::HeapType::DEFAULT); + + // Cube: 6 faces × 2 tris × 3 verts = 36, each face a distinct color. + // VS builds clip-space position from SV_VertexID using hardcoded positions + + // a fixed rotation + reversed-depth perspective (near=1, far=20, fovY=60°). + static constexpr const char* kCubeHLSL = R"hlsl( +static const float3 kPos[36] = { + // Front (+Z) + float3(-0.5,-0.5, 0.5), float3( 0.5,-0.5, 0.5), float3( 0.5, 0.5, 0.5), + float3(-0.5,-0.5, 0.5), float3( 0.5, 0.5, 0.5), float3(-0.5, 0.5, 0.5), + // Back (-Z) + float3( 0.5,-0.5,-0.5), float3(-0.5,-0.5,-0.5), float3(-0.5, 0.5,-0.5), + float3( 0.5,-0.5,-0.5), float3(-0.5, 0.5,-0.5), float3( 0.5, 0.5,-0.5), + // Left (-X) + float3(-0.5,-0.5,-0.5), float3(-0.5,-0.5, 0.5), float3(-0.5, 0.5, 0.5), + float3(-0.5,-0.5,-0.5), float3(-0.5, 0.5, 0.5), float3(-0.5, 0.5,-0.5), + // Right (+X) + float3( 0.5,-0.5, 0.5), float3( 0.5,-0.5,-0.5), float3( 0.5, 0.5,-0.5), + float3( 0.5,-0.5, 0.5), float3( 0.5, 0.5,-0.5), float3( 0.5, 0.5, 0.5), + // Top (+Y) + float3(-0.5, 0.5, 0.5), float3( 0.5, 0.5, 0.5), float3( 0.5, 0.5,-0.5), + float3(-0.5, 0.5, 0.5), float3( 0.5, 0.5,-0.5), float3(-0.5, 0.5,-0.5), + // Bottom (-Y) + float3(-0.5,-0.5,-0.5), float3( 0.5,-0.5,-0.5), float3( 0.5,-0.5, 0.5), + float3(-0.5,-0.5,-0.5), float3( 0.5,-0.5, 0.5), float3(-0.5,-0.5, 0.5), +}; +static const float4 kColor[6] = { + float4(1,0,0,1), float4(0,1,0,1), float4(0,0,1,1), + float4(1,1,0,1), float4(1,0,1,1), float4(0,1,1,1), +}; +struct VSOut { float4 pos : SV_Position; float4 col : COLOR0; }; +VSOut VS(uint vid : SV_VertexID) +{ + float3 p = kPos[vid]; + // Rotate 45 deg around Y (cos=0.7071, sin=0.7071) + float3 q; + q.x = p.x * 0.7071 + p.z * 0.7071; + q.y = p.y; + q.z = -p.x * 0.7071 + p.z * 0.7071; + p = q; + // Rotate 30 deg around X (cos=0.8660, sin=0.5) + q.x = p.x; + q.y = p.y * 0.8660 - p.z * 0.5; + q.z = p.y * 0.5 + p.z * 0.8660; + p = q; + // Place cube at z=2.5 (camera at origin, looking +Z) + p.z += 2.5; + // Reversed-depth perspective: near=1, far=20, fovY=60 deg (f=cot(30)=1.7321) + // A = -near/(far-near) = -1/19, B = far/(far-near) = 20/19 + float f = 1.7321; + float A = -0.052632; + float B = 1.052632; + VSOut o; + o.pos = float4(p.x * f, p.y * f, p.z * A + B, p.z); + o.col = kColor[vid / 6]; + return o; +} +float4 PS(VSOut i) : SV_Target { return i.col; } +)hlsl"; + + SimpleGraphicsPSO mpso("TestCube"); + mpso.root_signature = Layouts::NoneLayout; + mpso.vertex = { kCubeHLSL, "VS", HAL::ShaderOptions::None, {}, true }; + mpso.pixel = { kCubeHLSL, "PS", HAL::ShaderOptions::None, {}, true }; + mpso.rtv_formats = { HAL::Format::R8G8B8A8_UNORM }; + mpso.ds = HAL::Format::D32_FLOAT; + mpso.enable_depth = true; + mpso.depth_write = true; + mpso.cull = HAL::CullMode::None; + mpso.topology = HAL::PrimitiveTopologyType::TRIANGLE; + + auto pso = mpso.create(device); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"RenderCube"); + + HAL::Texture2DView color_view(color_tex, *list); + HAL::Texture2DView depth_view(depth_tex, *list); + + HAL::CompiledRT compiled; + compiled.table_rtv = color_view.renderTarget; + compiled.table_dsv = depth_view.depthStencil; + + auto& gfx = list->get_graphics(); + // Clear color + depth only (D32_FLOAT has no stencil; depth=0 = far in reversed-depth) + gfx.set_rtv(compiled, + HAL::RTOptions::Default | HAL::RTOptions::ClearColor | HAL::RTOptions::ClearDepth, + 0, 0, vec4(0.05f, 0.05f, 0.1f, 1.0f)); + + gfx.set_pipeline(pso); + gfx.set_topology(HAL::PrimitiveTopologyType::TRIANGLE); + gfx.draw(36); + + list->execute_and_wait(); + + ASSERT_TEXTURE(color_tex.get(), "cube"); + } +} diff --git a/sources/Test/Tests/Test.HAL.TextureUtils.cpp b/sources/Test/Tests/Test.HAL.TextureUtils.cpp new file mode 100644 index 00000000..b432b74b --- /dev/null +++ b/sources/Test/Tests/Test.HAL.TextureUtils.cpp @@ -0,0 +1,134 @@ +module Test.HAL.TextureUtils; + +import HAL; +import Core; + +namespace Test +{ + HAL::texture_data::ptr readback_texture(HAL::TextureResource* tex, uint sub_resource) + { + auto& device = HAL::Device::get(); + auto& tdesc = tex->get_desc().as_texture(); + uint width = tdesc.Dimensions.x; + uint height = tdesc.Dimensions.y ? tdesc.Dimensions.y : 1; + HAL::Format fmt = tdesc.Format; + + HAL::texture_data::ptr result; + + auto list = device.get_upload_list(); + auto future = list->get_copy().read_texture(tex, sub_resource, + [&](std::span data, HAL::texture_layout layout) + { + result = HAL::texture_data::from_readback(width, height, fmt, data, layout); + }); + list->execute_and_wait(); + future.wait(); + + return result; + } + + void check_texture_reference( + HAL::TextureResource* tex, + const std::string& name, + uint sub_resource, + uint tolerance, + const std::filesystem::path& reference_dir, + const std::filesystem::path& results_dir) + { + auto actual = readback_texture(tex, sub_resource); + if (!actual) + throw TestFailure("check_texture_reference: readback failed for '" + name + "'"); + + auto actual_png = actual->to_png(); + if (actual_png.empty()) + throw TestFailure("check_texture_reference: PNG encoding failed for '" + name + "'"); + + auto ref_path = reference_dir / (name + ".png"); + + // No reference yet: save and pass + auto ref_file = FileSystem::get().get_file(ref_path); + if (!ref_file) + { + std::string png_str(reinterpret_cast(actual_png.data()), actual_png.size()); + FileSystem::get().save_data(ref_path, png_str); + Log::get() << Log::LEVEL_INFO << "[TEXTURE] Saved new reference: " << ref_path.string() << Log::endl; + return; + } + + // Load and decode reference + auto ref_bytes = ref_file->load_all(); + auto reference = HAL::texture_data::from_png(ref_bytes.data(), ref_bytes.size()); + if (!reference) + throw TestFailure("check_texture_reference: failed to decode reference PNG for '" + name + "'"); + + // Decode actual back to RGBA8 so both sides are in the same space + auto actual_rgba = HAL::texture_data::from_png(actual_png.data(), actual_png.size()); + if (!actual_rgba) + throw TestFailure("check_texture_reference: failed to decode actual PNG for '" + name + "'"); + + if (actual_rgba->width != reference->width || actual_rgba->height != reference->height) + { + throw TestFailure("check_texture_reference: size mismatch for '" + name + "' " + "(actual " + std::to_string(actual_rgba->width) + "x" + std::to_string(actual_rgba->height) + + " vs ref " + std::to_string(reference->width) + "x" + std::to_string(reference->height) + ")"); + } + + auto& act_data = actual_rgba->array[0]->mips[0]->data; + auto& ref_data = reference->array[0]->mips[0]->data; + + uint mismatch_pixels = 0; + + auto diff_td = std::make_shared( + 1, 1, actual_rgba->width, actual_rgba->height, 1, HAL::Format::R8G8B8A8_UNORM); + auto& diff_data = diff_td->array[0]->mips[0]->data; + + size_t pixel_count = (size_t)actual_rgba->width * actual_rgba->height; + for (size_t p = 0; p < pixel_count; ++p) + { + int max_diff = 0; + bool pixel_mismatch = false; + for (int c = 0; c < 3; ++c) + { + size_t i = p * 4 + c; + int d = std::abs((int)(uint8_t)act_data[i] - (int)(uint8_t)ref_data[i]); + if (d > max_diff) max_diff = d; + if (d > (int)tolerance) + pixel_mismatch = true; + } + uint8_t brightness = (uint8_t)std::min(255, max_diff * 4); + diff_data[p * 4 + 0] = brightness; + diff_data[p * 4 + 1] = brightness; + diff_data[p * 4 + 2] = brightness; + diff_data[p * 4 + 3] = 255; + if (pixel_mismatch) + ++mismatch_pixels; + } + + if (mismatch_pixels == 0) + return; + + // Save artefacts on failure + auto save_png = [&](const std::filesystem::path& path, const std::vector& png) + { + std::string s(reinterpret_cast(png.data()), png.size()); + FileSystem::get().save_data(path, s); + }; + + save_png(results_dir / (name + "_actual.png"), actual_png); + + auto diff_png = diff_td->to_png(); + if (!diff_png.empty()) + save_png(results_dir / (name + "_diff.png"), diff_png); + + Log::get() << Log::LEVEL_ERROR + << "[TEXTURE] Mismatch '" << name << "': " + << mismatch_pixels << " / " << pixel_count << " pixels differ" + << " | actual → " << (results_dir / (name + "_actual.png")).string() + << " | diff → " << (results_dir / (name + "_diff.png")).string() + << Log::endl; + + throw TestFailure("Texture mismatch: '" + name + "' (" + + std::to_string(mismatch_pixels) + "/" + std::to_string(pixel_count) + + " pixels differ, see " + results_dir.string() + "/)"); + } +} diff --git a/sources/Test/Tests/Test.HAL.TextureUtils.ixx b/sources/Test/Tests/Test.HAL.TextureUtils.ixx new file mode 100644 index 00000000..03e83889 --- /dev/null +++ b/sources/Test/Tests/Test.HAL.TextureUtils.ixx @@ -0,0 +1,19 @@ +export module Test.HAL.TextureUtils; + +export import Test.Framework; + +import HAL; +import Core; + +export namespace Test +{ + HAL::texture_data::ptr readback_texture(HAL::TextureResource* tex, uint sub_resource = 0); + + void check_texture_reference( + HAL::TextureResource* tex, + const std::string& name, + uint sub_resource = 0, + uint tolerance = 0, + const std::filesystem::path& reference_dir = "test_references", + const std::filesystem::path& results_dir = "test_results"); +} diff --git a/sources/Test/Tests/Test.HAL.ixx b/sources/Test/Tests/Test.HAL.ixx new file mode 100644 index 00000000..57432dfe --- /dev/null +++ b/sources/Test/Tests/Test.HAL.ixx @@ -0,0 +1,549 @@ +export module Test.HAL; + +export import Test.Framework; +export import Test.HAL.TextureUtils; +export import Test.HAL.Rendering; + +import Core; +import HAL; + +SETUP_CATEGORY(Core.HAL, []() { + auto device = HAL::Device::create_singleton(); + if (!device) + Test::TestRegistry::Instance().SkipCategory("Core.HAL", "no suitable GPU device found"); +}); + +TEARDOWN_CATEGORY(Core.HAL, []() { + HAL::Device::reset(); +}); + +export namespace Test +{ + // Device tests + TEST(Core.HAL, DeviceCreation) + { + ASSERT_TRUE(&HAL::Device::get() != nullptr); + } + + TEST(Core.HAL, DeviceProperties) + { + const auto& props = HAL::Device::get().get_properties(); + ASSERT_TRUE(!props.name.empty()); + } + + TEST(Core.HAL, DeviceVRAM) + { + size_t vram = HAL::Device::get().get_vram(); + ASSERT_TRUE(vram > 0); + } + + // Queue tests + TEST(Core.HAL, GetDirectQueue) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::DIRECT); + ASSERT_TRUE(queue != nullptr); + } + + TEST(Core.HAL, GetComputeQueue) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::COMPUTE); + ASSERT_TRUE(queue != nullptr); + } + + TEST(Core.HAL, GetCopyQueue) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::COPY); + ASSERT_TRUE(queue != nullptr); + } + + TEST(Core.HAL, QueueSignalAndWait) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::DIRECT); + queue->signal_and_wait(); + ASSERT_TRUE(true); + } + + TEST(Core.HAL, QueueSignal) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::DIRECT); + auto waiter = queue->signal(); + waiter.wait(); + ASSERT_TRUE(true); + } + + TEST(Core.HAL, ComputeQueueSignalAndWait) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::COMPUTE); + queue->signal_and_wait(); + ASSERT_TRUE(true); + } + + TEST(Core.HAL, CopyQueueSignalAndWait) + { + auto& queue = HAL::Device::get().get_queue(HAL::CommandListType::COPY); + queue->signal_and_wait(); + ASSERT_TRUE(true); + } + + // Buffer creation tests + TEST(Core.HAL, CreateUploadBuffer) + { + auto& device = HAL::Device::get(); + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(256, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + ASSERT_TRUE(buffer != nullptr); + } + + TEST(Core.HAL, CreateDefaultBuffer) + { + auto& device = HAL::Device::get(); + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(256), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(buffer != nullptr); + } + + TEST(Core.HAL, CreateReadbackBuffer) + { + auto& device = HAL::Device::get(); + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(256, HAL::ResFlags::None), + HAL::HeapType::READBACK); + ASSERT_TRUE(buffer != nullptr); + } + + TEST(Core.HAL, CreateLargeBuffer) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 1024 * 1024; // 1 MB + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(buffer != nullptr); + ASSERT_TRUE(buffer->get_size() >= SIZE); + } + + TEST(Core.HAL, UploadBufferCPUAccess) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 256; + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + auto data = buffer->cpu_data(); + ASSERT_TRUE(data.data() != nullptr); + ASSERT_TRUE(data.size() >= SIZE); + } + + TEST(Core.HAL, ReadbackBufferCPUAccess) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 256; + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::READBACK); + auto data = buffer->cpu_data(); + ASSERT_TRUE(data.data() != nullptr); + } + + TEST(Core.HAL, BufferHeapType) + { + auto& device = HAL::Device::get(); + auto upload = std::make_shared(device, + HAL::ResourceDesc::Buffer(256, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + auto def = std::make_shared(device, + HAL::ResourceDesc::Buffer(256), + HAL::HeapType::DEFAULT); + auto readback = std::make_shared(device, + HAL::ResourceDesc::Buffer(256, HAL::ResFlags::None), + HAL::HeapType::READBACK); + + ASSERT_TRUE(upload->get_heap_type() == HAL::HeapType::UPLOAD); + ASSERT_TRUE(def->get_heap_type() == HAL::HeapType::DEFAULT); + ASSERT_TRUE(readback->get_heap_type() == HAL::HeapType::READBACK); + } + + TEST(Core.HAL, BufferResourceDesc) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 512; + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(buffer->get_desc().is_buffer()); + ASSERT_TRUE(buffer->get_desc().as_buffer().SizeInBytes == SIZE); + } + + // Texture creation tests + TEST(Core.HAL, CreateTexture2D) + { + auto& device = HAL::Device::get(); + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {64, 64}, 1, 1), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(tex != nullptr); + } + + TEST(Core.HAL, CreateTexture2DUAV) + { + auto& device = HAL::Device::get(); + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {64, 64}, 1, 1, + HAL::ResFlags::UnorderedAccess | HAL::ResFlags::ShaderResource), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(tex != nullptr); + } + + TEST(Core.HAL, TextureResourceDesc) + { + auto& device = HAL::Device::get(); + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R16G16B16A16_FLOAT, {128, 128}, 1, 1), + HAL::HeapType::DEFAULT); + ASSERT_TRUE(tex->get_desc().is_texture()); + const auto& tdesc = tex->get_desc().as_texture(); + ASSERT_TRUE(tdesc.Dimensions.x == 128); + ASSERT_TRUE(tdesc.Dimensions.y == 128); + ASSERT_TRUE(tdesc.Format == HAL::Format::R16G16B16A16_FLOAT); + } + + // Command list tests + TEST(Core.HAL, ExecuteEmptyDirectCommandList) + { + auto& device = HAL::Device::get(); + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"EmptyDirect"); + list->execute_and_wait(); + ASSERT_TRUE(true); + } + + TEST(Core.HAL, ExecuteEmptyCopyCommandList) + { + auto& device = HAL::Device::get(); + auto& queue = device.get_queue(HAL::CommandListType::COPY); + auto list = queue->get_free_list(); + list->begin(L"EmptyCopy"); + list->execute_and_wait(); + ASSERT_TRUE(true); + } + + TEST(Core.HAL, ExecuteMultipleCommandLists) + { + auto& device = HAL::Device::get(); + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + + for (int i = 0; i < 3; ++i) + { + auto list = queue->get_free_list(); + list->begin(L"MultipleTest"); + list->execute_and_wait(); + } + ASSERT_TRUE(true); + } + + // Data upload/copy/readback round-trip + TEST(Core.HAL, WriteToUploadBuffer) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 64; + auto buffer = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + + auto data = buffer->cpu_data(); + for (size_t i = 0; i < SIZE && i < data.size(); ++i) + data[i] = static_cast(i & 0xFF); + + bool match = true; + for (size_t i = 0; i < SIZE && i < data.size(); ++i) + { + if (data[i] != static_cast(i & 0xFF)) + { + match = false; + break; + } + } + ASSERT_TRUE(match); + } + + TEST(Core.HAL, BufferCopyUploadToReadback) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 256; + + auto upload = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + auto readback = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::READBACK); + + auto src = upload->cpu_data(); + for (size_t i = 0; i < SIZE && i < src.size(); ++i) + src[i] = static_cast((i * 3 + 7) & 0xFF); + + auto list = device.get_upload_list(); + list->get_copy().copy_buffer(readback.get(), 0, upload.get(), 0, SIZE); + list->execute_and_wait(); + + auto dst = readback->cpu_data(); + bool match = true; + for (size_t i = 0; i < SIZE && i < dst.size(); ++i) + { + if (dst[i] != static_cast((i * 3 + 7) & 0xFF)) + { + match = false; + break; + } + } + ASSERT_TRUE(match); + } + + TEST(Core.HAL, UploadListHelperPattern) + { + auto& device = HAL::Device::get(); + constexpr size_t SIZE = 128; + + auto upload = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::UPLOAD); + auto readback = std::make_shared(device, + HAL::ResourceDesc::Buffer(SIZE, HAL::ResFlags::None), + HAL::HeapType::READBACK); + + auto src = upload->cpu_data(); + std::fill(src.begin(), src.begin() + SIZE, static_cast(0xAB)); + + auto list = device.get_upload_list(); + list->get_copy().copy_buffer(readback.get(), 0, upload.get(), 0, SIZE); + list->execute_and_wait(); + + auto dst = readback->cpu_data(); + ASSERT_TRUE(dst[0] == static_cast(0xAB)); + ASSERT_TRUE(dst[SIZE - 1] == static_cast(0xAB)); + } + + // Texture content tests + TEST(Core.HAL, RainbowTexture) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 256; + constexpr uint HEIGHT = 64; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1), + HAL::HeapType::DEFAULT); + + // Generate rainbow pixels (hue varies with X) + constexpr uint ROW_STRIDE = WIDTH * 4; + std::vector pixels(WIDTH * HEIGHT * 4); + + for (uint y = 0; y < HEIGHT; ++y) + { + for (uint x = 0; x < WIDTH; ++x) + { + float h = (float)x / WIDTH * 360.0f; + float c = 1.0f; + float xv = c * (1.0f - std::abs(std::fmod(h / 60.0f, 2.0f) - 1.0f)); + float r = 0, g = 0, b = 0; + int hi = (int)(h / 60.0f) % 6; + switch (hi) + { + case 0: r = c; g = xv; b = 0; break; + case 1: r = xv; g = c; b = 0; break; + case 2: r = 0; g = c; b = xv; break; + case 3: r = 0; g = xv; b = c; break; + case 4: r = xv; g = 0; b = c; break; + default: r = c; g = 0; b = xv; break; + } + + size_t idx = ((size_t)y * WIDTH + x) * 4; + pixels[idx + 0] = (uint8_t)(r * 255.0f + 0.5f); + pixels[idx + 1] = (uint8_t)(g * 255.0f + 0.5f); + pixels[idx + 2] = (uint8_t)(b * 255.0f + 0.5f); + pixels[idx + 3] = 255; + } + } + + auto list = device.get_upload_list(); + list->get_copy().update_texture(tex.get(), ivec3(0, 0, 0), ivec3(WIDTH, HEIGHT, 1), 0, + reinterpret_cast(pixels.data()), ROW_STRIDE); + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "rainbow"); + } + + TEST(Core.HAL, VerticalRainbowTexture) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 64; + constexpr uint HEIGHT = 256; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1), + HAL::HeapType::DEFAULT); + + // Generate rainbow pixels (hue varies with Y) + constexpr uint ROW_STRIDE = WIDTH * 4; + std::vector pixels(WIDTH * HEIGHT * 4); + + for (uint y = 0; y < HEIGHT; ++y) + { + float h = (float)y / HEIGHT * 360.0f; + float c = 1.0f; + float xv = c * (1.0f - std::abs(std::fmod(h / 60.0f, 2.0f) - 1.0f)); + float r = 0, g = 0, b = 0; + int hi = (int)(h / 60.0f) % 6; + switch (hi) + { + case 0: r = c; g = xv; b = 0; break; + case 1: r = xv; g = c; b = 0; break; + case 2: r = 0; g = c; b = xv; break; + case 3: r = 0; g = xv; b = c; break; + case 4: r = xv; g = 0; b = c; break; + default: r = c; g = 0; b = xv; break; + } + + uint8_t pr = (uint8_t)(r * 255.0f + 0.5f); + uint8_t pg = (uint8_t)(g * 255.0f + 0.5f); + uint8_t pb = (uint8_t)(b * 255.0f + 0.5f); + + for (uint x = 0; x < WIDTH; ++x) + { + size_t idx = ((size_t)y * WIDTH + x) * 4; + pixels[idx + 0] = pr; + pixels[idx + 1] = pg; + pixels[idx + 2] = pb; + pixels[idx + 3] = 255; + } + } + + auto list = device.get_upload_list(); + list->get_copy().update_texture(tex.get(), ivec3(0, 0, 0), ivec3(WIDTH, HEIGHT, 1), 0, + reinterpret_cast(pixels.data()), ROW_STRIDE); + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "rainbow_vertical"); + } + + TEST(Core.HAL, LoadIconTexture) + { + auto& device = HAL::Device::get(); + + auto file = FileSystem::get().get_file("resources/icon.jpg"); + ASSERT_TRUE(file != nullptr); + + auto td = HAL::texture_data::load_texture(file, 0); + ASSERT_TRUE(td != nullptr); + ASSERT_TRUE(!td->array.empty() && !td->array[0]->mips.empty()); + + auto& mip0 = td->array[0]->mips[0]; + ASSERT_TRUE(mip0->width > 0 && mip0->height > 0); + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(td->format, {mip0->width, mip0->height}, 1, 1), + HAL::HeapType::DEFAULT); + + auto list = device.get_upload_list(); + list->get_copy().update_texture(tex.get(), ivec3(0, 0, 0), + ivec3(mip0->width, mip0->height, 1), 0, + reinterpret_cast(mip0->data.data()), mip0->width_stride); + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "icon"); + } + + // Texture clear tests + TEST(Core.HAL, ClearTextureToColor) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 64; + constexpr uint HEIGHT = 64; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::RenderTarget), + HAL::HeapType::DEFAULT); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"ClearTextureToColor"); + + HAL::Texture2DView view(tex, *list); + + HAL::CompiledRT compiled; + compiled.table_rtv = view.renderTarget; + + list->get_graphics().set_rtv(compiled, + HAL::RTOptions::SetHandles | HAL::RTOptions::ClearColor, + 0, 0, vec4(0.2f, 0.5f, 0.8f, 1.0f)); + + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "clear_color"); + } + + TEST(Core.HAL, ClearIgnoresScissor) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 64; + constexpr uint HEIGHT = 64; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::RenderTarget), + HAL::HeapType::DEFAULT); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"ClearIgnoresScissor"); + + HAL::Texture2DView view(tex, *list); + HAL::CompiledRT compiled; + compiled.table_rtv = view.renderTarget; + + // Fill entire texture with orange as baseline + list->get_graphics().set_rtv(compiled, + HAL::RTOptions::SetHandles | HAL::RTOptions::ClearColor, + 0, 0, vec4(1.0f, 0.5f, 0.0f, 1.0f)); + + // Restrict scissor to top-left quadrant + list->get_graphics().set_scissor({0, 0, (long)(WIDTH / 2), (long)(HEIGHT / 2)}); + + // Clear to blue — should cover the entire texture regardless of scissor + list->get_graphics().set_rtv(compiled, + HAL::RTOptions::ClearColor, + 0, 0, vec4(0.0f, 0.4f, 0.9f, 1.0f)); + + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "clear_scissor"); + } + + TEST(Core.HAL, ClearTextureUAV) + { + auto& device = HAL::Device::get(); + constexpr uint WIDTH = 64; + constexpr uint HEIGHT = 64; + + auto tex = std::make_shared(device, + HAL::ResourceDesc::Tex2D(HAL::Format::R8G8B8A8_UNORM, {WIDTH, HEIGHT}, 1, 1, + HAL::ResFlags::UnorderedAccess), + HAL::HeapType::DEFAULT); + + auto& queue = device.get_queue(HAL::CommandListType::DIRECT); + auto list = queue->get_free_list(); + list->begin(L"ClearTextureUAV"); + + HAL::Texture2DView view(tex, *list); + list->clear_uav(view.rwTexture2D, vec4(0.1f, 0.8f, 0.3f, 1.0f)); + + list->execute_and_wait(); + + ASSERT_TEXTURE(tex.get(), "clear_uav"); + } +} + diff --git a/sources/Test/Tests/Test.Math.Extended.ixx b/sources/Test/Tests/Test.Math.Extended.ixx new file mode 100644 index 00000000..fa32496f --- /dev/null +++ b/sources/Test/Tests/Test.Math.Extended.ixx @@ -0,0 +1,169 @@ +module; + +#include + +export module Test.Math.Extended; + +export import Test.Framework; + +import Core; + +export namespace Test +{ + // quaternion tests + TEST(Core.quaternions, Creation) + { + quat q(0.0f, 0.0f, 0.0f, 1.0f); + ASSERT_EQ(q.x, 0.0f); + ASSERT_EQ(q.y, 0.0f); + ASSERT_EQ(q.z, 0.0f); + ASSERT_EQ(q.w, 1.0f); + } + + TEST(Core.quaternions, Conjugate) + { + quat q(1.0f, 2.0f, 3.0f, 4.0f); + quat conj = q.conjugate(); + ASSERT_EQ(conj.x, -1.0f); + ASSERT_EQ(conj.y, -2.0f); + ASSERT_EQ(conj.z, -3.0f); + ASSERT_EQ(conj.w, 4.0f); + } + + TEST(Core.quaternions, Identity) + { + quat identity(0.0f, 0.0f, 0.0f, 1.0f); + quat q(0.5f, 0.5f, 0.5f, 0.5f); + quat result = identity * q; + ASSERT_TRUE(std::abs(result.w - q.w) < 0.0001f); + ASSERT_TRUE(std::abs(result.x - q.x) < 0.0001f); + } + + // AABB tests + TEST(Core.Geometry, AABB_Creation) + { + vec3 min(0.0f, 0.0f, 0.0f); + vec3 max(1.0f, 1.0f, 1.0f); + AABB box(min, max); + ASSERT_EQ(box.min.x, 0.0f); + ASSERT_EQ(box.max.x, 1.0f); + } + + TEST(Core.Geometry, AABB_Center) + { + vec3 min(-1.0f, -1.0f, -1.0f); + vec3 max(1.0f, 1.0f, 1.0f); + AABB box(min, max); + vec3 center = box.center(); + ASSERT_EQ(center.x, 0.0f); + ASSERT_EQ(center.y, 0.0f); + ASSERT_EQ(center.z, 0.0f); + } + + TEST(Core.Geometry, AABB_Size) + { + vec3 min(0.0f, 0.0f, 0.0f); + vec3 max(2.0f, 3.0f, 4.0f); + AABB box(min, max); + vec3 size = box.size(); + ASSERT_EQ(size.x, 2.0f); + ASSERT_EQ(size.y, 3.0f); + ASSERT_EQ(size.z, 4.0f); + } + + // Sphere tests + TEST(Core.Geometry, Sphere_Creation) + { + vec3 pos(1.0f, 2.0f, 3.0f); + float radius = 5.0f; + Sphere s(pos, radius); + ASSERT_EQ(s.pos.x, 1.0f); + ASSERT_EQ(s.radius, 5.0f); + } + + TEST(Core.Geometry, Sphere_ContainsPoint) + { + vec3 pos(0.0f, 0.0f, 0.0f); + Sphere s(pos, 5.0f); + + vec3 inside(3.0f, 0.0f, 0.0f); + vec3 outside(10.0f, 0.0f, 0.0f); + + float distInside = (inside - s.pos).length(); + float distOutside = (outside - s.pos).length(); + + ASSERT_TRUE(distInside <= s.radius); + ASSERT_TRUE(distOutside > s.radius); + } + + // Ray tests + TEST(Core.Geometry, Ray_Creation) + { + vec3 pos(0.0f, 0.0f, 0.0f); + vec3 dir(1.0f, 0.0f, 0.0f); + Ray r(pos, dir); + ASSERT_EQ(r.pos.x, 0.0f); + ASSERT_EQ(r.dir.x, 1.0f); + } + + TEST(Core.Geometry, Ray_PointAt) + { + vec3 pos(0.0f, 0.0f, 0.0f); + vec3 dir(1.0f, 0.0f, 0.0f); + Ray r(pos, dir); + + vec3 point = r.pos + r.dir * 5.0f; + ASSERT_EQ(point.x, 5.0f); + ASSERT_EQ(point.y, 0.0f); + ASSERT_EQ(point.z, 0.0f); + } + + // Intersection tests + TEST(Core.Intersections, RaySphereIntersection) + { + vec3 RayOrigin(0.0f, 0.0f, 0.0f); + vec3 RayDir(1.0f, 0.0f, 0.0f); + vec3 SphereCenter(5.0f, 0.0f, 0.0f); + float SphereRadius = 2.0f; + + // Ray pointing towards Sphere center should intersect + vec3 toCenter = SphereCenter - RayOrigin; + float distToCenter = toCenter.length(); + ASSERT_TRUE(distToCenter > 0.0f); + ASSERT_TRUE(SphereRadius > 0.0f); + } + + TEST(Core.Intersections, AABBContainsPoint) + { + AABB box(vec3(0.0f, 0.0f, 0.0f), vec3(10.0f, 10.0f, 10.0f)); + vec3 inside(5.0f, 5.0f, 5.0f); + vec3 outside(15.0f, 5.0f, 5.0f); + + bool insideCheck = inside.x >= box.min.x && inside.x <= box.max.x && + inside.y >= box.min.y && inside.y <= box.max.y && + inside.z >= box.min.z && inside.z <= box.max.z; + + bool outsideCheck = outside.x >= box.min.x && outside.x <= box.max.x; + + ASSERT_TRUE(insideCheck); + ASSERT_FALSE(outsideCheck); + } + + TEST(Core.Intersections, AABBOverlap) + { + AABB box1(vec3(0.0f, 0.0f, 0.0f), vec3(5.0f, 5.0f, 5.0f)); + AABB box2(vec3(3.0f, 3.0f, 3.0f), vec3(8.0f, 8.0f, 8.0f)); + AABB box3(vec3(10.0f, 10.0f, 10.0f), vec3(15.0f, 15.0f, 15.0f)); + + bool overlap12 = !(box1.max.x < box2.min.x || box1.min.x > box2.max.x || + box1.max.y < box2.min.y || box1.min.y > box2.max.y || + box1.max.z < box2.min.z || box1.min.z > box2.max.z); + + bool overlap13 = !(box1.max.x < box3.min.x || box1.min.x > box3.max.x || + box1.max.y < box3.min.y || box1.min.y > box3.max.y || + box1.max.z < box3.min.z || box1.min.z > box3.max.z); + + ASSERT_TRUE(overlap12); + ASSERT_FALSE(overlap13); + } +} diff --git a/sources/Test/Tests/Test.Math.ixx b/sources/Test/Tests/Test.Math.ixx new file mode 100644 index 00000000..67c5a8ae --- /dev/null +++ b/sources/Test/Tests/Test.Math.ixx @@ -0,0 +1,56 @@ +module; + +#include + +export module Test.Math; + +export import Test.Framework; + +import stl.core; + +export namespace Test +{ + // Basic arithmetic tests + TEST(Arithmetic, Addition) + { + ASSERT_EQ(2 + 2, 4); + ASSERT_EQ(10 + 5, 15); + ASSERT_EQ(-1 + 1, 0); + } + + TEST(Arithmetic, Subtraction) + { + ASSERT_EQ(5 - 3, 2); + ASSERT_EQ(10 - 10, 0); + ASSERT_EQ(0 - 5, -5); + } + + TEST(Arithmetic, Multiplication) + { + ASSERT_EQ(3 * 4, 12); + ASSERT_EQ(0 * 100, 0); + ASSERT_EQ(-2 * 3, -6); + } + + TEST(Arithmetic, Division) + { + ASSERT_EQ(10 / 2, 5); + ASSERT_EQ(100 / 4, 25); + ASSERT_EQ(7 / 2, 3); + } + + TEST(Arithmetic, FloatingPoint) + { + float a = 1.5f + 2.5f; + float expected = 4.0f; + ASSERT_TRUE(std::abs(a - expected) < 0.0001f); + } + + TEST(Arithmetic, Comparison) + { + ASSERT_TRUE(5 > 3); + ASSERT_TRUE(3 < 5); + ASSERT_EQ(5, 5); + ASSERT_NE(5, 3); + } +} diff --git a/sources/Test/Tests/Test.Profiling.ixx b/sources/Test/Tests/Test.Profiling.ixx new file mode 100644 index 00000000..a1796075 --- /dev/null +++ b/sources/Test/Tests/Test.Profiling.ixx @@ -0,0 +1,212 @@ +export module Test.Profiling; + +export import Test.Framework; + +import Core; + +namespace { + void busy_wait_ms(int milliseconds) { + auto start = std::chrono::high_resolution_clock::now(); + while (true) { + auto now = std::chrono::high_resolution_clock::now(); + auto elapsed = std::chrono::duration_cast(now - start).count(); + if (elapsed >= milliseconds) break; + } + } +} + +export namespace Test +{ + // Performance counter collection tests + TEST(Core.Profiling, CPUCounterCreation) + { + CPUCounter counter; + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, CPUCounterTimeMeasurement) + { + CPUCounter counter; + counter.start_time = std::chrono::high_resolution_clock::now(); + busy_wait_ms(10); + counter.end_time = std::chrono::high_resolution_clock::now(); + + auto elapsed = counter.get_lapsed_time(); + ASSERT_TRUE(elapsed.count() >= 0.01); + } + + TEST(Core.Profiling, TimedBlockCreation) + { + auto block = std::make_shared(L"test_block", nullptr); + ASSERT_TRUE(block != nullptr); + ASSERT_TRUE(block->level == 0); + } + + TEST(Core.Profiling, TimedBlockHierarchy) + { + auto parent = std::make_shared(L"parent", nullptr); + auto child = std::make_shared(L"child", parent.get()); + + ASSERT_TRUE(parent->level == 0); + ASSERT_TRUE(child->level == 1); + ASSERT_EQ(child->parent, parent.get()); + } + + TEST(Core.Profiling, TimerBasicFunctionality) + { + auto timer = Profiler::get().start(L"test_timer"); + busy_wait_ms(5); + } + + TEST(Core.Profiling, TimerElapsedTime) + { + TimedBlock::ptr block_ptr; + { + auto timer = Profiler::get().start(L"elapsed_test"); + block_ptr = std::make_shared(L"test", nullptr); + busy_wait_ms(5); + } + + ASSERT_TRUE(block_ptr != nullptr); + } + + TEST(Core.Profiling, TimerMultipleScopes) + { + { + auto timer1 = Profiler::get().start(L"scope1"); + busy_wait_ms(5); + } + + { + auto timer2 = Profiler::get().start(L"scope2"); + busy_wait_ms(5); + } + + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, NestedTimers) + { + auto outer = Profiler::get().start(L"outer"); + { + auto inner = Profiler::get().start(L"inner"); + busy_wait_ms(3); + } + busy_wait_ms(2); + } + + TEST(Core.Profiling, TimerDisabled) + { + bool original_state = Profiler::get().enabled; + Profiler::get().enabled = false; + + auto timer = Profiler::get().start(L"disabled_timer"); + ASSERT_TRUE(true); + + Profiler::get().enabled = original_state; + } + + TEST(Core.Profiling, ScopedCounterCreation) + { + { + ScopedCounter counter("test_counter"); + busy_wait_ms(5); + } + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, ProfilerGetCurrent) + { + auto current_before = Profiler::get().get_current(); + { + auto timer = Profiler::get().start(L"current_test"); + auto current_inside = Profiler::get().get_current(); + ASSERT_TRUE(current_inside != nullptr); + } + auto current_after = Profiler::get().get_current(); + ASSERT_EQ(current_before, current_after); + } + + TEST(Core.Profiling, DeepTimerNesting) + { + auto level0 = Profiler::get().start(L"level0"); + { + auto level1 = Profiler::get().start(L"level1"); + { + auto level2 = Profiler::get().start(L"level2"); + { + auto level3 = Profiler::get().start(L"level3"); + busy_wait_ms(2); + } + } + } + + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, TimerRootPointer) + { + auto timer = Profiler::get().start(L"root_test"); + ASSERT_TRUE(timer.get_root() == &Profiler::get()); + } + + TEST(Core.Profiling, TimedBlockNameStorage) + { + auto block = std::make_shared(L"named_block", nullptr); + ASSERT_TRUE(block->get_name() == std::wstring_view(L"named_block")); + } + + TEST(Core.Profiling, PerformanceCounterAccuracy) + { + CPUCounter counter; + counter.start_time = std::chrono::high_resolution_clock::now(); + busy_wait_ms(5); + counter.end_time = std::chrono::high_resolution_clock::now(); + + auto elapsed = counter.get_lapsed_time(); + ASSERT_TRUE(elapsed.count() >= 0); + ASSERT_TRUE(elapsed.count() < 1.0); + } + + TEST(Core.Profiling, TimerMoveSemantics) + { + Timer timer1 = Profiler::get().start(L"movable"); + Timer timer2 = std::move(timer1); + + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, MultipleTimersSequential) + { + for (int i = 0; i < 5; ++i) { + auto timer = Profiler::get().start(L"sequential"); + busy_wait_ms(2); + } + ASSERT_TRUE(true); + } + + TEST(Core.Profiling, TimerWithinLoop) + { + std::atomic iterations(0); + + for (int i = 0; i < 10; ++i) { + auto timer = Profiler::get().start(L"loop_timer"); + iterations.fetch_add(1, std::memory_order_relaxed); + } + + ASSERT_EQ(iterations.load(std::memory_order_relaxed), 10); + } + + TEST(Core.Profiling, TimedBlockChaining) + { + auto root = std::make_shared(L"root", nullptr); + auto child1 = std::make_shared(L"child1", root.get()); + auto child2 = std::make_shared(L"child2", root.get()); + auto grandchild = std::make_shared(L"grandchild", child1.get()); + + ASSERT_TRUE(root->level == 0); + ASSERT_TRUE(child1->level == 1); + ASSERT_TRUE(child2->level == 1); + ASSERT_TRUE(grandchild->level == 2); + } +} diff --git a/sources/Test/Tests/Test.Serialization.ixx b/sources/Test/Tests/Test.Serialization.ixx new file mode 100644 index 00000000..5c29635d --- /dev/null +++ b/sources/Test/Tests/Test.Serialization.ixx @@ -0,0 +1,601 @@ +export module Test.Serialization; + +import Test.Framework; + +import Core; + +export namespace Test +{ + // Test classes for complex serialization + struct SimpleData + { + int intValue = 0; + float floatValue = 0.0f; + std::string name; + vec3 position; + + SERIALIZE() + { + ar& NVP(intValue)& NVP(floatValue)& NVP(name)& NVP(position); + } + + bool operator==(const SimpleData& other) const + { + return intValue == other.intValue && + floatValue == other.floatValue && + name == other.name && + position.x == other.position.x && + position.y == other.position.y && + position.z == other.position.z; + } + + friend std::ostream& operator<<(std::ostream& os, const SimpleData& data) + { + os << "SimpleData{int:" << data.intValue << ",float:" << data.floatValue + << ",name:" << data.name << "}"; + return os; + } + }; + + struct NestedData + { + SimpleData simple; + std::string description; + quat rotation; + mat4x4 transform; + + SERIALIZE() + { + ar& NVP(simple)& NVP(description)& NVP(rotation)& NVP(transform); + } + + bool operator==(const NestedData& other) const + { + return simple == other.simple && + description == other.description && + rotation.x == other.rotation.x && + rotation.y == other.rotation.y && + rotation.z == other.rotation.z && + rotation.w == other.rotation.w; + } + + friend std::ostream& operator<<(std::ostream& os, const NestedData& data) + { + os << "NestedData{description:" << data.description << "}"; + return os; + } + }; + + // Classes with inheritance for serialization testing + struct BaseEntity + { + int id = 0; + std::string entityType; + vec3 position; + + virtual ~BaseEntity() = default; + + SERIALIZE() + { + ar& NVP(id)& NVP(entityType)& NVP(position); + } + + virtual std::string GetTypeName() const { return "BaseEntity"; } + + bool operator==(const BaseEntity& other) const + { + return id == other.id && + entityType == other.entityType && + position.x == other.position.x && + position.y == other.position.y && + position.z == other.position.z; + } + + friend std::ostream& operator<<(std::ostream& os, const BaseEntity& data) + { + os << "BaseEntity{id:" << data.id << ",type:" << data.entityType << "}"; + return os; + } + }; + + struct DerivedEntity : public BaseEntity + { + float health = 100.0f; + std::string name; + quat orientation; + + SERIALIZE() + { + SAVE_PARENT(BaseEntity); + ar& NVP(health)& NVP(name)& NVP(orientation); + } + + std::string GetTypeName() const override { return "DerivedEntity"; } + + bool operator==(const DerivedEntity& other) const + { + return BaseEntity::operator==(other) && + health == other.health && + name == other.name && + orientation.x == other.orientation.x && + orientation.y == other.orientation.y && + orientation.z == other.orientation.z && + orientation.w == other.orientation.w; + } + + friend std::ostream& operator<<(std::ostream& os, const DerivedEntity& data) + { + os << "DerivedEntity{id:" << data.id << ",name:" << data.name + << ",health:" << data.health << "}"; + return os; + } + }; + + struct Component + { + std::string componentName; + bool enabled = true; + + virtual ~Component() = default; + + SERIALIZE() + { + ar& NVP(componentName)& NVP(enabled); + } + + virtual std::string GetComponentType() const { return "Component"; } + + bool operator==(const Component& other) const + { + return componentName == other.componentName && enabled == other.enabled; + } + + friend std::ostream& operator<<(std::ostream& os, const Component& data) + { + os << "Component{" << data.componentName << "}"; + return os; + } + }; + + struct GameObject : public BaseEntity + { + Component component; + std::vector tags; + + SERIALIZE() + { + SAVE_PARENT(BaseEntity); + ar& NVP(component)& NVP(tags); + } + + std::string GetTypeName() const override { return "GameObject"; } + + bool operator==(const GameObject& other) const + { + return BaseEntity::operator==(other) && + component == other.component && + tags == other.tags; + } + + friend std::ostream& operator<<(std::ostream& os, const GameObject& data) + { + os << "GameObject{id:" << data.id << ",tags:" << data.tags.size() << "}"; + return os; + } + }; + + // Basic types serialization tests + TEST(Core.Serialization, SerializeInt) + { + int original = 42; + std::string serialized = Serializer::serialize_simple(original); + ASSERT_TRUE(serialized.length() > 0); + } + + TEST(Core.Serialization, SerializeFloat) + { + float original = 3.14159f; + std::string serialized = Serializer::serialize_simple(original); + ASSERT_TRUE(serialized.length() > 0); + } + + TEST(Core.Serialization, SerializeString) + { + std::string original = "Hello, Serialization!"; + std::string serialized = Serializer::serialize_simple(original); + ASSERT_TRUE(serialized.length() > 0); + } + + TEST(Core.Serialization, SerializeVec3) + { + vec3 original(1.5f, 2.5f, 3.5f); + std::string serialized = Serializer::serialize_simple(original); + ASSERT_TRUE(serialized.length() > 0); + } + + // Round-trip serialization tests + TEST(Core.Serialization, RoundTripInt) + { + int original = 12345; + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + + TEST(Core.Serialization, RoundTripFloat) + { + float original = 2.71828f; + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_TRUE(std::abs(*deserialized - original) < 0.0001f); + } + + TEST(Core.Serialization, RoundTripString) + { + std::string original = "Test String with Spaces"; + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + + TEST(Core.Serialization, RoundTripVec3) + { + vec3 original(1.0f, 2.0f, 3.0f); + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(deserialized->x, original.x); + ASSERT_EQ(deserialized->y, original.y); + ASSERT_EQ(deserialized->z, original.z); + } + + TEST(Core.Serialization, RoundTripMat4x4) + { + mat4x4 original; + original.identity(); + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + for (int i = 0; i < 16; ++i) + { + ASSERT_TRUE(std::abs(original.elems[i] - deserialized->elems[i]) < 0.0001f); + } + } + + TEST(Core.Serialization, RoundTripQuat) + { + quat original(0.0f, 0.0f, 0.0f, 1.0f); + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(deserialized->x, original.x); + ASSERT_EQ(deserialized->y, original.y); + ASSERT_EQ(deserialized->z, original.z); + ASSERT_EQ(deserialized->w, original.w); + } + + // Data integrity tests + TEST(Core.Serialization, IntegritySmallValues) + { + int values[] = { -1, 0, 1, 100, -100 }; + for (int val : values) + { + std::string serialized = Serializer::serialize(val); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, val); + } + } + + TEST(Core.Serialization, IntegrityLargeValues) + { + int values[] = { 2147483647, -2147483647 }; + for (int val : values) + { + std::string serialized = Serializer::serialize(val); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, val); + } + } + + TEST(Core.Serialization, IntegrityVec3Extreme) + { + vec3 values[] = { + vec3(0.0f, 0.0f, 0.0f), + vec3(-1.0f, -1.0f, -1.0f), + vec3(1000.0f, 1000.0f, 1000.0f), + vec3(-1000.0f, -1000.0f, -1000.0f) + }; + for (const auto& original : values) + { + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_TRUE(std::abs(deserialized->x - original.x) < 0.0001f); + ASSERT_TRUE(std::abs(deserialized->y - original.y) < 0.0001f); + ASSERT_TRUE(std::abs(deserialized->z - original.z) < 0.0001f); + } + } + + TEST(Core.Serialization, IntegrityEmptyString) + { + std::string original = ""; + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + + TEST(Core.Serialization, IntegrityLongString) + { + std::string original = "This is a much longer string with more characters to test serialization with longer data"; + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + + // Complex object serialization tests + TEST(Core.Serialization, SerializeSimpleObject) + { + SimpleData original; + original.intValue = 42; + original.floatValue = 3.14f; + original.name = "TestObject"; + original.position = vec3(1.0f, 2.0f, 3.0f); + + std::string serialized = Serializer::serialize(original); + ASSERT_TRUE(serialized.length() > 0); + } + + TEST(Core.Serialization, RoundTripSimpleObject) + { + SimpleData original; + original.intValue = 42; + original.floatValue = 3.14f; + original.name = "TestObject"; + original.position = vec3(1.0f, 2.0f, 3.0f); + + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(deserialized->intValue, original.intValue); + ASSERT_TRUE(std::abs(deserialized->floatValue - original.floatValue) < 0.0001f); + ASSERT_EQ(deserialized->name, original.name); + ASSERT_EQ(deserialized->position.x, original.position.x); + ASSERT_EQ(deserialized->position.y, original.position.y); + ASSERT_EQ(deserialized->position.z, original.position.z); + } + + TEST(Core.Serialization, SerializeNestedObject) + { + NestedData original; + original.simple.intValue = 100; + original.simple.floatValue = 2.71f; + original.simple.name = "NestedSimple"; + original.simple.position = vec3(5.0f, 6.0f, 7.0f); + original.description = "This is a nested object"; + original.rotation = quat(0.0f, 0.0f, 0.0f, 1.0f); + original.transform.identity(); + + std::string serialized = Serializer::serialize(original); + ASSERT_TRUE(serialized.length() > 0); + } + + TEST(Core.Serialization, RoundTripNestedObject) + { + NestedData original; + original.simple.intValue = 100; + original.simple.floatValue = 2.71f; + original.simple.name = "NestedSimple"; + original.simple.position = vec3(5.0f, 6.0f, 7.0f); + original.description = "This is a nested object"; + original.rotation = quat(0.0f, 0.0f, 0.0f, 1.0f); + original.transform.identity(); + + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + + ASSERT_TRUE(deserialized != nullptr); + + // Check nested simple object + ASSERT_EQ(deserialized->simple.intValue, original.simple.intValue); + ASSERT_TRUE(std::abs(deserialized->simple.floatValue - original.simple.floatValue) < 0.0001f); + ASSERT_EQ(deserialized->simple.name, original.simple.name); + ASSERT_EQ(deserialized->simple.position.x, original.simple.position.x); + ASSERT_EQ(deserialized->simple.position.y, original.simple.position.y); + ASSERT_EQ(deserialized->simple.position.z, original.simple.position.z); + + // Check nested description + ASSERT_EQ(deserialized->description, original.description); + + // Check nested rotation + ASSERT_EQ(deserialized->rotation.x, original.rotation.x); + ASSERT_EQ(deserialized->rotation.y, original.rotation.y); + ASSERT_EQ(deserialized->rotation.z, original.rotation.z); + ASSERT_EQ(deserialized->rotation.w, original.rotation.w); + + // Check nested transform + for (int i = 0; i < 16; ++i) + { + ASSERT_TRUE(std::abs(deserialized->transform.elems[i] - original.transform.elems[i]) < 0.0001f); + } + } + + TEST(Core.Serialization, ComplexObjectIntegrity) + { + SimpleData values[] = { + {1, 1.5f, "First", vec3(1.0f, 0.0f, 0.0f)}, + {-50, -3.14f, "Second", vec3(0.0f, 1.0f, 0.0f)}, + {999, 100.0f, "Third", vec3(0.0f, 0.0f, 1.0f)} + }; + + for (const auto& original : values) + { + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + } + + // Inheritance and polymorphism serialization tests + TEST(Core.Serialization, SerializeBaseEntity) + { + BaseEntity entity; + entity.id = 1; + entity.entityType = "Enemy"; + entity.position = vec3(10.0f, 5.0f, 0.0f); + + std::string serialized = Serializer::serialize(entity); + ASSERT_TRUE(serialized.length() > 0); + ASSERT_EQ(entity.GetTypeName(), std::string("BaseEntity")); + } + + TEST(Core.Serialization, RoundTripBaseEntity) + { + BaseEntity original; + original.id = 42; + original.entityType = "NPC"; + original.position = vec3(15.0f, 20.0f, 25.0f); + + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(deserialized->id, original.id); + ASSERT_EQ(deserialized->entityType, original.entityType); + ASSERT_EQ(deserialized->position.x, original.position.x); + ASSERT_EQ(deserialized->position.y, original.position.y); + ASSERT_EQ(deserialized->position.z, original.position.z); + } + + TEST(Core.Serialization, SerializeDerivedEntity) + { + DerivedEntity entity; + entity.id = 100; + entity.entityType = "Player"; + entity.position = vec3(0.0f, 1.0f, 0.0f); + entity.health = 85.5f; + entity.name = "Hero"; + entity.orientation = quat(0.0f, 0.0f, 0.7071f, 0.7071f); + + std::string serialized = Serializer::serialize(entity); + ASSERT_TRUE(serialized.length() > 0); + ASSERT_EQ(entity.GetTypeName(), std::string("DerivedEntity")); + } + + TEST(Core.Serialization, RoundTripDerivedEntity) + { + DerivedEntity original; + original.id = 200; + original.entityType = "Boss"; + original.position = vec3(50.0f, 100.0f, 75.0f); + original.health = 250.0f; + original.name = "GreatDragon"; + original.orientation = quat(0.0f, 0.0f, 0.0f, 1.0f); + + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + + ASSERT_TRUE(deserialized != nullptr); + // Check base class members + ASSERT_EQ(deserialized->id, original.id); + ASSERT_EQ(deserialized->entityType, original.entityType); + ASSERT_EQ(deserialized->position.x, original.position.x); + // Check derived class members + ASSERT_TRUE(std::abs(deserialized->health - original.health) < 0.0001f); + ASSERT_EQ(deserialized->name, original.name); + ASSERT_EQ(deserialized->orientation.x, original.orientation.x); + ASSERT_EQ(deserialized->orientation.w, original.orientation.w); + } + + TEST(Core.Serialization, SerializeGameObject) + { + GameObject gameObj; + gameObj.id = 300; + gameObj.entityType = "Item"; + gameObj.position = vec3(5.0f, 5.0f, 5.0f); + gameObj.component.componentName = "PhysicsComponent"; + gameObj.component.enabled = true; + gameObj.tags.push_back("Collectible"); + gameObj.tags.push_back("Item"); + + std::string serialized = Serializer::serialize(gameObj); + ASSERT_TRUE(serialized.length() > 0); + ASSERT_EQ(gameObj.GetTypeName(), std::string("GameObject")); + } + + TEST(Core.Serialization, RoundTripGameObject) + { + GameObject original; + original.id = 400; + original.entityType = "Chest"; + original.position = vec3(30.0f, 10.0f, 20.0f); + original.component.componentName = "TriggerComponent"; + original.component.enabled = false; + original.tags.push_back("Interactive"); + original.tags.push_back("Loot"); + original.tags.push_back("Trap"); + + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + + ASSERT_TRUE(deserialized != nullptr); + // Check base entity members + ASSERT_EQ(deserialized->id, original.id); + ASSERT_EQ(deserialized->entityType, original.entityType); + ASSERT_EQ(deserialized->position.x, original.position.x); + // Check component members + ASSERT_EQ(deserialized->component.componentName, original.component.componentName); + ASSERT_EQ(deserialized->component.enabled, original.component.enabled); + // Check tags + ASSERT_EQ(deserialized->tags.size(), original.tags.size()); + for (size_t i = 0; i < original.tags.size(); ++i) + { + ASSERT_EQ(deserialized->tags[i], original.tags[i]); + } + } + + TEST(Core.Serialization, InheritanceIntegrity) + { + DerivedEntity entity1; + entity1.id = 100; + entity1.entityType = "Player"; + entity1.position = vec3(0.0f, 0.0f, 0.0f); + entity1.health = 100.0f; + entity1.name = "Warrior"; + entity1.orientation = quat(0.0f, 0.0f, 0.0f, 1.0f); + + DerivedEntity entity2; + entity2.id = 101; + entity2.entityType = "Player"; + entity2.position = vec3(10.0f, 10.0f, 10.0f); + entity2.health = 75.5f; + entity2.name = "Mage"; + entity2.orientation = quat(0.0f, 0.0f, 0.0f, 1.0f); + + DerivedEntity entity3; + entity3.id = 102; + entity3.entityType = "NPC"; + entity3.position = vec3(-5.0f, -5.0f, -5.0f); + entity3.health = 50.0f; + entity3.name = "Merchant"; + entity3.orientation = quat(0.0f, 0.0f, 0.0f, 1.0f); + + DerivedEntity entities[] = {entity1, entity2, entity3}; + + for (const auto& original : entities) + { + std::string serialized = Serializer::serialize(original); + auto deserialized = Serializer::deserialize(serialized); + ASSERT_TRUE(deserialized != nullptr); + ASSERT_EQ(*deserialized, original); + } + } +} diff --git a/sources/Test/Tests/Test.Threading.ixx b/sources/Test/Tests/Test.Threading.ixx new file mode 100644 index 00000000..dee5f7ab --- /dev/null +++ b/sources/Test/Tests/Test.Threading.ixx @@ -0,0 +1,311 @@ +export module Test.Threading; + +export import Test.Framework; + +import Core; + +export namespace Test +{ + // Thread pool task execution tests + TEST(Core.Threading, ThreadPoolSimpleTask) + { + auto result = thread_pool::get().enqueue([]() { return 42; }); + int value = result.get(); + ASSERT_EQ(value, 42); + } + + TEST(Core.Threading, ThreadPoolMultipleTasks) + { + auto result1 = thread_pool::get().enqueue([]() { return 10; }); + auto result2 = thread_pool::get().enqueue([]() { return 20; }); + auto result3 = thread_pool::get().enqueue([]() { return 30; }); + + int val1 = result1.get(); + int val2 = result2.get(); + int val3 = result3.get(); + + ASSERT_EQ(val1, 10); + ASSERT_EQ(val2, 20); + ASSERT_EQ(val3, 30); + } + + TEST(Core.Threading, ThreadPoolVoidTask) + { + std::atomic counter(0); + auto task = thread_pool::get().enqueue([&counter]() { + counter.fetch_add(1, std::memory_order_relaxed); + }); + task.get(); + ASSERT_EQ(counter.load(std::memory_order_relaxed), 1); + } + + TEST(Core.Threading, ThreadPoolStringTask) + { + auto result = thread_pool::get().enqueue([]() { + return std::string("ThreadPool"); + }); + std::string value = result.get(); + ASSERT_EQ(value, std::string("ThreadPool")); + } + + TEST(Core.Threading, ThreadPoolFloatTask) + { + auto result = thread_pool::get().enqueue([]() { + return 3.14159f; + }); + float value = result.get(); + ASSERT_TRUE(std::abs(value - 3.14159f) < 0.0001f); + } + + TEST(Core.Threading, ThreadPoolVec3Task) + { + auto result = thread_pool::get().enqueue([]() { + return vec3(1.0f, 2.0f, 3.0f); + }); + vec3 value = result.get(); + ASSERT_EQ(value.x, 1.0f); + ASSERT_EQ(value.y, 2.0f); + ASSERT_EQ(value.z, 3.0f); + } + + TEST(Core.Threading, ThreadPoolConcurrency) + { + std::atomic completed(0); + std::vector> futures; + + for (int i = 0; i < 10; ++i) + { + futures.push_back(thread_pool::get().enqueue([i, &completed]() { + std::this_thread::sleep_for(std::chrono::milliseconds(10)); + completed.fetch_add(1, std::memory_order_relaxed); + return i; + })); + } + + for (int i = 0; i < 10; ++i) + { + int val = futures[i].get(); + ASSERT_EQ(val, i); + } + ASSERT_EQ(completed.load(std::memory_order_relaxed), 10); + } + + // Scheduler tests + TEST(Core.Threading, SchedulerImmediateExecution) + { + std::atomic executed(0); + auto result = scheduler::get().enqueue_now([&executed]() { + executed.store(1, std::memory_order_relaxed); + }); + result.get(); + ASSERT_EQ(executed.load(std::memory_order_relaxed), 1); + } + + TEST(Core.Threading, SchedulerDelayedExecution) + { + std::atomic executed(0); + auto now = std::chrono::steady_clock::now(); + auto future_time = now + std::chrono::milliseconds(100); + + auto result = scheduler::get().enqueue([&executed]() { + executed.store(1, std::memory_order_relaxed); + }, future_time); + + result.get(); + ASSERT_EQ(executed.load(std::memory_order_relaxed), 1); + } + + TEST(Core.Threading, SchedulerMultipleTasks) + { + std::atomic count(0); + std::vector> futures; + + for (int i = 0; i < 5; ++i) + { + futures.push_back(scheduler::get().enqueue_now([&count]() { + count.fetch_add(1, std::memory_order_relaxed); + })); + } + + for (auto& f : futures) + { + f.get(); + } + ASSERT_EQ(count.load(std::memory_order_relaxed), 5); + } + + // Synchronization primitives tests + TEST(Core.Threading, SpinLockBasic) + { + SpinLock lock; + lock.lock(); + ASSERT_TRUE(true); + lock.unlock(); + ASSERT_TRUE(true); + } + + TEST(Core.Threading, SpinLockProtection) + { + SpinLock lock; + int shared_value = 0; + + { + std::lock_guard guard(lock); + shared_value = 42; + } + + { + std::lock_guard guard(lock); + ASSERT_EQ(shared_value, 42); + } + } + + TEST(Core.Threading, SpinLockConcurrentAccess) + { + SpinLock lock; + std::atomic counter(0); + std::vector> futures; + + for (int i = 0; i < 10; ++i) + { + futures.push_back(thread_pool::get().enqueue([&lock, &counter]() { + for (int j = 0; j < 10; ++j) + { + std::lock_guard guard(lock); + counter.fetch_add(1, std::memory_order_relaxed); + } + })); + } + + for (auto& f : futures) + { + f.get(); + } + ASSERT_EQ(counter.load(std::memory_order_relaxed), 100); + } + + TEST(Core.Threading, LockableGuard) + { + using Guard = Thread::Lockable::guard; + using Mutex = Thread::Lockable::mutex; + + Mutex mtx; + int value = 0; + + { + Guard guard(mtx); + value = 100; + } + + { + Guard guard(mtx); + ASSERT_EQ(value, 100); + } + } + + TEST(Core.Threading, AtomicOperations) + { + std::atomic value(0); + + auto result1 = thread_pool::get().enqueue([&value]() { + for (int i = 0; i < 100; ++i) + { + value.fetch_add(1, std::memory_order_relaxed); + } + }); + + auto result2 = thread_pool::get().enqueue([&value]() { + for (int i = 0; i < 100; ++i) + { + value.fetch_add(1, std::memory_order_relaxed); + } + }); + + result1.get(); + result2.get(); + + ASSERT_EQ(value.load(std::memory_order_relaxed), 200); + } + + TEST(Core.Threading, ThreadLocalStorage) + { + static thread_local int tls_value = 0; + + auto result1 = thread_pool::get().enqueue([&]() { + tls_value = 42; + return tls_value; + }); + + auto result2 = thread_pool::get().enqueue([&]() { + tls_value = 100; + return tls_value; + }); + + int val1 = result1.get(); + int val2 = result2.get(); + + ASSERT_EQ(val1, 42); + ASSERT_EQ(val2, 100); + } + + TEST(Core.Threading, TaskReturnTypes) + { + // Test void return + auto void_task = thread_pool::get().enqueue([]() { }); + void_task.get(); + + // Test int return + auto int_task = thread_pool::get().enqueue([]() { return 123; }); + ASSERT_EQ(int_task.get(), 123); + + // Test bool return + auto bool_task = thread_pool::get().enqueue([]() { return true; }); + ASSERT_TRUE(bool_task.get()); + + // Test string return + auto string_task = thread_pool::get().enqueue([]() { return std::string("result"); }); + ASSERT_EQ(string_task.get(), std::string("result")); + } + + TEST(Core.Threading, ConcurrentTaskOrdering) + { + std::vector results; + std::mutex results_mutex; + std::vector> futures; + + for (int i = 0; i < 5; ++i) + { + futures.push_back(thread_pool::get().enqueue([i, &results, &results_mutex]() { + std::lock_guard lock(results_mutex); + results.push_back(i); + })); + } + + for (auto& f : futures) + { + f.get(); + } + + ASSERT_EQ(results.size(), static_cast(5)); + } + + TEST(Core.Threading, ExceptionHandling) + { + bool caught_exception = false; + auto result = thread_pool::get().enqueue([]() -> int { + throw std::runtime_error("test error"); + return 0; + }); + + try + { + + result.get(); + } + catch (const std::exception&) + { + caught_exception = true; + } + ASSERT_TRUE(caught_exception); + } +} diff --git a/sources/Test/main.cpp b/sources/Test/main.cpp index 1bb8560e..0b5aa421 100644 --- a/sources/Test/main.cpp +++ b/sources/Test/main.cpp @@ -1,24 +1,32 @@ -#include -#include +import Test.Framework; +import Test.Math; +import Test.Core; +import Test.Math.Extended; +import Test.Serialization; +import Test.Threading; +import Test.Events; +import Test.FileSystem; +import Test.Profiling; +import Test.HAL; +import Core; -import testmodule; - - -struct local_vec +void SetupLogging() { - int x; - int y; -}; + //Log::create(); + FileTXTLogger::create(); + VSOutputLogger::create(); + StdoutLogger::create(); + Log::get().set_logging_level(Log::LEVEL_ALL); +} -int WinMain(HINSTANCE, - HINSTANCE, - LPTSTR, - int) +int main() { - std::vector data = { 1,2,3,4,5 }; + SetupLogging(); - std::vector data2 = { {1,2}, {3,4} }; - std::vector data3 = { {1,2}, {3,4} }; + auto results = Test::TestRegistry::Instance().RunAll(); + Test::TestRegistry::Instance().PrintResults(results); - return 0; -} \ No newline at end of file + bool any_failed = std::any_of(results.begin(), results.end(), + [](const Test::TestResult& r) { return !r.passed && !r.skipped; }); + return (results.empty() || any_failed) ? 1 : 0; +} diff --git a/vcpkg.json b/vcpkg.json index 5b382d1e..17d89a52 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -12,10 +12,10 @@ "crc32c", "cereal", "dstorage", - "directx-dxc", "jinja2cpp", - {"name" :"directx12-agility", "version>=":"1.618.1"}, - {"name" :"directx-headers", "version>=":"1.616.0"}, + {"name" :"directx-dxc", "version>=":"2026-02-20"}, + {"name" :"directx12-agility", "version>=":"1.619.3"}, + {"name" :"directx-headers", "version>=":"1.619.1"}, "bshoshany-thread-pool" ], diff --git a/workdir/main.cpp b/workdir/main.cpp deleted file mode 100644 index 8c3ee608..00000000 --- a/workdir/main.cpp +++ /dev/null @@ -1 +0,0 @@ -int a = 5; \ No newline at end of file diff --git a/workdir/resources/icon.jpg b/workdir/resources/icon.jpg new file mode 100644 index 00000000..6a80e61c Binary files /dev/null and b/workdir/resources/icon.jpg differ diff --git a/workdir/shaders/autogen/BRDF.h b/workdir/shaders/autogen/BRDF.h index 255c918b..115708b9 100644 --- a/workdir/shaders/autogen/BRDF.h +++ b/workdir/shaders/autogen/BRDF.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/BlueNoise.h b/workdir/shaders/autogen/BlueNoise.h index 4e08f1c9..e8ca305e 100644 --- a/workdir/shaders/autogen/BlueNoise.h +++ b/workdir/shaders/autogen/BlueNoise.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/Color.h b/workdir/shaders/autogen/Color.h index 1ef8c129..47307fab 100644 --- a/workdir/shaders/autogen/Color.h +++ b/workdir/shaders/autogen/Color.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/ColorRect.h b/workdir/shaders/autogen/ColorRect.h index 8ca4243f..550cc045 100644 --- a/workdir/shaders/autogen/ColorRect.h +++ b/workdir/shaders/autogen/ColorRect.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/CopyTexture.h b/workdir/shaders/autogen/CopyTexture.h index 69abdad6..23219b06 100644 --- a/workdir/shaders/autogen/CopyTexture.h +++ b/workdir/shaders/autogen/CopyTexture.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/Countour.h b/workdir/shaders/autogen/Countour.h index 3955b37c..889e0c24 100644 --- a/workdir/shaders/autogen/Countour.h +++ b/workdir/shaders/autogen/Countour.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DebugInfo.h b/workdir/shaders/autogen/DebugInfo.h index e5a69b88..1faf6b5b 100644 --- a/workdir/shaders/autogen/DebugInfo.h +++ b/workdir/shaders/autogen/DebugInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_3 #define SLOT_3 #else diff --git a/workdir/shaders/autogen/DenoiserDownsample.h b/workdir/shaders/autogen/DenoiserDownsample.h index 581dc80a..2dce80f4 100644 --- a/workdir/shaders/autogen/DenoiserDownsample.h +++ b/workdir/shaders/autogen/DenoiserDownsample.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/DenoiserHistoryFix.h b/workdir/shaders/autogen/DenoiserHistoryFix.h index ca699289..15e6b385 100644 --- a/workdir/shaders/autogen/DenoiserHistoryFix.h +++ b/workdir/shaders/autogen/DenoiserHistoryFix.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/DenoiserReflectionCommon.h b/workdir/shaders/autogen/DenoiserReflectionCommon.h index a2458fb2..13095f63 100644 --- a/workdir/shaders/autogen/DenoiserReflectionCommon.h +++ b/workdir/shaders/autogen/DenoiserReflectionCommon.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DenoiserReflectionPrefilter.h b/workdir/shaders/autogen/DenoiserReflectionPrefilter.h index 2fd6889b..7a3fc026 100644 --- a/workdir/shaders/autogen/DenoiserReflectionPrefilter.h +++ b/workdir/shaders/autogen/DenoiserReflectionPrefilter.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DenoiserReflectionReproject.h b/workdir/shaders/autogen/DenoiserReflectionReproject.h index 3bbde881..31559586 100644 --- a/workdir/shaders/autogen/DenoiserReflectionReproject.h +++ b/workdir/shaders/autogen/DenoiserReflectionReproject.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DenoiserReflectionResolve.h b/workdir/shaders/autogen/DenoiserReflectionResolve.h index a673ae14..37a6fd93 100644 --- a/workdir/shaders/autogen/DenoiserReflectionResolve.h +++ b/workdir/shaders/autogen/DenoiserReflectionResolve.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DenoiserShadow_Filter.h b/workdir/shaders/autogen/DenoiserShadow_Filter.h index 320e3365..f0458b7a 100644 --- a/workdir/shaders/autogen/DenoiserShadow_Filter.h +++ b/workdir/shaders/autogen/DenoiserShadow_Filter.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DenoiserShadow_FilterLast.h b/workdir/shaders/autogen/DenoiserShadow_FilterLast.h index 85c0bbe5..d0877b1f 100644 --- a/workdir/shaders/autogen/DenoiserShadow_FilterLast.h +++ b/workdir/shaders/autogen/DenoiserShadow_FilterLast.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DenoiserShadow_FilterLocal.h b/workdir/shaders/autogen/DenoiserShadow_FilterLocal.h index 75503ee1..e15fe13d 100644 --- a/workdir/shaders/autogen/DenoiserShadow_FilterLocal.h +++ b/workdir/shaders/autogen/DenoiserShadow_FilterLocal.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DenoiserShadow_Prepare.h b/workdir/shaders/autogen/DenoiserShadow_Prepare.h index 301c72ef..da096750 100644 --- a/workdir/shaders/autogen/DenoiserShadow_Prepare.h +++ b/workdir/shaders/autogen/DenoiserShadow_Prepare.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DenoiserShadow_TileClassification.h b/workdir/shaders/autogen/DenoiserShadow_TileClassification.h index 8f150736..5fc779e7 100644 --- a/workdir/shaders/autogen/DenoiserShadow_TileClassification.h +++ b/workdir/shaders/autogen/DenoiserShadow_TileClassification.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DispatchParameters.h b/workdir/shaders/autogen/DispatchParameters.h index 345c9fab..cf3dd6bd 100644 --- a/workdir/shaders/autogen/DispatchParameters.h +++ b/workdir/shaders/autogen/DispatchParameters.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/DownsampleDepth.h b/workdir/shaders/autogen/DownsampleDepth.h index 6b29c9da..115d9396 100644 --- a/workdir/shaders/autogen/DownsampleDepth.h +++ b/workdir/shaders/autogen/DownsampleDepth.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/DrawBoxes.h b/workdir/shaders/autogen/DrawBoxes.h index fe0ebeaa..fcccef3c 100644 --- a/workdir/shaders/autogen/DrawBoxes.h +++ b/workdir/shaders/autogen/DrawBoxes.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/DrawStencil.h b/workdir/shaders/autogen/DrawStencil.h index d766b312..fc7dee22 100644 --- a/workdir/shaders/autogen/DrawStencil.h +++ b/workdir/shaders/autogen/DrawStencil.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/EnvFilter.h b/workdir/shaders/autogen/EnvFilter.h index 9b4cfd33..963061d3 100644 --- a/workdir/shaders/autogen/EnvFilter.h +++ b/workdir/shaders/autogen/EnvFilter.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/EnvSource.h b/workdir/shaders/autogen/EnvSource.h index 7afc1861..1f5f998b 100644 --- a/workdir/shaders/autogen/EnvSource.h +++ b/workdir/shaders/autogen/EnvSource.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/FSR.h b/workdir/shaders/autogen/FSR.h index 8f305a7f..1b3a3aca 100644 --- a/workdir/shaders/autogen/FSR.h +++ b/workdir/shaders/autogen/FSR.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/FlowGraph.h b/workdir/shaders/autogen/FlowGraph.h index 87d2a72d..bbe690aa 100644 --- a/workdir/shaders/autogen/FlowGraph.h +++ b/workdir/shaders/autogen/FlowGraph.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FontRendering.h b/workdir/shaders/autogen/FontRendering.h index 8657dc67..04736467 100644 --- a/workdir/shaders/autogen/FontRendering.h +++ b/workdir/shaders/autogen/FontRendering.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/FontRenderingConstants.h b/workdir/shaders/autogen/FontRenderingConstants.h index 0c98ba17..901af9d0 100644 --- a/workdir/shaders/autogen/FontRenderingConstants.h +++ b/workdir/shaders/autogen/FontRenderingConstants.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FontRenderingGlyphs.h b/workdir/shaders/autogen/FontRenderingGlyphs.h index ff09fc3a..ecd94acb 100644 --- a/workdir/shaders/autogen/FontRenderingGlyphs.h +++ b/workdir/shaders/autogen/FontRenderingGlyphs.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/FrameClassification.h b/workdir/shaders/autogen/FrameClassification.h index c3b84f0b..97c9d81d 100644 --- a/workdir/shaders/autogen/FrameClassification.h +++ b/workdir/shaders/autogen/FrameClassification.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/FrameClassificationInitDispatch.h b/workdir/shaders/autogen/FrameClassificationInitDispatch.h index 1b486f41..df96cce5 100644 --- a/workdir/shaders/autogen/FrameClassificationInitDispatch.h +++ b/workdir/shaders/autogen/FrameClassificationInitDispatch.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/FrameGraph_Debug_Common.h b/workdir/shaders/autogen/FrameGraph_Debug_Common.h index 3a8c83c4..167cc88e 100644 --- a/workdir/shaders/autogen/FrameGraph_Debug_Common.h +++ b/workdir/shaders/autogen/FrameGraph_Debug_Common.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/FrameGraph_Debug_Texture2D.h b/workdir/shaders/autogen/FrameGraph_Debug_Texture2D.h index 77b4086f..eea08fa3 100644 --- a/workdir/shaders/autogen/FrameGraph_Debug_Texture2D.h +++ b/workdir/shaders/autogen/FrameGraph_Debug_Texture2D.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FrameGraph_Debug_Texture2DArray.h b/workdir/shaders/autogen/FrameGraph_Debug_Texture2DArray.h index eb7b5cf3..c0a5afd6 100644 --- a/workdir/shaders/autogen/FrameGraph_Debug_Texture2DArray.h +++ b/workdir/shaders/autogen/FrameGraph_Debug_Texture2DArray.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FrameGraph_Debug_Texture3D.h b/workdir/shaders/autogen/FrameGraph_Debug_Texture3D.h index c2ad59ad..7c9823e2 100644 --- a/workdir/shaders/autogen/FrameGraph_Debug_Texture3D.h +++ b/workdir/shaders/autogen/FrameGraph_Debug_Texture3D.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FrameGraph_Debug_TextureCube.h b/workdir/shaders/autogen/FrameGraph_Debug_TextureCube.h index 42077425..74a4cac2 100644 --- a/workdir/shaders/autogen/FrameGraph_Debug_TextureCube.h +++ b/workdir/shaders/autogen/FrameGraph_Debug_TextureCube.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/FrameInfo.h b/workdir/shaders/autogen/FrameInfo.h index 55310e20..2b952314 100644 --- a/workdir/shaders/autogen/FrameInfo.h +++ b/workdir/shaders/autogen/FrameInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_0 #define SLOT_0 #else diff --git a/workdir/shaders/autogen/GBuffer.h b/workdir/shaders/autogen/GBuffer.h index e30bfeab..81b7509f 100644 --- a/workdir/shaders/autogen/GBuffer.h +++ b/workdir/shaders/autogen/GBuffer.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/GBufferDownsample.h b/workdir/shaders/autogen/GBufferDownsample.h index 096843d3..aaf49bc9 100644 --- a/workdir/shaders/autogen/GBufferDownsample.h +++ b/workdir/shaders/autogen/GBufferDownsample.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/GBufferQuality.h b/workdir/shaders/autogen/GBufferQuality.h index 9cfec787..e2b75012 100644 --- a/workdir/shaders/autogen/GBufferQuality.h +++ b/workdir/shaders/autogen/GBufferQuality.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/GatherBoxes.h b/workdir/shaders/autogen/GatherBoxes.h index 285e0aeb..74002ffb 100644 --- a/workdir/shaders/autogen/GatherBoxes.h +++ b/workdir/shaders/autogen/GatherBoxes.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/GatherMeshesBoxes.h b/workdir/shaders/autogen/GatherMeshesBoxes.h index 52c1f28e..0561f8ad 100644 --- a/workdir/shaders/autogen/GatherMeshesBoxes.h +++ b/workdir/shaders/autogen/GatherMeshesBoxes.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/GatherPipeline.h b/workdir/shaders/autogen/GatherPipeline.h index 412094ee..96e5c9d7 100644 --- a/workdir/shaders/autogen/GatherPipeline.h +++ b/workdir/shaders/autogen/GatherPipeline.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/GatherPipelineGlobal.h b/workdir/shaders/autogen/GatherPipelineGlobal.h index c93e28d3..41a38057 100644 --- a/workdir/shaders/autogen/GatherPipelineGlobal.h +++ b/workdir/shaders/autogen/GatherPipelineGlobal.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/GraphInput.h b/workdir/shaders/autogen/GraphInput.h index c16fc8f9..08fff998 100644 --- a/workdir/shaders/autogen/GraphInput.h +++ b/workdir/shaders/autogen/GraphInput.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_0 #define SLOT_0 #else diff --git a/workdir/shaders/autogen/InitDispatch.h b/workdir/shaders/autogen/InitDispatch.h index 12d69a32..303df20c 100644 --- a/workdir/shaders/autogen/InitDispatch.h +++ b/workdir/shaders/autogen/InitDispatch.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/Instance.h b/workdir/shaders/autogen/Instance.h index d233d8cd..584b6d44 100644 --- a/workdir/shaders/autogen/Instance.h +++ b/workdir/shaders/autogen/Instance.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_7 #define SLOT_7 #else diff --git a/workdir/shaders/autogen/LineRender.h b/workdir/shaders/autogen/LineRender.h index e5551f8f..d1b2b653 100644 --- a/workdir/shaders/autogen/LineRender.h +++ b/workdir/shaders/autogen/LineRender.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/MaterialInfo.h b/workdir/shaders/autogen/MaterialInfo.h index 1dbdf554..5ba95196 100644 --- a/workdir/shaders/autogen/MaterialInfo.h +++ b/workdir/shaders/autogen/MaterialInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_11 #define SLOT_11 #else diff --git a/workdir/shaders/autogen/MeshInfo.h b/workdir/shaders/autogen/MeshInfo.h index fac1a236..fa931b47 100644 --- a/workdir/shaders/autogen/MeshInfo.h +++ b/workdir/shaders/autogen/MeshInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/MeshInstanceInfo.h b/workdir/shaders/autogen/MeshInstanceInfo.h index 8903db9c..c6da52f7 100644 --- a/workdir/shaders/autogen/MeshInstanceInfo.h +++ b/workdir/shaders/autogen/MeshInstanceInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/MipMapping.h b/workdir/shaders/autogen/MipMapping.h index b5fdf805..a4b2db44 100644 --- a/workdir/shaders/autogen/MipMapping.h +++ b/workdir/shaders/autogen/MipMapping.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/NinePatch.h b/workdir/shaders/autogen/NinePatch.h index 2b875280..1e3be468 100644 --- a/workdir/shaders/autogen/NinePatch.h +++ b/workdir/shaders/autogen/NinePatch.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/PSSMConstants.h b/workdir/shaders/autogen/PSSMConstants.h index 41159f38..bbc1197d 100644 --- a/workdir/shaders/autogen/PSSMConstants.h +++ b/workdir/shaders/autogen/PSSMConstants.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/PSSMData.h b/workdir/shaders/autogen/PSSMData.h index 0036bf22..848f7662 100644 --- a/workdir/shaders/autogen/PSSMData.h +++ b/workdir/shaders/autogen/PSSMData.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/PSSMDataGlobal.h b/workdir/shaders/autogen/PSSMDataGlobal.h index 019379bd..a7cd2b64 100644 --- a/workdir/shaders/autogen/PSSMDataGlobal.h +++ b/workdir/shaders/autogen/PSSMDataGlobal.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/PSSMLighting.h b/workdir/shaders/autogen/PSSMLighting.h index 5c1a0a6b..ffb1bde5 100644 --- a/workdir/shaders/autogen/PSSMLighting.h +++ b/workdir/shaders/autogen/PSSMLighting.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/PickerBuffer.h b/workdir/shaders/autogen/PickerBuffer.h index 3585a9c8..f4bc7944 100644 --- a/workdir/shaders/autogen/PickerBuffer.h +++ b/workdir/shaders/autogen/PickerBuffer.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/Raytracing.h b/workdir/shaders/autogen/Raytracing.h index c3cce1d1..ce92afeb 100644 --- a/workdir/shaders/autogen/Raytracing.h +++ b/workdir/shaders/autogen/Raytracing.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_10 #define SLOT_10 #else diff --git a/workdir/shaders/autogen/RaytracingRays.h b/workdir/shaders/autogen/RaytracingRays.h index 8a1d8345..354717a6 100644 --- a/workdir/shaders/autogen/RaytracingRays.h +++ b/workdir/shaders/autogen/RaytracingRays.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/ReflectionCombine.h b/workdir/shaders/autogen/ReflectionCombine.h index 86217a30..3a76dd27 100644 --- a/workdir/shaders/autogen/ReflectionCombine.h +++ b/workdir/shaders/autogen/ReflectionCombine.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/SMAA_Blend.h b/workdir/shaders/autogen/SMAA_Blend.h index 1319257d..d6d89f94 100644 --- a/workdir/shaders/autogen/SMAA_Blend.h +++ b/workdir/shaders/autogen/SMAA_Blend.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/SMAA_Global.h b/workdir/shaders/autogen/SMAA_Global.h index c6a389ee..a9196a9b 100644 --- a/workdir/shaders/autogen/SMAA_Global.h +++ b/workdir/shaders/autogen/SMAA_Global.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/SMAA_Weights.h b/workdir/shaders/autogen/SMAA_Weights.h index 9ccf98f5..f8478512 100644 --- a/workdir/shaders/autogen/SMAA_Weights.h +++ b/workdir/shaders/autogen/SMAA_Weights.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/SceneData.h b/workdir/shaders/autogen/SceneData.h index 22dc55ba..67b1910d 100644 --- a/workdir/shaders/autogen/SceneData.h +++ b/workdir/shaders/autogen/SceneData.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_1 #define SLOT_1 #else diff --git a/workdir/shaders/autogen/SkyData.h b/workdir/shaders/autogen/SkyData.h index 1b9cc8b0..cd285606 100644 --- a/workdir/shaders/autogen/SkyData.h +++ b/workdir/shaders/autogen/SkyData.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/SkyFace.h b/workdir/shaders/autogen/SkyFace.h index 4dbb9dab..ae4bf764 100644 --- a/workdir/shaders/autogen/SkyFace.h +++ b/workdir/shaders/autogen/SkyFace.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/Test.h b/workdir/shaders/autogen/Test.h index 641d4dab..26958a62 100644 --- a/workdir/shaders/autogen/Test.h +++ b/workdir/shaders/autogen/Test.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/TextureRenderer.h b/workdir/shaders/autogen/TextureRenderer.h index 320367bc..b10d158f 100644 --- a/workdir/shaders/autogen/TextureRenderer.h +++ b/workdir/shaders/autogen/TextureRenderer.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/TilingPostprocess.h b/workdir/shaders/autogen/TilingPostprocess.h index aad18643..48935599 100644 --- a/workdir/shaders/autogen/TilingPostprocess.h +++ b/workdir/shaders/autogen/TilingPostprocess.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_2 #define SLOT_2 #else diff --git a/workdir/shaders/autogen/VoxelBlur.h b/workdir/shaders/autogen/VoxelBlur.h index d56133ad..e7e5068e 100644 --- a/workdir/shaders/autogen/VoxelBlur.h +++ b/workdir/shaders/autogen/VoxelBlur.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/VoxelCopy.h b/workdir/shaders/autogen/VoxelCopy.h index cbc046e9..7e5fccc8 100644 --- a/workdir/shaders/autogen/VoxelCopy.h +++ b/workdir/shaders/autogen/VoxelCopy.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelDebug.h b/workdir/shaders/autogen/VoxelDebug.h index 68489b05..0a765730 100644 --- a/workdir/shaders/autogen/VoxelDebug.h +++ b/workdir/shaders/autogen/VoxelDebug.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelInfo.h b/workdir/shaders/autogen/VoxelInfo.h index aa567f06..b6ee8cfe 100644 --- a/workdir/shaders/autogen/VoxelInfo.h +++ b/workdir/shaders/autogen/VoxelInfo.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/VoxelLighting.h b/workdir/shaders/autogen/VoxelLighting.h index 05cbd3f0..2ad27706 100644 --- a/workdir/shaders/autogen/VoxelLighting.h +++ b/workdir/shaders/autogen/VoxelLighting.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelMipMap.h b/workdir/shaders/autogen/VoxelMipMap.h index 3541b30b..c4e4a4ec 100644 --- a/workdir/shaders/autogen/VoxelMipMap.h +++ b/workdir/shaders/autogen/VoxelMipMap.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelOutput.h b/workdir/shaders/autogen/VoxelOutput.h index 3d9b16da..c81dcaa6 100644 --- a/workdir/shaders/autogen/VoxelOutput.h +++ b/workdir/shaders/autogen/VoxelOutput.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/VoxelScreen.h b/workdir/shaders/autogen/VoxelScreen.h index 7a12b300..198ef6e3 100644 --- a/workdir/shaders/autogen/VoxelScreen.h +++ b/workdir/shaders/autogen/VoxelScreen.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelUpscale.h b/workdir/shaders/autogen/VoxelUpscale.h index be3fd7b1..7bd8088b 100644 --- a/workdir/shaders/autogen/VoxelUpscale.h +++ b/workdir/shaders/autogen/VoxelUpscale.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_6 #define SLOT_6 #else diff --git a/workdir/shaders/autogen/VoxelVisibility.h b/workdir/shaders/autogen/VoxelVisibility.h index e8992c42..4359a930 100644 --- a/workdir/shaders/autogen/VoxelVisibility.h +++ b/workdir/shaders/autogen/VoxelVisibility.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/VoxelZero.h b/workdir/shaders/autogen/VoxelZero.h index 368f6fc7..1691447c 100644 --- a/workdir/shaders/autogen/VoxelZero.h +++ b/workdir/shaders/autogen/VoxelZero.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_5 #define SLOT_5 #else diff --git a/workdir/shaders/autogen/Voxelization.h b/workdir/shaders/autogen/Voxelization.h index a2707eef..2201ff4b 100644 --- a/workdir/shaders/autogen/Voxelization.h +++ b/workdir/shaders/autogen/Voxelization.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_7 #define SLOT_7 #else diff --git a/workdir/shaders/autogen/WorkGraphTest.h b/workdir/shaders/autogen/WorkGraphTest.h index 70c37669..6a06a80b 100644 --- a/workdir/shaders/autogen/WorkGraphTest.h +++ b/workdir/shaders/autogen/WorkGraphTest.h @@ -1,3 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ #ifndef SLOT_4 #define SLOT_4 #else diff --git a/workdir/shaders/autogen/layout/DefaultLayout.h b/workdir/shaders/autogen/layout/DefaultLayout.h index db68f1ee..e853ce46 100644 --- a/workdir/shaders/autogen/layout/DefaultLayout.h +++ b/workdir/shaders/autogen/layout/DefaultLayout.h @@ -1,2 +1,9 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "FrameLayout.h" diff --git a/workdir/shaders/autogen/layout/FrameLayout.h b/workdir/shaders/autogen/layout/FrameLayout.h index 2d38dea4..686cea23 100644 --- a/workdir/shaders/autogen/layout/FrameLayout.h +++ b/workdir/shaders/autogen/layout/FrameLayout.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once SamplerState linearSampler:register(s0); SamplerState pointClampSampler:register(s1); diff --git a/workdir/shaders/autogen/layout/NoneLayout.h b/workdir/shaders/autogen/layout/NoneLayout.h index 7b9637ef..978d1da1 100644 --- a/workdir/shaders/autogen/layout/NoneLayout.h +++ b/workdir/shaders/autogen/layout/NoneLayout.h @@ -1 +1,8 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once \ No newline at end of file diff --git a/workdir/shaders/autogen/rt/DepthOnly.h b/workdir/shaders/autogen/rt/DepthOnly.h index b075b29d..b80f3aac 100644 --- a/workdir/shaders/autogen/rt/DepthOnly.h +++ b/workdir/shaders/autogen/rt/DepthOnly.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct DepthOnly diff --git a/workdir/shaders/autogen/rt/GBuffer.h b/workdir/shaders/autogen/rt/GBuffer.h index 5b6e58c4..44b2fadc 100644 --- a/workdir/shaders/autogen/rt/GBuffer.h +++ b/workdir/shaders/autogen/rt/GBuffer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct GBuffer diff --git a/workdir/shaders/autogen/rt/GBufferDownsampleRT.h b/workdir/shaders/autogen/rt/GBufferDownsampleRT.h index 1d0cefe5..b73baec1 100644 --- a/workdir/shaders/autogen/rt/GBufferDownsampleRT.h +++ b/workdir/shaders/autogen/rt/GBufferDownsampleRT.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct GBufferDownsampleRT diff --git a/workdir/shaders/autogen/rt/NoOutput.h b/workdir/shaders/autogen/rt/NoOutput.h index deb2b66d..ab05cea7 100644 --- a/workdir/shaders/autogen/rt/NoOutput.h +++ b/workdir/shaders/autogen/rt/NoOutput.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct NoOutput diff --git a/workdir/shaders/autogen/rt/SingleColor.h b/workdir/shaders/autogen/rt/SingleColor.h index e47cc881..396e284d 100644 --- a/workdir/shaders/autogen/rt/SingleColor.h +++ b/workdir/shaders/autogen/rt/SingleColor.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct SingleColor diff --git a/workdir/shaders/autogen/rt/SingleColorDepth.h b/workdir/shaders/autogen/rt/SingleColorDepth.h index 3f93f7f6..6fd696d4 100644 --- a/workdir/shaders/autogen/rt/SingleColorDepth.h +++ b/workdir/shaders/autogen/rt/SingleColorDepth.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once struct SingleColorDepth diff --git a/workdir/shaders/autogen/rtx/ColorPass.h b/workdir/shaders/autogen/rtx/ColorPass.h index 2a3bf110..785b7bf6 100644 --- a/workdir/shaders/autogen/rtx/ColorPass.h +++ b/workdir/shaders/autogen/rtx/ColorPass.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + void ColorPass(RaytracingAccelerationStructure scene, RayDesc ray, RAY_FLAG flag, inout RayPayload payload) { TraceRay(scene, flag, ~0, 1, 0, 1, ray, payload); diff --git a/workdir/shaders/autogen/rtx/ShadowPass.h b/workdir/shaders/autogen/rtx/ShadowPass.h index d3448d9f..7afa0f54 100644 --- a/workdir/shaders/autogen/rtx/ShadowPass.h +++ b/workdir/shaders/autogen/rtx/ShadowPass.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + void ShadowPass(RaytracingAccelerationStructure scene, RayDesc ray, RAY_FLAG flag, inout ShadowPayload payload) { TraceRay(scene, flag, ~0, 0, 0, 0, ray, payload); diff --git a/workdir/shaders/autogen/tables/AABB.h b/workdir/shaders/autogen/tables/AABB.h index 84edc91c..830a9562 100644 --- a/workdir/shaders/autogen/tables/AABB.h +++ b/workdir/shaders/autogen/tables/AABB.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct AABB diff --git a/workdir/shaders/autogen/tables/BRDF.h b/workdir/shaders/autogen/tables/BRDF.h index e5ff275e..b4f07ef6 100644 --- a/workdir/shaders/autogen/tables/BRDF.h +++ b/workdir/shaders/autogen/tables/BRDF.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct BRDF diff --git a/workdir/shaders/autogen/tables/BlueNoise.h b/workdir/shaders/autogen/tables/BlueNoise.h index 8db063ba..35846cd6 100644 --- a/workdir/shaders/autogen/tables/BlueNoise.h +++ b/workdir/shaders/autogen/tables/BlueNoise.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct BlueNoise diff --git a/workdir/shaders/autogen/tables/BoxInfo.h b/workdir/shaders/autogen/tables/BoxInfo.h index 298cfea0..0c150206 100644 --- a/workdir/shaders/autogen/tables/BoxInfo.h +++ b/workdir/shaders/autogen/tables/BoxInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct BoxInfo diff --git a/workdir/shaders/autogen/tables/Camera.h b/workdir/shaders/autogen/tables/Camera.h index 6d3b4086..ca62cb57 100644 --- a/workdir/shaders/autogen/tables/Camera.h +++ b/workdir/shaders/autogen/tables/Camera.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Frustum.h" diff --git a/workdir/shaders/autogen/tables/Color.h b/workdir/shaders/autogen/tables/Color.h index 8002f6ac..132cc24e 100644 --- a/workdir/shaders/autogen/tables/Color.h +++ b/workdir/shaders/autogen/tables/Color.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Color diff --git a/workdir/shaders/autogen/tables/ColorRect.h b/workdir/shaders/autogen/tables/ColorRect.h index 9521ea2c..1040def7 100644 --- a/workdir/shaders/autogen/tables/ColorRect.h +++ b/workdir/shaders/autogen/tables/ColorRect.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct ColorRect diff --git a/workdir/shaders/autogen/tables/CommandData.h b/workdir/shaders/autogen/tables/CommandData.h index 2a79e2ea..463cb851 100644 --- a/workdir/shaders/autogen/tables/CommandData.h +++ b/workdir/shaders/autogen/tables/CommandData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "DispatchMeshArguments.h" diff --git a/workdir/shaders/autogen/tables/CopyTexture.h b/workdir/shaders/autogen/tables/CopyTexture.h index 7361fd28..976027ea 100644 --- a/workdir/shaders/autogen/tables/CopyTexture.h +++ b/workdir/shaders/autogen/tables/CopyTexture.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct CopyTexture diff --git a/workdir/shaders/autogen/tables/Countour.h b/workdir/shaders/autogen/tables/Countour.h index 106a3d68..4f61c352 100644 --- a/workdir/shaders/autogen/tables/Countour.h +++ b/workdir/shaders/autogen/tables/Countour.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Countour diff --git a/workdir/shaders/autogen/tables/DebugInfo.h b/workdir/shaders/autogen/tables/DebugInfo.h index 45a533dd..407d8667 100644 --- a/workdir/shaders/autogen/tables/DebugInfo.h +++ b/workdir/shaders/autogen/tables/DebugInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "DebugStruct.h" diff --git a/workdir/shaders/autogen/tables/DebugStruct.h b/workdir/shaders/autogen/tables/DebugStruct.h index 9a070b9f..e56eac5d 100644 --- a/workdir/shaders/autogen/tables/DebugStruct.h +++ b/workdir/shaders/autogen/tables/DebugStruct.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DebugStruct diff --git a/workdir/shaders/autogen/tables/DenoiserDownsample.h b/workdir/shaders/autogen/tables/DenoiserDownsample.h index c3c5144e..38737d66 100644 --- a/workdir/shaders/autogen/tables/DenoiserDownsample.h +++ b/workdir/shaders/autogen/tables/DenoiserDownsample.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserDownsample diff --git a/workdir/shaders/autogen/tables/DenoiserHistoryFix.h b/workdir/shaders/autogen/tables/DenoiserHistoryFix.h index fd0bd07d..43121c6e 100644 --- a/workdir/shaders/autogen/tables/DenoiserHistoryFix.h +++ b/workdir/shaders/autogen/tables/DenoiserHistoryFix.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserHistoryFix diff --git a/workdir/shaders/autogen/tables/DenoiserReflectionCommon.h b/workdir/shaders/autogen/tables/DenoiserReflectionCommon.h index 8d45682a..b69785fe 100644 --- a/workdir/shaders/autogen/tables/DenoiserReflectionCommon.h +++ b/workdir/shaders/autogen/tables/DenoiserReflectionCommon.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserReflectionCommon diff --git a/workdir/shaders/autogen/tables/DenoiserReflectionPrefilter.h b/workdir/shaders/autogen/tables/DenoiserReflectionPrefilter.h index a9e3301d..bb5b8b57 100644 --- a/workdir/shaders/autogen/tables/DenoiserReflectionPrefilter.h +++ b/workdir/shaders/autogen/tables/DenoiserReflectionPrefilter.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserReflectionPrefilter diff --git a/workdir/shaders/autogen/tables/DenoiserReflectionReproject.h b/workdir/shaders/autogen/tables/DenoiserReflectionReproject.h index 3b70faa0..fb604ecb 100644 --- a/workdir/shaders/autogen/tables/DenoiserReflectionReproject.h +++ b/workdir/shaders/autogen/tables/DenoiserReflectionReproject.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserReflectionReproject diff --git a/workdir/shaders/autogen/tables/DenoiserReflectionResolve.h b/workdir/shaders/autogen/tables/DenoiserReflectionResolve.h index 96bc5222..b73b69ad 100644 --- a/workdir/shaders/autogen/tables/DenoiserReflectionResolve.h +++ b/workdir/shaders/autogen/tables/DenoiserReflectionResolve.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserReflectionResolve diff --git a/workdir/shaders/autogen/tables/DenoiserShadow_Filter.h b/workdir/shaders/autogen/tables/DenoiserShadow_Filter.h index 8738ccce..900faacc 100644 --- a/workdir/shaders/autogen/tables/DenoiserShadow_Filter.h +++ b/workdir/shaders/autogen/tables/DenoiserShadow_Filter.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserShadow_Filter diff --git a/workdir/shaders/autogen/tables/DenoiserShadow_FilterLast.h b/workdir/shaders/autogen/tables/DenoiserShadow_FilterLast.h index 68b155e7..46337338 100644 --- a/workdir/shaders/autogen/tables/DenoiserShadow_FilterLast.h +++ b/workdir/shaders/autogen/tables/DenoiserShadow_FilterLast.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserShadow_FilterLast diff --git a/workdir/shaders/autogen/tables/DenoiserShadow_FilterLocal.h b/workdir/shaders/autogen/tables/DenoiserShadow_FilterLocal.h index ed7e13c7..f7639723 100644 --- a/workdir/shaders/autogen/tables/DenoiserShadow_FilterLocal.h +++ b/workdir/shaders/autogen/tables/DenoiserShadow_FilterLocal.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserShadow_FilterLocal diff --git a/workdir/shaders/autogen/tables/DenoiserShadow_Prepare.h b/workdir/shaders/autogen/tables/DenoiserShadow_Prepare.h index d2bb1d53..0e188553 100644 --- a/workdir/shaders/autogen/tables/DenoiserShadow_Prepare.h +++ b/workdir/shaders/autogen/tables/DenoiserShadow_Prepare.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserShadow_Prepare diff --git a/workdir/shaders/autogen/tables/DenoiserShadow_TileClassification.h b/workdir/shaders/autogen/tables/DenoiserShadow_TileClassification.h index a51bf14d..60cf593e 100644 --- a/workdir/shaders/autogen/tables/DenoiserShadow_TileClassification.h +++ b/workdir/shaders/autogen/tables/DenoiserShadow_TileClassification.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DenoiserShadow_TileClassification diff --git a/workdir/shaders/autogen/tables/DepthOnly.h b/workdir/shaders/autogen/tables/DepthOnly.h index a415d5a3..a04eedb3 100644 --- a/workdir/shaders/autogen/tables/DepthOnly.h +++ b/workdir/shaders/autogen/tables/DepthOnly.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DepthOnly diff --git a/workdir/shaders/autogen/tables/DispatchArguments.h b/workdir/shaders/autogen/tables/DispatchArguments.h index c2bf94e4..bdeb24b2 100644 --- a/workdir/shaders/autogen/tables/DispatchArguments.h +++ b/workdir/shaders/autogen/tables/DispatchArguments.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DispatchArguments diff --git a/workdir/shaders/autogen/tables/DispatchMeshArguments.h b/workdir/shaders/autogen/tables/DispatchMeshArguments.h index c0bd52c4..f1b3ec8e 100644 --- a/workdir/shaders/autogen/tables/DispatchMeshArguments.h +++ b/workdir/shaders/autogen/tables/DispatchMeshArguments.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DispatchMeshArguments diff --git a/workdir/shaders/autogen/tables/DispatchParameters.h b/workdir/shaders/autogen/tables/DispatchParameters.h index 3561fb01..87e56dd3 100644 --- a/workdir/shaders/autogen/tables/DispatchParameters.h +++ b/workdir/shaders/autogen/tables/DispatchParameters.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DispatchParameters diff --git a/workdir/shaders/autogen/tables/DownsampleDepth.h b/workdir/shaders/autogen/tables/DownsampleDepth.h index e3588026..718c9c01 100644 --- a/workdir/shaders/autogen/tables/DownsampleDepth.h +++ b/workdir/shaders/autogen/tables/DownsampleDepth.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DownsampleDepth diff --git a/workdir/shaders/autogen/tables/DrawBoxes.h b/workdir/shaders/autogen/tables/DrawBoxes.h index 377c75d9..29ee87e0 100644 --- a/workdir/shaders/autogen/tables/DrawBoxes.h +++ b/workdir/shaders/autogen/tables/DrawBoxes.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "BoxInfo.h" diff --git a/workdir/shaders/autogen/tables/DrawIndexedArguments.h b/workdir/shaders/autogen/tables/DrawIndexedArguments.h index a6b1eac0..f49501a1 100644 --- a/workdir/shaders/autogen/tables/DrawIndexedArguments.h +++ b/workdir/shaders/autogen/tables/DrawIndexedArguments.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DrawIndexedArguments diff --git a/workdir/shaders/autogen/tables/DrawStencil.h b/workdir/shaders/autogen/tables/DrawStencil.h index 77a2cf17..133605df 100644 --- a/workdir/shaders/autogen/tables/DrawStencil.h +++ b/workdir/shaders/autogen/tables/DrawStencil.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct DrawStencil diff --git a/workdir/shaders/autogen/tables/EnvFilter.h b/workdir/shaders/autogen/tables/EnvFilter.h index da6741f9..0993c8c5 100644 --- a/workdir/shaders/autogen/tables/EnvFilter.h +++ b/workdir/shaders/autogen/tables/EnvFilter.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct EnvFilter diff --git a/workdir/shaders/autogen/tables/EnvSource.h b/workdir/shaders/autogen/tables/EnvSource.h index b627f306..e48fecbc 100644 --- a/workdir/shaders/autogen/tables/EnvSource.h +++ b/workdir/shaders/autogen/tables/EnvSource.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct EnvSource diff --git a/workdir/shaders/autogen/tables/FSR.h b/workdir/shaders/autogen/tables/FSR.h index a226d1d2..1a1b2bcb 100644 --- a/workdir/shaders/autogen/tables/FSR.h +++ b/workdir/shaders/autogen/tables/FSR.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "FSRConstants.h" diff --git a/workdir/shaders/autogen/tables/FSRConstants.h b/workdir/shaders/autogen/tables/FSRConstants.h index e737404b..8f796c2c 100644 --- a/workdir/shaders/autogen/tables/FSRConstants.h +++ b/workdir/shaders/autogen/tables/FSRConstants.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FSRConstants diff --git a/workdir/shaders/autogen/tables/FlowGraph.h b/workdir/shaders/autogen/tables/FlowGraph.h index 677605c2..b5a96825 100644 --- a/workdir/shaders/autogen/tables/FlowGraph.h +++ b/workdir/shaders/autogen/tables/FlowGraph.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FlowGraph diff --git a/workdir/shaders/autogen/tables/FontRendering.h b/workdir/shaders/autogen/tables/FontRendering.h index 84d5df2b..2fceb4c1 100644 --- a/workdir/shaders/autogen/tables/FontRendering.h +++ b/workdir/shaders/autogen/tables/FontRendering.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FontRendering diff --git a/workdir/shaders/autogen/tables/FontRenderingConstants.h b/workdir/shaders/autogen/tables/FontRenderingConstants.h index cff0d2dd..044ada76 100644 --- a/workdir/shaders/autogen/tables/FontRenderingConstants.h +++ b/workdir/shaders/autogen/tables/FontRenderingConstants.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FontRenderingConstants diff --git a/workdir/shaders/autogen/tables/FontRenderingGlyphs.h b/workdir/shaders/autogen/tables/FontRenderingGlyphs.h index 9cec60dc..71db366a 100644 --- a/workdir/shaders/autogen/tables/FontRenderingGlyphs.h +++ b/workdir/shaders/autogen/tables/FontRenderingGlyphs.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Glyph.h" diff --git a/workdir/shaders/autogen/tables/FrameClassification.h b/workdir/shaders/autogen/tables/FrameClassification.h index ba78158b..f3f9462d 100644 --- a/workdir/shaders/autogen/tables/FrameClassification.h +++ b/workdir/shaders/autogen/tables/FrameClassification.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FrameClassification diff --git a/workdir/shaders/autogen/tables/FrameClassificationInitDispatch.h b/workdir/shaders/autogen/tables/FrameClassificationInitDispatch.h index 3a63480b..6b2c3c27 100644 --- a/workdir/shaders/autogen/tables/FrameClassificationInitDispatch.h +++ b/workdir/shaders/autogen/tables/FrameClassificationInitDispatch.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "DispatchArguments.h" diff --git a/workdir/shaders/autogen/tables/FrameGraph_Debug_Common.h b/workdir/shaders/autogen/tables/FrameGraph_Debug_Common.h index 708bf1eb..6a71fab1 100644 --- a/workdir/shaders/autogen/tables/FrameGraph_Debug_Common.h +++ b/workdir/shaders/autogen/tables/FrameGraph_Debug_Common.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FrameGraph_Debug_Common diff --git a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2D.h b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2D.h index aaf4ba8c..926b1744 100644 --- a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2D.h +++ b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2D.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FrameGraph_Debug_Texture2D diff --git a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2DArray.h b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2DArray.h index 97f6bd16..59664152 100644 --- a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2DArray.h +++ b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture2DArray.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FrameGraph_Debug_Texture2DArray diff --git a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture3D.h b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture3D.h index 7cadfd8b..d7e3664c 100644 --- a/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture3D.h +++ b/workdir/shaders/autogen/tables/FrameGraph_Debug_Texture3D.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Camera.h" diff --git a/workdir/shaders/autogen/tables/FrameGraph_Debug_TextureCube.h b/workdir/shaders/autogen/tables/FrameGraph_Debug_TextureCube.h index df4fc611..afa05022 100644 --- a/workdir/shaders/autogen/tables/FrameGraph_Debug_TextureCube.h +++ b/workdir/shaders/autogen/tables/FrameGraph_Debug_TextureCube.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct FrameGraph_Debug_TextureCube diff --git a/workdir/shaders/autogen/tables/FrameInfo.h b/workdir/shaders/autogen/tables/FrameInfo.h index 36a819e6..f5ea45f3 100644 --- a/workdir/shaders/autogen/tables/FrameInfo.h +++ b/workdir/shaders/autogen/tables/FrameInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Camera.h" diff --git a/workdir/shaders/autogen/tables/Frustum.h b/workdir/shaders/autogen/tables/Frustum.h index 0a3530b5..d5b12b70 100644 --- a/workdir/shaders/autogen/tables/Frustum.h +++ b/workdir/shaders/autogen/tables/Frustum.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Frustum diff --git a/workdir/shaders/autogen/tables/GBuffer.h b/workdir/shaders/autogen/tables/GBuffer.h index 3e4e393f..e7b25e50 100644 --- a/workdir/shaders/autogen/tables/GBuffer.h +++ b/workdir/shaders/autogen/tables/GBuffer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GBuffer diff --git a/workdir/shaders/autogen/tables/GBufferDownsample.h b/workdir/shaders/autogen/tables/GBufferDownsample.h index a5d42c61..e5a6c770 100644 --- a/workdir/shaders/autogen/tables/GBufferDownsample.h +++ b/workdir/shaders/autogen/tables/GBufferDownsample.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GBufferDownsample diff --git a/workdir/shaders/autogen/tables/GBufferDownsampleRT.h b/workdir/shaders/autogen/tables/GBufferDownsampleRT.h index 706c2ff7..b60ccaf3 100644 --- a/workdir/shaders/autogen/tables/GBufferDownsampleRT.h +++ b/workdir/shaders/autogen/tables/GBufferDownsampleRT.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GBufferDownsampleRT diff --git a/workdir/shaders/autogen/tables/GBufferQuality.h b/workdir/shaders/autogen/tables/GBufferQuality.h index 788ca9d7..a846ea4c 100644 --- a/workdir/shaders/autogen/tables/GBufferQuality.h +++ b/workdir/shaders/autogen/tables/GBufferQuality.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GBufferQuality diff --git a/workdir/shaders/autogen/tables/GPUAddress.h b/workdir/shaders/autogen/tables/GPUAddress.h index 03d088db..5fe90362 100644 --- a/workdir/shaders/autogen/tables/GPUAddress.h +++ b/workdir/shaders/autogen/tables/GPUAddress.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GPUAddress diff --git a/workdir/shaders/autogen/tables/GatherBoxes.h b/workdir/shaders/autogen/tables/GatherBoxes.h index d05a752f..b13cd6aa 100644 --- a/workdir/shaders/autogen/tables/GatherBoxes.h +++ b/workdir/shaders/autogen/tables/GatherBoxes.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "BoxInfo.h" diff --git a/workdir/shaders/autogen/tables/GatherMeshesBoxes.h b/workdir/shaders/autogen/tables/GatherMeshesBoxes.h index 0b31ba7a..e821d7d7 100644 --- a/workdir/shaders/autogen/tables/GatherMeshesBoxes.h +++ b/workdir/shaders/autogen/tables/GatherMeshesBoxes.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "BoxInfo.h" diff --git a/workdir/shaders/autogen/tables/GatherPipeline.h b/workdir/shaders/autogen/tables/GatherPipeline.h index 2f83ae9f..d845647f 100644 --- a/workdir/shaders/autogen/tables/GatherPipeline.h +++ b/workdir/shaders/autogen/tables/GatherPipeline.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "CommandData.h" diff --git a/workdir/shaders/autogen/tables/GatherPipelineGlobal.h b/workdir/shaders/autogen/tables/GatherPipelineGlobal.h index 9851834f..45c784bd 100644 --- a/workdir/shaders/autogen/tables/GatherPipelineGlobal.h +++ b/workdir/shaders/autogen/tables/GatherPipelineGlobal.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GatherPipelineGlobal diff --git a/workdir/shaders/autogen/tables/Glyph.h b/workdir/shaders/autogen/tables/Glyph.h index 3a0b244f..88ec33cc 100644 --- a/workdir/shaders/autogen/tables/Glyph.h +++ b/workdir/shaders/autogen/tables/Glyph.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Glyph diff --git a/workdir/shaders/autogen/tables/GraphInput.h b/workdir/shaders/autogen/tables/GraphInput.h index f12b6bd1..4c97eaf2 100644 --- a/workdir/shaders/autogen/tables/GraphInput.h +++ b/workdir/shaders/autogen/tables/GraphInput.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct GraphInput diff --git a/workdir/shaders/autogen/tables/InitDispatch.h b/workdir/shaders/autogen/tables/InitDispatch.h index 318d9538..5a47f290 100644 --- a/workdir/shaders/autogen/tables/InitDispatch.h +++ b/workdir/shaders/autogen/tables/InitDispatch.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "DispatchArguments.h" diff --git a/workdir/shaders/autogen/tables/Instance.h b/workdir/shaders/autogen/tables/Instance.h index 55cfdf37..4a9c58f7 100644 --- a/workdir/shaders/autogen/tables/Instance.h +++ b/workdir/shaders/autogen/tables/Instance.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Instance diff --git a/workdir/shaders/autogen/tables/LineRender.h b/workdir/shaders/autogen/tables/LineRender.h index 9da62b8d..20a037d2 100644 --- a/workdir/shaders/autogen/tables/LineRender.h +++ b/workdir/shaders/autogen/tables/LineRender.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "VSLine.h" diff --git a/workdir/shaders/autogen/tables/MaterialCommandData.h b/workdir/shaders/autogen/tables/MaterialCommandData.h index 583bda9c..25943b17 100644 --- a/workdir/shaders/autogen/tables/MaterialCommandData.h +++ b/workdir/shaders/autogen/tables/MaterialCommandData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MaterialCommandData diff --git a/workdir/shaders/autogen/tables/MaterialInfo.h b/workdir/shaders/autogen/tables/MaterialInfo.h index 41caffa1..8431b15d 100644 --- a/workdir/shaders/autogen/tables/MaterialInfo.h +++ b/workdir/shaders/autogen/tables/MaterialInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MaterialInfo diff --git a/workdir/shaders/autogen/tables/MeshCommandData.h b/workdir/shaders/autogen/tables/MeshCommandData.h index 2412ebdf..528f21d5 100644 --- a/workdir/shaders/autogen/tables/MeshCommandData.h +++ b/workdir/shaders/autogen/tables/MeshCommandData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "DispatchMeshArguments.h" diff --git a/workdir/shaders/autogen/tables/MeshInfo.h b/workdir/shaders/autogen/tables/MeshInfo.h index ae751dd8..5b4cbeaa 100644 --- a/workdir/shaders/autogen/tables/MeshInfo.h +++ b/workdir/shaders/autogen/tables/MeshInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MeshInfo diff --git a/workdir/shaders/autogen/tables/MeshInstance.h b/workdir/shaders/autogen/tables/MeshInstance.h index 32c3a7d7..5b012fe8 100644 --- a/workdir/shaders/autogen/tables/MeshInstance.h +++ b/workdir/shaders/autogen/tables/MeshInstance.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MeshInstance diff --git a/workdir/shaders/autogen/tables/MeshInstanceInfo.h b/workdir/shaders/autogen/tables/MeshInstanceInfo.h index fc207eb7..b7705bc2 100644 --- a/workdir/shaders/autogen/tables/MeshInstanceInfo.h +++ b/workdir/shaders/autogen/tables/MeshInstanceInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Meshlet.h" diff --git a/workdir/shaders/autogen/tables/Meshlet.h b/workdir/shaders/autogen/tables/Meshlet.h index 04093ad0..828d7325 100644 --- a/workdir/shaders/autogen/tables/Meshlet.h +++ b/workdir/shaders/autogen/tables/Meshlet.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Meshlet diff --git a/workdir/shaders/autogen/tables/MeshletCullData.h b/workdir/shaders/autogen/tables/MeshletCullData.h index 7a9daa7b..8abf083c 100644 --- a/workdir/shaders/autogen/tables/MeshletCullData.h +++ b/workdir/shaders/autogen/tables/MeshletCullData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MeshletCullData diff --git a/workdir/shaders/autogen/tables/MipMapping.h b/workdir/shaders/autogen/tables/MipMapping.h index 8668870a..12204094 100644 --- a/workdir/shaders/autogen/tables/MipMapping.h +++ b/workdir/shaders/autogen/tables/MipMapping.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct MipMapping diff --git a/workdir/shaders/autogen/tables/NinePatch.h b/workdir/shaders/autogen/tables/NinePatch.h index 9e0ace4f..5faa6f99 100644 --- a/workdir/shaders/autogen/tables/NinePatch.h +++ b/workdir/shaders/autogen/tables/NinePatch.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "vertex_input.h" diff --git a/workdir/shaders/autogen/tables/NoOutput.h b/workdir/shaders/autogen/tables/NoOutput.h index 6916b2bd..5d96d058 100644 --- a/workdir/shaders/autogen/tables/NoOutput.h +++ b/workdir/shaders/autogen/tables/NoOutput.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct NoOutput diff --git a/workdir/shaders/autogen/tables/PSSMConstants.h b/workdir/shaders/autogen/tables/PSSMConstants.h index 3ff63604..52065f92 100644 --- a/workdir/shaders/autogen/tables/PSSMConstants.h +++ b/workdir/shaders/autogen/tables/PSSMConstants.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct PSSMConstants diff --git a/workdir/shaders/autogen/tables/PSSMData.h b/workdir/shaders/autogen/tables/PSSMData.h index 6c813248..7eb8bc1b 100644 --- a/workdir/shaders/autogen/tables/PSSMData.h +++ b/workdir/shaders/autogen/tables/PSSMData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Camera.h" diff --git a/workdir/shaders/autogen/tables/PSSMDataGlobal.h b/workdir/shaders/autogen/tables/PSSMDataGlobal.h index c78ed006..abc6d97d 100644 --- a/workdir/shaders/autogen/tables/PSSMDataGlobal.h +++ b/workdir/shaders/autogen/tables/PSSMDataGlobal.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "Camera.h" diff --git a/workdir/shaders/autogen/tables/PSSMLighting.h b/workdir/shaders/autogen/tables/PSSMLighting.h index 47ce59f0..4e867e5f 100644 --- a/workdir/shaders/autogen/tables/PSSMLighting.h +++ b/workdir/shaders/autogen/tables/PSSMLighting.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/PickerBuffer.h b/workdir/shaders/autogen/tables/PickerBuffer.h index 62409dc0..0049950b 100644 --- a/workdir/shaders/autogen/tables/PickerBuffer.h +++ b/workdir/shaders/autogen/tables/PickerBuffer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct PickerBuffer diff --git a/workdir/shaders/autogen/tables/RayCone.h b/workdir/shaders/autogen/tables/RayCone.h index cda2833a..c68d780d 100644 --- a/workdir/shaders/autogen/tables/RayCone.h +++ b/workdir/shaders/autogen/tables/RayCone.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once diff --git a/workdir/shaders/autogen/tables/RayPayload.h b/workdir/shaders/autogen/tables/RayPayload.h index e9d0d336..13fa2c35 100644 --- a/workdir/shaders/autogen/tables/RayPayload.h +++ b/workdir/shaders/autogen/tables/RayPayload.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "RayCone.h" diff --git a/workdir/shaders/autogen/tables/RaytraceInstanceInfo.h b/workdir/shaders/autogen/tables/RaytraceInstanceInfo.h index f2b89d36..24c90cfd 100644 --- a/workdir/shaders/autogen/tables/RaytraceInstanceInfo.h +++ b/workdir/shaders/autogen/tables/RaytraceInstanceInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "mesh_vertex_input.h" diff --git a/workdir/shaders/autogen/tables/Raytracing.h b/workdir/shaders/autogen/tables/Raytracing.h index 2c8c8f08..9fe7bac9 100644 --- a/workdir/shaders/autogen/tables/Raytracing.h +++ b/workdir/shaders/autogen/tables/Raytracing.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct Raytracing diff --git a/workdir/shaders/autogen/tables/RaytracingRays.h b/workdir/shaders/autogen/tables/RaytracingRays.h index 98982ce6..dbabe815 100644 --- a/workdir/shaders/autogen/tables/RaytracingRays.h +++ b/workdir/shaders/autogen/tables/RaytracingRays.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/ReflectionCombine.h b/workdir/shaders/autogen/tables/ReflectionCombine.h index b46cf766..7c1acfbe 100644 --- a/workdir/shaders/autogen/tables/ReflectionCombine.h +++ b/workdir/shaders/autogen/tables/ReflectionCombine.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/SMAA_Blend.h b/workdir/shaders/autogen/tables/SMAA_Blend.h index e195d9a1..bf246561 100644 --- a/workdir/shaders/autogen/tables/SMAA_Blend.h +++ b/workdir/shaders/autogen/tables/SMAA_Blend.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SMAA_Blend diff --git a/workdir/shaders/autogen/tables/SMAA_Global.h b/workdir/shaders/autogen/tables/SMAA_Global.h index 2764b9b5..f18ae994 100644 --- a/workdir/shaders/autogen/tables/SMAA_Global.h +++ b/workdir/shaders/autogen/tables/SMAA_Global.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SMAA_Global diff --git a/workdir/shaders/autogen/tables/SMAA_Weights.h b/workdir/shaders/autogen/tables/SMAA_Weights.h index bbc0842f..16941ce6 100644 --- a/workdir/shaders/autogen/tables/SMAA_Weights.h +++ b/workdir/shaders/autogen/tables/SMAA_Weights.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SMAA_Weights diff --git a/workdir/shaders/autogen/tables/SceneData.h b/workdir/shaders/autogen/tables/SceneData.h index d0111ea1..77078f98 100644 --- a/workdir/shaders/autogen/tables/SceneData.h +++ b/workdir/shaders/autogen/tables/SceneData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "MaterialCommandData.h" diff --git a/workdir/shaders/autogen/tables/ShadowPayload.h b/workdir/shaders/autogen/tables/ShadowPayload.h index 6caabeb3..9863c808 100644 --- a/workdir/shaders/autogen/tables/ShadowPayload.h +++ b/workdir/shaders/autogen/tables/ShadowPayload.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once diff --git a/workdir/shaders/autogen/tables/SingleColor.h b/workdir/shaders/autogen/tables/SingleColor.h index f70bc503..8720f70f 100644 --- a/workdir/shaders/autogen/tables/SingleColor.h +++ b/workdir/shaders/autogen/tables/SingleColor.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SingleColor diff --git a/workdir/shaders/autogen/tables/SingleColorDepth.h b/workdir/shaders/autogen/tables/SingleColorDepth.h index e5dddecb..c2e2834a 100644 --- a/workdir/shaders/autogen/tables/SingleColorDepth.h +++ b/workdir/shaders/autogen/tables/SingleColorDepth.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SingleColorDepth diff --git a/workdir/shaders/autogen/tables/SkyData.h b/workdir/shaders/autogen/tables/SkyData.h index bfd28b37..6936ecb5 100644 --- a/workdir/shaders/autogen/tables/SkyData.h +++ b/workdir/shaders/autogen/tables/SkyData.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SkyData diff --git a/workdir/shaders/autogen/tables/SkyFace.h b/workdir/shaders/autogen/tables/SkyFace.h index 14e5b37a..f1fef2b4 100644 --- a/workdir/shaders/autogen/tables/SkyFace.h +++ b/workdir/shaders/autogen/tables/SkyFace.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct SkyFace diff --git a/workdir/shaders/autogen/tables/Test.h b/workdir/shaders/autogen/tables/Test.h index 78d9808d..66c80525 100644 --- a/workdir/shaders/autogen/tables/Test.h +++ b/workdir/shaders/autogen/tables/Test.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "MeshInstanceInfo.h" diff --git a/workdir/shaders/autogen/tables/TextureRenderer.h b/workdir/shaders/autogen/tables/TextureRenderer.h index a7dd3856..c63414c1 100644 --- a/workdir/shaders/autogen/tables/TextureRenderer.h +++ b/workdir/shaders/autogen/tables/TextureRenderer.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct TextureRenderer diff --git a/workdir/shaders/autogen/tables/TilingParams.h b/workdir/shaders/autogen/tables/TilingParams.h index 88630f4d..789af0a2 100644 --- a/workdir/shaders/autogen/tables/TilingParams.h +++ b/workdir/shaders/autogen/tables/TilingParams.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct TilingParams diff --git a/workdir/shaders/autogen/tables/TilingPostprocess.h b/workdir/shaders/autogen/tables/TilingPostprocess.h index 1e2f9af3..89957b60 100644 --- a/workdir/shaders/autogen/tables/TilingPostprocess.h +++ b/workdir/shaders/autogen/tables/TilingPostprocess.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "TilingParams.h" diff --git a/workdir/shaders/autogen/tables/Triangle.h b/workdir/shaders/autogen/tables/Triangle.h index 39d8e132..2d337aeb 100644 --- a/workdir/shaders/autogen/tables/Triangle.h +++ b/workdir/shaders/autogen/tables/Triangle.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "mesh_vertex_input.h" diff --git a/workdir/shaders/autogen/tables/VSLine.h b/workdir/shaders/autogen/tables/VSLine.h index 56c50418..fd870e91 100644 --- a/workdir/shaders/autogen/tables/VSLine.h +++ b/workdir/shaders/autogen/tables/VSLine.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VSLine diff --git a/workdir/shaders/autogen/tables/VoxelBlur.h b/workdir/shaders/autogen/tables/VoxelBlur.h index d60ac609..b6234346 100644 --- a/workdir/shaders/autogen/tables/VoxelBlur.h +++ b/workdir/shaders/autogen/tables/VoxelBlur.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelBlur diff --git a/workdir/shaders/autogen/tables/VoxelCopy.h b/workdir/shaders/autogen/tables/VoxelCopy.h index c9ccf895..c1be748e 100644 --- a/workdir/shaders/autogen/tables/VoxelCopy.h +++ b/workdir/shaders/autogen/tables/VoxelCopy.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "VoxelTilingParams.h" diff --git a/workdir/shaders/autogen/tables/VoxelDebug.h b/workdir/shaders/autogen/tables/VoxelDebug.h index d11ff8ac..826ddf54 100644 --- a/workdir/shaders/autogen/tables/VoxelDebug.h +++ b/workdir/shaders/autogen/tables/VoxelDebug.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/VoxelInfo.h b/workdir/shaders/autogen/tables/VoxelInfo.h index 987d320c..64102638 100644 --- a/workdir/shaders/autogen/tables/VoxelInfo.h +++ b/workdir/shaders/autogen/tables/VoxelInfo.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelInfo diff --git a/workdir/shaders/autogen/tables/VoxelLighting.h b/workdir/shaders/autogen/tables/VoxelLighting.h index 790c9bf5..1914c880 100644 --- a/workdir/shaders/autogen/tables/VoxelLighting.h +++ b/workdir/shaders/autogen/tables/VoxelLighting.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "PSSMDataGlobal.h" diff --git a/workdir/shaders/autogen/tables/VoxelMipMap.h b/workdir/shaders/autogen/tables/VoxelMipMap.h index 30ca9b13..8238e3ab 100644 --- a/workdir/shaders/autogen/tables/VoxelMipMap.h +++ b/workdir/shaders/autogen/tables/VoxelMipMap.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "VoxelTilingParams.h" diff --git a/workdir/shaders/autogen/tables/VoxelOutput.h b/workdir/shaders/autogen/tables/VoxelOutput.h index a865c601..b089e897 100644 --- a/workdir/shaders/autogen/tables/VoxelOutput.h +++ b/workdir/shaders/autogen/tables/VoxelOutput.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelOutput diff --git a/workdir/shaders/autogen/tables/VoxelScreen.h b/workdir/shaders/autogen/tables/VoxelScreen.h index e4b4efdc..0e6e1147 100644 --- a/workdir/shaders/autogen/tables/VoxelScreen.h +++ b/workdir/shaders/autogen/tables/VoxelScreen.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/VoxelTilingParams.h b/workdir/shaders/autogen/tables/VoxelTilingParams.h index 12656fd0..0ad66412 100644 --- a/workdir/shaders/autogen/tables/VoxelTilingParams.h +++ b/workdir/shaders/autogen/tables/VoxelTilingParams.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelTilingParams diff --git a/workdir/shaders/autogen/tables/VoxelUpscale.h b/workdir/shaders/autogen/tables/VoxelUpscale.h index 2550b722..7b3fb1d6 100644 --- a/workdir/shaders/autogen/tables/VoxelUpscale.h +++ b/workdir/shaders/autogen/tables/VoxelUpscale.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelUpscale diff --git a/workdir/shaders/autogen/tables/VoxelVisibility.h b/workdir/shaders/autogen/tables/VoxelVisibility.h index 6080fcf6..6dbeb78a 100644 --- a/workdir/shaders/autogen/tables/VoxelVisibility.h +++ b/workdir/shaders/autogen/tables/VoxelVisibility.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct VoxelVisibility diff --git a/workdir/shaders/autogen/tables/VoxelZero.h b/workdir/shaders/autogen/tables/VoxelZero.h index 17a72bbb..6ebb878b 100644 --- a/workdir/shaders/autogen/tables/VoxelZero.h +++ b/workdir/shaders/autogen/tables/VoxelZero.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "VoxelTilingParams.h" diff --git a/workdir/shaders/autogen/tables/Voxelization.h b/workdir/shaders/autogen/tables/Voxelization.h index cede6b64..1054fe74 100644 --- a/workdir/shaders/autogen/tables/Voxelization.h +++ b/workdir/shaders/autogen/tables/Voxelization.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "VoxelInfo.h" diff --git a/workdir/shaders/autogen/tables/WorkGraphTest.h b/workdir/shaders/autogen/tables/WorkGraphTest.h index a866c31c..0f1a2b8d 100644 --- a/workdir/shaders/autogen/tables/WorkGraphTest.h +++ b/workdir/shaders/autogen/tables/WorkGraphTest.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "GBuffer.h" diff --git a/workdir/shaders/autogen/tables/mesh_vertex_input.h b/workdir/shaders/autogen/tables/mesh_vertex_input.h index 10c3e1ea..00dd5b56 100644 --- a/workdir/shaders/autogen/tables/mesh_vertex_input.h +++ b/workdir/shaders/autogen/tables/mesh_vertex_input.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once diff --git a/workdir/shaders/autogen/tables/node_data.h b/workdir/shaders/autogen/tables/node_data.h index 3eb39925..70b2d8eb 100644 --- a/workdir/shaders/autogen/tables/node_data.h +++ b/workdir/shaders/autogen/tables/node_data.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" #include "AABB.h" diff --git a/workdir/shaders/autogen/tables/vertex_input.h b/workdir/shaders/autogen/tables/vertex_input.h index 4f02c044..35a74e3b 100644 --- a/workdir/shaders/autogen/tables/vertex_input.h +++ b/workdir/shaders/autogen/tables/vertex_input.h @@ -1,3 +1,10 @@ +// ============================================================================ +// THIS FILE IS AUTOMATICALLY GENERATED - DO NOT MANUALLY EDIT +// ============================================================================ +// Generated by SigParser from .sig files in sources/SIGParser/sigs/ +// Changes will be lost on next generation. Edit the .sig source files instead. +// ============================================================================ + #pragma once #include "sig_hlsl.hlsl" struct vertex_input diff --git a/workdir/shaders/denoiser/ffx-reflection-dnsr/ffx_denoiser_reflections_reproject.h b/workdir/shaders/denoiser/ffx-reflection-dnsr/ffx_denoiser_reflections_reproject.h index 06e92598..d70c481b 100644 --- a/workdir/shaders/denoiser/ffx-reflection-dnsr/ffx_denoiser_reflections_reproject.h +++ b/workdir/shaders/denoiser/ffx-reflection-dnsr/ffx_denoiser_reflections_reproject.h @@ -332,7 +332,7 @@ void FFX_DNSR_Reflections_Reproject(int2 dispatch_thread_id, int2 group_thread_i // Initialize groupshared array for downsampling min16float weight = FFX_DNSR_Reflections_GetLuminanceWeight(radiance.xyz); radiance.xyz *= weight; - if (any(dispatch_thread_id >= screen_size) || any(isinf(radiance)) || any(isnan(radiance)) || weight > 1.0e3) { + if (any(dispatch_thread_id >= screen_size) || any(isinf((float3)radiance)) || any(isnan((float3)radiance)) || weight > 1.0e3) { radiance = (0.0).xxxx; weight = 0.0; } diff --git a/workdir/test_references/clear_color.png b/workdir/test_references/clear_color.png new file mode 100644 index 00000000..f9fb0fef Binary files /dev/null and b/workdir/test_references/clear_color.png differ diff --git a/workdir/test_references/clear_scissor.png b/workdir/test_references/clear_scissor.png new file mode 100644 index 00000000..761acdc1 Binary files /dev/null and b/workdir/test_references/clear_scissor.png differ diff --git a/workdir/test_references/clear_uav.png b/workdir/test_references/clear_uav.png new file mode 100644 index 00000000..99d3c416 Binary files /dev/null and b/workdir/test_references/clear_uav.png differ diff --git a/workdir/test_references/cube.png b/workdir/test_references/cube.png new file mode 100644 index 00000000..778c9486 Binary files /dev/null and b/workdir/test_references/cube.png differ diff --git a/workdir/test_references/icon.png b/workdir/test_references/icon.png new file mode 100644 index 00000000..9755ccd7 Binary files /dev/null and b/workdir/test_references/icon.png differ diff --git a/workdir/test_references/instancing.png b/workdir/test_references/instancing.png new file mode 100644 index 00000000..9a77cb9c Binary files /dev/null and b/workdir/test_references/instancing.png differ diff --git a/workdir/test_references/rainbow.png b/workdir/test_references/rainbow.png new file mode 100644 index 00000000..e0b285df Binary files /dev/null and b/workdir/test_references/rainbow.png differ diff --git a/workdir/test_references/rainbow_vertical.png b/workdir/test_references/rainbow_vertical.png new file mode 100644 index 00000000..21bfa63c Binary files /dev/null and b/workdir/test_references/rainbow_vertical.png differ diff --git a/workdir/test_references/triangle.png b/workdir/test_references/triangle.png new file mode 100644 index 00000000..6c12b1ae Binary files /dev/null and b/workdir/test_references/triangle.png differ diff --git a/workdir/test_results/icon_actual.png b/workdir/test_results/icon_actual.png new file mode 100644 index 00000000..b94e324c Binary files /dev/null and b/workdir/test_results/icon_actual.png differ diff --git a/workdir/test_results/icon_diff.png b/workdir/test_results/icon_diff.png new file mode 100644 index 00000000..259ec294 Binary files /dev/null and b/workdir/test_results/icon_diff.png differ