authorgravatar for quint@daenen.emailQuint Daenen <quint@daenen.email> 2026-05-10 08:11:51+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-05-10 08:11:51+02:00
log9787df9421ad9d3fcb08cc7b394656542b16cfae
treea2dd1e45cc92b11251f2b958f02b90dc0915832f
parentcb1fe0e578de6ebda4650a8404a85a3bb6e2476a

fix(std.Target/spirv): correct variable_pointers feature description

The description was incorrectly copied from physical_storage_buffer. Reviewed-on: https://codeberg.org/ziglang/zig/pulls/35272

2 files changed, 2 insertions(+), 2 deletions(-)

lib/std/Target/spirv.zig+1-1
...@@ -123,7 +123,7 @@ pub const all_features = blk: {...@@ -123,7 +123,7 @@ pub const all_features = blk: {
123 };123 };
124 result[@intFromEnum(Feature.variable_pointers)] = .{124 result[@intFromEnum(Feature.variable_pointers)] = .{
125 .llvm_name = null,125 .llvm_name = null,
126 .description = "Enable SPV_KHR_physical_storage_buffer extension and the PhysicalStorageBufferAddresses capability",126 .description = "Enable SPV_KHR_variable_pointers extension and the VariablePointers capability",
127 .dependencies = featureSet(&[_]Feature{127 .dependencies = featureSet(&[_]Feature{
128 .v1_0,128 .v1_0,
129 }),129 }),
tools/update_cpu_features.zig+1-1
...@@ -1507,7 +1507,7 @@ const targets = [_]ArchTarget{...@@ -1507,7 +1507,7 @@ const targets = [_]ArchTarget{
1507 },1507 },
1508 .{1508 .{
1509 .zig_name = "variable_pointers",1509 .zig_name = "variable_pointers",
1510 .desc = "Enable SPV_KHR_physical_storage_buffer extension and the PhysicalStorageBufferAddresses capability",1510 .desc = "Enable SPV_KHR_variable_pointers extension and the VariablePointers capability",
1511 .deps = &.{"v1_0"},1511 .deps = &.{"v1_0"},
1512 },1512 },
1513 },1513 },