From 6d0357bbcf1fca2bf0e80a199230c738b896d9c3 Mon Sep 17 00:00:00 2001 From: Keavon Chambers Date: Wed, 11 Mar 2026 04:48:08 -0700 Subject: [PATCH] Fix Vello rendering blurry images with a half-pixel offset --- Cargo.lock | 9 +++------ Cargo.toml | 2 ++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9dd1bc2b..dd6a0688 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -6480,8 +6480,7 @@ dependencies = [ [[package]] name = "vello" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72fef40773530322d5c2ffe3c1107e9874bd8239ac137d1c2b6c1edad695146e" +source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb" dependencies = [ "bytemuck", "futures-intrusive", @@ -6499,8 +6498,7 @@ dependencies = [ [[package]] name = "vello_encoding" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24c91203ec4b483440614a9a5c7c2d991932af72c5349659a63ec49476f0b79c" +source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb" dependencies = [ "bytemuck", "guillotiere", @@ -6512,8 +6510,7 @@ dependencies = [ [[package]] name = "vello_shaders" version = "0.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a765d44d4bd354146e44f9a860f4e92effd91a97302549be9e47f0a18d8128c" +source = "git+https://github.com/Keavon/vello.git?branch=0.7.0-fix-images-rendering-blurry#9a2591c80470789eb82681203c21b7d9002bedcb" dependencies = [ "bytemuck", "log", diff --git a/Cargo.toml b/Cargo.toml index 118f8d02..fb43af91 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -237,3 +237,5 @@ debug = true # Force cargo to use only one version of the dpi crate (vendoring breaks without this) dpi = { git = "https://github.com/rust-windowing/winit.git" } download-cef = { git = "https://github.com/timon-schelling/cef-rs.git", branch = "graphite" } +vello = { git = "https://github.com/Keavon/vello.git", branch = "0.7.0-fix-images-rendering-blurry" } +vello_encoding = { git = "https://github.com/Keavon/vello.git", branch = "0.7.0-fix-images-rendering-blurry" }