fixing synchronization issues, implementing missing entrypoints
Test / build_and_test (push) Successful in 2m13s
Build / build (push) Successful in 2m30s

This commit is contained in:
2026-06-30 14:36:20 +02:00
parent b83ddd52a4
commit 7933bea68a
15 changed files with 547 additions and 130 deletions
+15
View File
@@ -45,6 +45,8 @@ pub const DynamicState = struct {
viewports: ?[]const vk.Viewport,
scissor: ?[]const vk.Rect2D,
line_width: ?f32,
depth_bias: ?DepthBias,
depth_bounds: ?DepthBounds,
blend_constants: ?[4]f32,
stencil_front_compare_mask: ?u32,
stencil_back_compare_mask: ?u32,
@@ -54,6 +56,17 @@ pub const DynamicState = struct {
stencil_back_reference: ?u32,
};
pub const DepthBias = struct {
constant_factor: f32,
clamp: f32,
slope_factor: f32,
};
pub const DepthBounds = struct {
min: f32,
max: f32,
};
pub const Vertex = struct {
primitive_restart: bool,
position: F32x4,
@@ -158,6 +171,8 @@ pub fn init(device: *SoftDevice, state: *PipelineState, active_occlusion_queries
.viewports = null,
.scissor = null,
.line_width = null,
.depth_bias = null,
.depth_bounds = null,
.blend_constants = null,
.stencil_front_compare_mask = null,
.stencil_back_compare_mask = null,