diff --git a/src/link/SpirV.zig b/src/link/SpirV.zig index 2d74e404eb7e45824062884ea4c058225eec7899..284e25671d53a97a0c4d5593a534363e2d6516ac 100644 --- a/src/link/SpirV.zig +++ b/src/link/SpirV.zig @@ -242,7 +242,7 @@ pub fn flushModule(self: *SpirV, comp: *Compilation, prog_node: *std.Progress.No fn writeCapabilities(spv: *SpvModule, target: std.Target) !void { // TODO: Integrate with a hypothetical feature system const caps: []const spec.Capability = switch (target.os.tag) { - .opencl => &.{.Kernel}, + .opencl => &.{ .Kernel, .Addresses }, .glsl450 => &.{.Shader}, .vulkan => &.{.Shader}, else => unreachable, // TODO