commit 332020f3103366d54c518be2e8a57cf440a254de (tree)
parent 21c2bca908375f3e718b0f9fb8ee2a9c68522690
Author: Meghan <hello@nektro.net>
Date: Mon, 12 Dec 2022 01:34:47 -0800
std: add object format extension for dxcontainer
source: https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/std/zig.zig b/lib/std/zig.zig
@@ -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}),
}
}