diff options
| author | Robin Voetter <robin@voetter.nl> | 2024-11-01 03:44:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-01 03:44:37 +0100 |
| commit | ba5f57616f69c01aa6faa5bcabab2d58969cf335 (patch) | |
| tree | 8b9b301c895be30f53f74a9a7e70b12cddcb534b /src/link | |
| parent | 3f7fac5fff9beed535a7674679a5e2c1f3cd74d2 (diff) | |
| parent | 38345d590949b0c88d83bccb259364f02a59a90e (diff) | |
| download | zig-ba5f57616f69c01aa6faa5bcabab2d58969cf335.tar.gz zig-ba5f57616f69c01aa6faa5bcabab2d58969cf335.zip | |
Merge pull request #21861 from alichraghi/master
spirv: push constants and small fixes
Diffstat (limited to 'src/link')
| -rw-r--r-- | src/link/SpirV.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/SpirV.zig b/src/link/SpirV.zig index 045bd05d84..106b52a72c 100644 --- a/src/link/SpirV.zig +++ b/src/link/SpirV.zig @@ -296,7 +296,7 @@ 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, .Addresses, .Int8, .Int16, .Int64, .Float64, .Float16, .Vector16, .GenericPointer }, - .vulkan => &.{ .Shader, .PhysicalStorageBufferAddresses, .StoragePushConstant16, .Int8, .Int16, .Int64, .Float64, .Float16 }, + .vulkan => &.{ .Shader, .PhysicalStorageBufferAddresses, .Int8, .Int16, .Int64, .Float64, .Float16 }, else => unreachable, }; |
