gpu: isolate tessellation analysis and SPIR-V emission

This commit is contained in:
nmzik committed 2026-09-14 06:58:32 +04:00
1 parent 96d62b3367
commit 87971a28f5
12 files changed
+544 -489

No files matched your search

@@ -0,0 +1,21 @@
#pragma once
#include <cstdint>
#include <span>
namespace Libs::Graphics {
struct ShaderTessellationInputInfo;
}
namespace Libs::Graphics::ShaderRecompiler {
struct CompileOptions;
namespace IR {
struct Program;
}
void AnalyzeTessellationPrograms(std::span<const uint32_t> local, std::span<const uint32_t> control,
ShaderTessellationInputInfo& info);
void LowerTessellationMemory(IR::Program& program, const CompileOptions& options);
} // namespace Libs::Graphics::ShaderRecompiler