| ... | @@ -296,7 +296,7 @@ fn writeCapabilities(spv: *SpvModule, target: std.Target) !void { | ... | @@ -296,7 +296,7 @@ fn writeCapabilities(spv: *SpvModule, target: std.Target) !void { |
| 296 | // TODO: Integrate with a hypothetical feature system | 296 | // TODO: Integrate with a hypothetical feature system |
| 297 | const caps: []const spec.Capability = switch (target.os.tag) { | 297 | const caps: []const spec.Capability = switch (target.os.tag) { |
| 298 | .opencl => &.{ .Kernel, .Addresses, .Int8, .Int16, .Int64, .Float64, .Float16, .Vector16, .GenericPointer }, | 298 | .opencl => &.{ .Kernel, .Addresses, .Int8, .Int16, .Int64, .Float64, .Float16, .Vector16, .GenericPointer }, |
| 299 | .vulkan => &.{ .Shader, .PhysicalStorageBufferAddresses, .Int8, .Int16, .Int64, .Float64, .Float16 }, | 299 | .vulkan => &.{ .Shader, .PhysicalStorageBufferAddresses, .Int8, .Int16, .Int64, .Float64, .Float16, .VariablePointers, .VariablePointersStorageBuffer }, |
| 300 | else => unreachable, | 300 | else => unreachable, |
| 301 | }; | 301 | }; |
| 302 | | 302 | |