Files
VulkanDriver/src/intel/lib.zig
T
kbz_8 0224b5675f
Test / build_and_test (push) Successful in 4m51s
Build / build (push) Successful in 6m44s
implementing device creation, device memory, basic buffers copy and buffers fill in Flint
2026-07-10 00:19:29 +02:00

92 lines
3.3 KiB
Zig

const std = @import("std");
const vk = @import("vulkan");
pub const base = @import("base");
pub const c = @import("intel_c");
pub const config = base.config;
pub const FlintInstance = @import("FlintInstance.zig");
pub const FlintDevice = @import("FlintDevice.zig");
pub const FlintPhysicalDevice = @import("FlintPhysicalDevice.zig");
pub const FlintQueue = @import("FlintQueue.zig");
pub const kmd = @import("kmd.zig");
pub const FlintBinarySemaphore = @import("FlintBinarySemaphore.zig");
pub const FlintBuffer = @import("FlintBuffer.zig");
pub const FlintBufferView = @import("FlintBufferView.zig");
pub const FlintCommandBuffer = @import("FlintCommandBuffer.zig");
pub const FlintCommandPool = @import("FlintCommandPool.zig");
pub const FlintDescriptorPool = @import("FlintDescriptorPool.zig");
pub const FlintDescriptorSet = @import("FlintDescriptorSet.zig");
pub const FlintDescriptorSetLayout = @import("FlintDescriptorSetLayout.zig");
pub const FlintDeviceMemory = @import("FlintDeviceMemory.zig");
pub const FlintEvent = @import("FlintEvent.zig");
pub const FlintFence = @import("FlintFence.zig");
pub const FlintFramebuffer = @import("FlintFramebuffer.zig");
pub const FlintImage = @import("FlintImage.zig");
pub const FlintImageView = @import("FlintImageView.zig");
pub const FlintPipeline = @import("FlintPipeline.zig");
pub const FlintPipelineCache = @import("FlintPipelineCache.zig");
pub const FlintPipelineLayout = @import("FlintPipelineLayout.zig");
pub const FlintQueryPool = @import("FlintQueryPool.zig");
pub const FlintRenderPass = @import("FlintRenderPass.zig");
pub const FlintSampler = @import("FlintSampler.zig");
pub const FlintShaderModule = @import("FlintShaderModule.zig");
pub const Instance = FlintInstance;
pub const DRIVER_NAME = "Flint";
pub const PHYSICAL_DEVICE_DEFAULT_NAME = "Unkown Intel device";
pub const INTEL_PCI_VENDOR_ID = 0x8086;
pub const VULKAN_VERSION = vk.makeApiVersion(
0,
config.flint_vulkan_version.major,
config.flint_vulkan_version.minor,
config.flint_vulkan_version.patch,
);
pub const KmdType = enum {
Invalid,
I915,
Xe,
};
pub const std_options = base.std_options;
comptime {
_ = base;
}
test {
std.testing.refAllDecls(FlintBinarySemaphore);
std.testing.refAllDecls(FlintBuffer);
std.testing.refAllDecls(FlintBufferView);
std.testing.refAllDecls(FlintCommandBuffer);
std.testing.refAllDecls(FlintCommandPool);
std.testing.refAllDecls(FlintDescriptorPool);
std.testing.refAllDecls(FlintDescriptorSet);
std.testing.refAllDecls(FlintDescriptorSetLayout);
std.testing.refAllDecls(FlintDevice);
std.testing.refAllDecls(FlintDeviceMemory);
std.testing.refAllDecls(FlintEvent);
std.testing.refAllDecls(FlintFence);
std.testing.refAllDecls(FlintFramebuffer);
std.testing.refAllDecls(FlintImage);
std.testing.refAllDecls(FlintImageView);
std.testing.refAllDecls(FlintInstance);
std.testing.refAllDecls(FlintPhysicalDevice);
std.testing.refAllDecls(FlintPipeline);
std.testing.refAllDecls(FlintPipelineCache);
std.testing.refAllDecls(FlintPipelineLayout);
std.testing.refAllDecls(FlintQueryPool);
std.testing.refAllDecls(FlintQueue);
std.testing.refAllDecls(FlintRenderPass);
std.testing.refAllDecls(FlintSampler);
std.testing.refAllDecls(FlintShaderModule);
std.testing.refAllDecls(kmd);
std.testing.refAllDecls(base);
}