forked from mirror/vulkan-zig
Add special cases for bit packed structs
This commit adds special cases for AccelerationStructureInstanceKHR and VkAccelerationStructureSRTMotionInstanceNV. These types use bit-packed fields which are not representable in the current version of the zig stage 2 compiler. This might change when https://github.com/ziglang/zig/issues/13009 is resolved. Fixes #56
This commit is contained in:
@@ -104,7 +104,7 @@ pub const ShaderCompileStep = struct {
|
||||
const dir = path.dirname(shader.full_out_path).?;
|
||||
try cwd.makePath(dir);
|
||||
|
||||
try cmd.appendSlice(&.{shader.source_path, "-o", shader.full_out_path});
|
||||
try cmd.appendSlice(&.{ shader.source_path, "-o", shader.full_out_path });
|
||||
try self.builder.spawnChild(cmd.items);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user