aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorAlex Rønne Petersen <alex@alexrp.com>2024-08-10 15:25:41 +0200
committerAlex Rønne Petersen <alex@alexrp.com>2024-08-12 08:59:47 +0200
commiteb4539a27d72defc2f90a0b164a5d7f27df79ea7 (patch)
treeefe3019b3c60c1b0199c689fb9ff158a473b1383 /src/codegen
parent15a3ee19795dd9807107c2a45fa328b00e9edd10 (diff)
downloadzig-eb4539a27d72defc2f90a0b164a5d7f27df79ea7.tar.gz
zig-eb4539a27d72defc2f90a0b164a5d7f27df79ea7.zip
std.Target: Rename glsl450 Arch tag to opengl.
Versions can simply use the normal version range mechanism, or alternatively an Abi tag if that makes more sense. For now, we only care about 4.5 anyway.
Diffstat (limited to 'src/codegen')
-rw-r--r--src/codegen/llvm.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
index b900c15d82..959d5fa658 100644
--- a/src/codegen/llvm.zig
+++ b/src/codegen/llvm.zig
@@ -140,7 +140,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.serenity => "serenity",
.vulkan => "vulkan",
- .glsl450,
+ .opengl,
.plan9,
.minix,
.contiki,
@@ -210,7 +210,7 @@ pub fn targetOs(os_tag: std.Target.Os.Tag) llvm.OSType {
.freestanding,
.other,
.opencl,
- .glsl450,
+ .opengl,
.plan9,
.minix,
.contiki,