diff --git a/crates/victory-gpu/src/draw.rs b/crates/victory-gpu/src/draw.rs index b6e043b..5b043a9 100644 --- a/crates/victory-gpu/src/draw.rs +++ b/crates/victory-gpu/src/draw.rs @@ -1131,7 +1131,11 @@ fn describe(view: Option<&View>) -> String { None => "no view".into(), Some(v @ View::Shader(r, _)) => texture(*r as This) .unwrap_or_else(|| format!("buffer {:?}", crate::descriptor::host::buffer_range(v))), - Some(View::Unordered(r, ..)) => format!("uav {:?}", texture(*r as This)), + // A buffer has no host texture: its title range, as for a shader view. + Some(v @ View::Unordered(r, ..)) => texture(*r as This).map_or_else( + || format!("uav buffer {:?}", crate::descriptor::host::buffer_range(v)), + |t| format!("uav {t}"), + ), Some(View::Placed(u, r, d)) => format!( "placed uav={u} dim {} {}x{} f{} layout {:#x} at {:#x}", r[0],