add chromatic version of fast crt shader + auto crt shader

This commit is contained in:
2022-07-21 23:03:52 +02:00
parent 1f5042059c
commit e4579d81bc
5 changed files with 84 additions and 10 deletions

View File

@@ -112,7 +112,7 @@ impl CrtFilter {
}
impl Filter for CrtFilter {
fn resize(&self, queue: &wgpu::Queue, new_size: PhysicalSize<u32>) {
fn resize(&mut self, queue: &wgpu::Queue, new_size: PhysicalSize<u32>) {
let uniforms = Uniforms {
texture_scale: texture_scale_from_resolution(new_size),
};