improving spirv kill support
This commit is contained in:
@@ -18,6 +18,8 @@ address_mode_u: vk.SamplerAddressMode,
|
||||
address_mode_v: vk.SamplerAddressMode,
|
||||
address_mode_w: vk.SamplerAddressMode,
|
||||
mip_lod_bias: f32,
|
||||
compare_enable: vk.Bool32,
|
||||
compare_op: vk.CompareOp,
|
||||
min_lod: f32,
|
||||
max_lod: f32,
|
||||
border_color: vk.BorderColor,
|
||||
@@ -40,6 +42,8 @@ pub fn init(device: *Device, allocator: std.mem.Allocator, info: *const vk.Sampl
|
||||
.address_mode_v = info.address_mode_v,
|
||||
.address_mode_w = info.address_mode_w,
|
||||
.mip_lod_bias = info.mip_lod_bias,
|
||||
.compare_enable = info.compare_enable,
|
||||
.compare_op = info.compare_op,
|
||||
.min_lod = info.min_lod,
|
||||
.max_lod = info.max_lod,
|
||||
.border_color = info.border_color,
|
||||
|
||||
+1
-3
@@ -52,9 +52,7 @@ pub const ShaderModule = @import("ShaderModule.zig");
|
||||
pub const SurfaceKHR = @import("wsi/SurfaceKHR.zig");
|
||||
pub const SwapchainKHR = @import("wsi/SwapchainKHR.zig");
|
||||
|
||||
// To be commented out when spec 1.4.354 is released
|
||||
// pub const VULKAN_VENDOR_ID: i32 = @intFromEnum(vk.VendorId.ape);
|
||||
pub const VULKAN_VENDOR_ID: i32 = 0x10008;
|
||||
pub const VULKAN_VENDOR_ID: i32 = @intFromEnum(vk.VendorId.ape);
|
||||
|
||||
/// Default driver name
|
||||
pub const DRIVER_NAME = "Unnamed Ape Driver";
|
||||
|
||||
Reference in New Issue
Block a user