Commit b5301558ae

Robin Voetter <robin@voetter.nl>
2024-11-02 15:23:27
spirv: make default generic address space for vulkan Function
We are not using Private variables. This needs to be cleaned up a bit more, this will happen with the general address space improvements.
1 parent 7682ced
Changed files (1)
src
codegen
src/codegen/spirv.zig
@@ -1882,7 +1882,7 @@ const NavGen = struct {
                 else => unreachable,
             },
             .shared => .Workgroup,
-            .local => .Private,
+            .local => .Function,
             .global => switch (target.os.tag) {
                 .opencl => .CrossWorkgroup,
                 .vulkan => .PhysicalStorageBuffer,