authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2022-12-12 01:34:47-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-12-13 15:06:55-05:00
log332020f3103366d54c518be2e8a57cf440a254de
tree3c7772b9e0f46953daeabc7e736c81d26d68e812
parent21c2bca908375f3e718b0f9fb8ee2a9c68522690

std: add object format extension for dxcontainer

source: https://github.com/microsoft/DirectXShaderCompiler/blob/main/docs/DXIL.rst

1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/zig.zig+1-1
...@@ -195,7 +195,7 @@ pub fn binNameAlloc(allocator: std.mem.Allocator, options: BinNameOptions) error...@@ -195,7 +195,7 @@ pub fn binNameAlloc(allocator: std.mem.Allocator, options: BinNameOptions) error
195 }),195 }),
196 },196 },
197 .nvptx => return std.fmt.allocPrint(allocator, "{s}.ptx", .{root_name}),197 .nvptx => return std.fmt.allocPrint(allocator, "{s}.ptx", .{root_name}),
198 .dxcontainer => @panic("TODO what's the file extension for these?"),198 .dxcontainer => return std.fmt.allocPrint(allocator, "{s}.dxil", .{root_name}),
199 }199 }
200}200}
201201