| ... | ... | @@ -242,7 +242,7 @@ pub fn flushModule(self: *SpirV, comp: *Compilation, prog_node: *std.Progress.No |
| 242 | 242 | fn writeCapabilities(spv: *SpvModule, target: std.Target) !void { |
| 243 | 243 | // TODO: Integrate with a hypothetical feature system |
| 244 | 244 | const caps: []const spec.Capability = switch (target.os.tag) { |
| 245 | | .opencl => &.{.Kernel}, |
| 245 | .opencl => &.{ .Kernel, .Addresses }, |
| 246 | 246 | .glsl450 => &.{.Shader}, |
| 247 | 247 | .vulkan => &.{.Shader}, |
| 248 | 248 | else => unreachable, // TODO |