| ... | ... | @@ -217,7 +217,7 @@ pub fn flushModule(self: *SpirV, comp: *Compilation, prog_node: *std.Progress.No |
| 217 | 217 | fn writeCapabilities(spv: *SpvModule, target: std.Target) !void { |
| 218 | 218 | // TODO: Integrate with a hypothetical feature system |
| 219 | 219 | const caps: []const spec.Capability = switch (target.os.tag) { |
| 220 | | .opencl => &.{ .Kernel, .Addresses, .Int8, .Int16, .Int64, .GenericPointer }, |
| 220 | .opencl => &.{ .Kernel, .Addresses, .Int8, .Int16, .Int64, .Float64, .GenericPointer }, |
| 221 | 221 | .glsl450 => &.{.Shader}, |
| 222 | 222 | .vulkan => &.{.Shader}, |
| 223 | 223 | else => unreachable, // TODO |