From 599c21e06ac6b830db4cafb5289edb38d9cf8d2b Mon Sep 17 00:00:00 2001 From: chyyran Date: Tue, 31 Jan 2023 01:27:37 -0500 Subject: [PATCH] vk: fix bad imports --- librashader-runtime-vk/src/filter_chain.rs | 4 ++-- librashader-runtime-vk/src/filter_pass.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/librashader-runtime-vk/src/filter_chain.rs b/librashader-runtime-vk/src/filter_chain.rs index 7b285e7..449f58a 100644 --- a/librashader-runtime-vk/src/filter_chain.rs +++ b/librashader-runtime-vk/src/filter_chain.rs @@ -1,4 +1,4 @@ -use crate::draw_quad::{DrawQuad, QuadType}; +use crate::draw_quad::DrawQuad; use crate::error::FilterChainError; use crate::filter_pass::FilterPass; use crate::framebuffer::OutputImage; @@ -28,7 +28,7 @@ use rustc_hash::FxHashMap; use std::collections::VecDeque; use std::path::Path; 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. pub struct VulkanObjects { diff --git a/librashader-runtime-vk/src/filter_pass.rs b/librashader-runtime-vk/src/filter_pass.rs index 2864d8b..daff29a 100644 --- a/librashader-runtime-vk/src/filter_pass.rs +++ b/librashader-runtime-vk/src/filter_pass.rs @@ -17,7 +17,7 @@ use librashader_runtime::binding::{BindSemantics, TextureInput}; use librashader_runtime::uniforms::{NoUniformBinder, UniformStorage, UniformStorageAccess}; use rustc_hash::FxHashMap; use std::sync::Arc; -use crate::draw_quad::QuadType; +use librashader_runtime::quad::QuadType; pub struct FilterPass { pub device: Arc,