renaming intel driver to Flint
Test / build_and_test (push) Successful in 1m6s
Build / build (push) Successful in 1m22s

This commit is contained in:
2026-06-16 19:32:20 +02:00
parent d8a5452c6f
commit d68360173f
30 changed files with 137 additions and 169 deletions
+57 -57
View File
@@ -5,48 +5,48 @@ pub const base = @import("base");
pub const c = @import("intel_c");
pub const config = base.config;
pub const IntelInstance = @import("IntelInstance.zig");
pub const IntelDevice = @import("IntelDevice.zig");
pub const IntelPhysicalDevice = @import("IntelPhysicalDevice.zig");
pub const IntelQueue = @import("IntelQueue.zig");
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 IntelBinarySemaphore = @import("IntelBinarySemaphore.zig");
pub const IntelBuffer = @import("IntelBuffer.zig");
pub const IntelBufferView = @import("IntelBufferView.zig");
pub const IntelCommandBuffer = @import("IntelCommandBuffer.zig");
pub const IntelCommandPool = @import("IntelCommandPool.zig");
pub const IntelDescriptorPool = @import("IntelDescriptorPool.zig");
pub const IntelDescriptorSet = @import("IntelDescriptorSet.zig");
pub const IntelDescriptorSetLayout = @import("IntelDescriptorSetLayout.zig");
pub const IntelDeviceMemory = @import("IntelDeviceMemory.zig");
pub const IntelEvent = @import("IntelEvent.zig");
pub const IntelFence = @import("IntelFence.zig");
pub const IntelFramebuffer = @import("IntelFramebuffer.zig");
pub const IntelImage = @import("IntelImage.zig");
pub const IntelImageView = @import("IntelImageView.zig");
pub const IntelPipeline = @import("IntelPipeline.zig");
pub const IntelPipelineCache = @import("IntelPipelineCache.zig");
pub const IntelPipelineLayout = @import("IntelPipelineLayout.zig");
pub const IntelQueryPool = @import("IntelQueryPool.zig");
pub const IntelRenderPass = @import("IntelRenderPass.zig");
pub const IntelSampler = @import("IntelSampler.zig");
pub const IntelShaderModule = @import("IntelShaderModule.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 = IntelInstance;
pub const Instance = FlintInstance;
pub const DRIVER_NAME = "Intel";
pub const DRIVER_NAME = "Flint";
pub const VULKAN_VERSION = vk.makeApiVersion(
0,
config.intel_vulkan_version.major,
config.intel_vulkan_version.minor,
config.intel_vulkan_version.patch,
config.flint_vulkan_version.major,
config.flint_vulkan_version.minor,
config.flint_vulkan_version.patch,
);
pub const DEVICE_ID = 0x00000000;
pub const PIPELINE_CACHE_UUID: [vk.UUID_SIZE]u8 = "ApeIntelCacheUUI".*;
pub const PIPELINE_CACHE_UUID: [vk.UUID_SIZE]u8 = "ApeFlintCacheUUI".*;
pub const PHYSICAL_DEVICE_DEFAULT_NAME = "Ape Intel device";
pub const PHYSICAL_DEVICE_DEFAULT_NAME = "Ape Flint device";
pub const std_options = base.std_options;
@@ -55,30 +55,30 @@ comptime {
}
test {
std.testing.refAllDecls(IntelBinarySemaphore);
std.testing.refAllDecls(IntelBuffer);
std.testing.refAllDecls(IntelBufferView);
std.testing.refAllDecls(IntelCommandBuffer);
std.testing.refAllDecls(IntelCommandPool);
std.testing.refAllDecls(IntelDescriptorPool);
std.testing.refAllDecls(IntelDescriptorSet);
std.testing.refAllDecls(IntelDescriptorSetLayout);
std.testing.refAllDecls(IntelDevice);
std.testing.refAllDecls(IntelDeviceMemory);
std.testing.refAllDecls(IntelEvent);
std.testing.refAllDecls(IntelFence);
std.testing.refAllDecls(IntelFramebuffer);
std.testing.refAllDecls(IntelImage);
std.testing.refAllDecls(IntelImageView);
std.testing.refAllDecls(IntelInstance);
std.testing.refAllDecls(IntelPhysicalDevice);
std.testing.refAllDecls(IntelPipeline);
std.testing.refAllDecls(IntelPipelineCache);
std.testing.refAllDecls(IntelPipelineLayout);
std.testing.refAllDecls(IntelQueryPool);
std.testing.refAllDecls(IntelQueue);
std.testing.refAllDecls(IntelRenderPass);
std.testing.refAllDecls(IntelSampler);
std.testing.refAllDecls(IntelShaderModule);
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(base);
}