From 678eb25d59527ed561285d3c1cc0d86aa0e92485 Mon Sep 17 00:00:00 2001 From: Anon64 <30940003+Anon64@users.noreply.github.com> Date: Wed, 25 Nov 2026 06:09:06 -0500 Subject: [PATCH] Tests: read the rerouted cache test's marker from byte 67 rerouted_disk_entries_follow_the_direct_translator (#2120) read its marker from dxil[0]. #2064 changed the shared compiled() helper to a synthetic DXIL container with the marker at byte 67, so byte 0 is now the 'D' of DXBC (68) and the test fails on main with 68 != 1. Co-Authored-By: Claude Opus 5.5 --- crates/xcl/src/gpu/recomp/pso.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/xcl/src/gpu/recomp/pso.rs b/crates/xcl/src/gpu/recomp/pso.rs index 743a31264e..8032ec078b 100644 --- a/crates/xcl/src/gpu/recomp/pso.rs +++ b/crates/xcl/src/gpu/recomp/pso.rs @@ -1354,7 +1354,7 @@ mod shader_cache_tests { Ok((compiled(marker), rerouted)) }) .unwrap() - .dxil[0] + .dxil[67] }; let mut calls = 0; assert_eq!(go(enormous_blob, 7, 1, true, &mut calls), 1);