vk: fix bad imports

This commit is contained in:
chyyran 2023-01-31 01:27:37 -05:00
parent 82ad516db0
commit 599c21e06a
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
use crate::draw_quad::{DrawQuad, QuadType}; use crate::draw_quad::DrawQuad;
use crate::error::FilterChainError; use crate::error::FilterChainError;
use crate::filter_pass::FilterPass; use crate::filter_pass::FilterPass;
use crate::framebuffer::OutputImage; use crate::framebuffer::OutputImage;
@ -28,7 +28,7 @@ use rustc_hash::FxHashMap;
use std::collections::VecDeque; use std::collections::VecDeque;
use std::path::Path; use std::path::Path;
use std::sync::Arc; use std::sync::Arc;
use librashader_runtime::quad::{DEFAULT_MVP, IDENTITY_MVP}; use librashader_runtime::quad::{DEFAULT_MVP, IDENTITY_MVP, QuadType};
/// A Vulkan device and metadata that is required by the shader runtime. /// A Vulkan device and metadata that is required by the shader runtime.
pub struct VulkanObjects { pub struct VulkanObjects {

View file

@ -17,7 +17,7 @@ use librashader_runtime::binding::{BindSemantics, TextureInput};
use librashader_runtime::uniforms::{NoUniformBinder, UniformStorage, UniformStorageAccess}; use librashader_runtime::uniforms::{NoUniformBinder, UniformStorage, UniformStorageAccess};
use rustc_hash::FxHashMap; use rustc_hash::FxHashMap;
use std::sync::Arc; use std::sync::Arc;
use crate::draw_quad::QuadType; use librashader_runtime::quad::QuadType;
pub struct FilterPass { pub struct FilterPass {
pub device: Arc<ash::Device>, pub device: Arc<ash::Device>,