std.Target: Remove Os.Tag.shadermodel.

This was a leftover from the Cpu.Arch.dxil removal.
This commit is contained in:
Alex Rønne Petersen 2024-10-01 08:41:50 +02:00
parent c2ba6127c0
commit 3f322c49bc
No known key found for this signature in database
3 changed files with 1 additions and 10 deletions

View File

@ -652,7 +652,6 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 {
.tvos => "tvos",
.watchos => "watchos",
.driverkit => "driverkit",
.shadermodel => "shadermodel",
.visionos => "xros",
.serenity => "serenity",
.bridgeos => "bridgeos",

View File

@ -66,13 +66,13 @@ pub const Os = struct {
nvcl,
opencl,
opengl,
shadermodel,
vulkan,
// LLVM tags deliberately omitted:
// - darwin
// - kfreebsd
// - nacl
// - shadermodel
pub inline fn isDarwin(tag: Tag) bool {
return switch (tag) {
@ -178,7 +178,6 @@ pub const Os = struct {
.hermit,
.hurd,
.emscripten,
.shadermodel,
.uefi,
.opencl, // TODO: OpenCL versions
.opengl, // TODO: GLSL versions
@ -410,7 +409,6 @@ pub const Os = struct {
.hermit,
.hurd,
.emscripten,
.shadermodel,
.uefi,
.opencl, // TODO: OpenCL versions
.opengl, // TODO: GLSL versions
@ -615,7 +613,6 @@ pub const Os = struct {
.hurd,
.wasi,
.emscripten,
.shadermodel,
.uefi,
.opencl,
.opengl,
@ -742,7 +739,6 @@ pub const Abi = enum {
.watchos,
.visionos,
.driverkit,
.shadermodel,
.solaris,
.illumos,
.serenity,
@ -1879,7 +1875,6 @@ pub const DynamicLinker = struct {
.amdpal,
.hermit,
.hurd,
.shadermodel,
=> none,
};
}
@ -2372,7 +2367,6 @@ pub fn cTypeBitSize(target: Target, c_type: CType) u16 {
.hermit,
.hurd,
.opengl,
.shadermodel,
=> @panic("TODO specify the C integer and float type sizes for this OS"),
}
}

View File

@ -134,7 +134,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.tvos => "tvos",
.watchos => "watchos",
.driverkit => "driverkit",
.shadermodel => "shadermodel",
.visionos => "xros",
.serenity => "serenity",
.vulkan => "vulkan",
@ -223,7 +222,6 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
.wasi => .WASI,
.emscripten => .Emscripten,
.driverkit => .DriverKit,
.shadermodel => .ShaderModel,
.vulkan => .Vulkan,
.serenity => .Serenity,
.bridgeos => .BridgeOS,