shader: use Khronos definitions and simplify compiler ownership

This commit is contained in:
nmzik committed 2026-09-12 13:42:15 +04:00
1 parent 47b26e497f
commit 1d1f00bdef
28 files changed
+2048 -2153

No files matched your search

@@ -5,15 +5,9 @@
namespace Libs::Graphics::ShaderRecompiler::IR {
struct ShaderInfoOptions {
const ShaderVertexInputInfo* vertex = nullptr;
const ShaderPixelInputInfo* pixel = nullptr;
const ShaderComputeInputInfo* compute = nullptr;
};
// Completes the immutable shader interface after resource tracking. On failure Program::info and
// all completion state remain unchanged.
void CollectShaderInfo(Program& program, const ShaderInfoOptions& options);
void CollectShaderInfo(Program& program, ShaderStageInputInfo input_info);
} // namespace Libs::Graphics::ShaderRecompiler::IR