mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
std: add object format extension for dxcontainer
source: https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst
This commit is contained in:
parent
21c2bca908
commit
332020f310
@ -195,7 +195,7 @@ pub fn binNameAlloc(allocator: std.mem.Allocator, options: BinNameOptions) error
|
||||
}),
|
||||
},
|
||||
.nvptx => return std.fmt.allocPrint(allocator, "{s}.ptx", .{root_name}),
|
||||
.dxcontainer => @panic("TODO what's the file extension for these?"),
|
||||
.dxcontainer => return std.fmt.allocPrint(allocator, "{s}.dxil", .{root_name}),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user