Improve texture caching by allowing weak refs and more formats (#4447)

This commit is contained in:
Timon
2026-09-16 00:10:53 +02:00
committed by Dennis Kobert
parent 9b9ea5741d
commit f9bdac7fd2
11 changed files with 208 additions and 164 deletions

View File

@@ -287,7 +287,7 @@ impl PerPixelAdjustCodegen<'_> {
let entry_point_name = &self.entry_point_name;
let body = quote! {
{
#executor.shader_runtime().run_per_pixel_adjust(&::wgpu_executor::shader_runtime::per_pixel_adjust_runtime::Shaders {
#executor.run_per_pixel_adjust(&::wgpu_executor::shader_runtime::per_pixel_adjust_runtime::Shaders {
wgsl_shader: crate::WGSL_SHADER,
fragment_shader_name: super::#entry_point_name,
has_uniform: #has_uniform,