Root signature compiler

A port of dxc's root signature parser, verifier and serializer (versions
1.0 and 1.1, local / global modes): text to the RTS0 blob, with dxc's
error messages. Checked byte for byte against dxc on 409 accepted
signatures, and on 307 rejected ones for the same errors. Not wired in
yet.
This commit is contained in:
Peter Li 2026-10-31 16:04:30 -07:00
parent 198bb1d2af
commit 41d973183b
2 changed files with 1656 additions and 0 deletions

1655
src/dxil/rootsig.zig Normal file

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,7 @@ pub const dxil = struct {
pub const shader = @import("dxil/shader.zig"); pub const shader = @import("dxil/shader.zig");
pub const signature = @import("dxil/signature.zig"); pub const signature = @import("dxil/signature.zig");
pub const emit = @import("dxil/emit.zig"); pub const emit = @import("dxil/emit.zig");
pub const rootsig = @import("dxil/rootsig.zig");
}; };
pub const ir = struct { pub const ir = struct {