Update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 1s

This commit is contained in:
Florian RICHER 2024-11-24 19:24:28 +01:00
parent c0367144a6
commit dd8a5a97ea
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
9 changed files with 83 additions and 13 deletions

View file

@ -6,7 +6,6 @@ use std::sync::Arc;
pub struct VkGraphicsPipeline {
device: Arc<VkDevice>,
swapchain: Arc<VkSwapchain>,
render_pass: Arc<VkRenderPass>,
pub(super) pipeline_layout: vk::PipelineLayout,
@ -18,7 +17,6 @@ pub struct VkGraphicsPipeline {
impl VkGraphicsPipeline {
pub fn new(
device: &Arc<VkDevice>,
swapchain: &Arc<VkSwapchain>,
render_pass: &Arc<VkRenderPass>,
) -> anyhow::Result<Self> {
let shader_entry_name = CStr::from_bytes_with_nul(b"main\0")?;
@ -99,7 +97,6 @@ impl VkGraphicsPipeline {
Ok(Self {
device: device.clone(),
swapchain: swapchain.clone(),
render_pass: render_pass.clone(),
pipeline_layout,
pipeline,