feat: cubic filtering

This commit is contained in:
galister
2024-07-11 16:23:04 +09:00
parent 80bd65235d
commit bdc500973c
6 changed files with 214 additions and 221 deletions

View File

@@ -229,7 +229,9 @@ impl ScreenPipeline {
.graphics
.create_command_buffer(CommandBufferUsage::OneTimeSubmit)?;
let view = ImageView::new_default(image)?;
let set0 = self.pipeline.uniform_sampler(0, view, Filter::Linear)?;
let set0 = self
.pipeline
.uniform_sampler(0, view, app.graphics.texture_filtering)?;
let pass = self.pipeline.create_pass(
self.extentf,