From 341fbceb824235d30ea633a3ba379177d971398d Mon Sep 17 00:00:00 2001 From: chyyran Date: Wed, 25 Sep 2024 19:16:15 -0400 Subject: [PATCH] rt(d3d12): derive clone on D3D12InputImage --- librashader-runtime-d3d12/src/texture.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/librashader-runtime-d3d12/src/texture.rs b/librashader-runtime-d3d12/src/texture.rs index ab3003b..247d659 100644 --- a/librashader-runtime-d3d12/src/texture.rs +++ b/librashader-runtime-d3d12/src/texture.rs @@ -5,6 +5,7 @@ use windows::Win32::Graphics::Direct3D12::{ID3D12Resource, D3D12_CPU_DESCRIPTOR_ use windows::Win32::Graphics::Dxgi::Common::DXGI_FORMAT; /// An image for use as shader resource view. +#[derive(Clone)] pub struct D3D12InputImage { pub resource: ID3D12Resource, pub descriptor: D3D12_CPU_DESCRIPTOR_HANDLE,