From 332020f3103366d54c518be2e8a57cf440a254de Mon Sep 17 00:00:00 2001 From: Meghan Date: Mon, 12 Dec 2022 01:34:47 -0800 Subject: [PATCH] std: add object format extension for dxcontainer source: https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst --- lib/std/zig.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/zig.zig b/lib/std/zig.zig index aa494ae55e..bce8f6ce3c 100644 --- 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}), } }