From d85bd14a78ed7729abc298906e87332257674a02 Mon Sep 17 00:00:00 2001 From: "Tristan Poland (Trident_For_U)" <34868944+tristanpoland@users.noreply.github.com> Date: Thu, 12 Feb 2026 16:25:51 -0500 Subject: [PATCH] Update pipeline.rs --- blade-graphics/src/metal/pipeline.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/blade-graphics/src/metal/pipeline.rs b/blade-graphics/src/metal/pipeline.rs index 2b59f688..c21207ed 100644 --- a/blade-graphics/src/metal/pipeline.rs +++ b/blade-graphics/src/metal/pipeline.rs @@ -321,7 +321,8 @@ impl super::Context { }); let ep = &module.entry_points[ep_index]; - let name = info.entry_point_names[ep_index].as_ref().unwrap(); + // MSL compilation with per_entry_point_map produces info with only one entry point at index 0 + let name = info.entry_point_names[0].as_ref().unwrap(); let wg_size = metal::MTLSize { width: ep.workgroup_size[0] as _, height: ep.workgroup_size[1] as _,