From 800b6e7b4b5ac504c0d557c85e45041e538c9ca3 Mon Sep 17 00:00:00 2001 From: chyyran Date: Sat, 11 Feb 2023 01:17:47 -0500 Subject: [PATCH] d3d11: cleanup todo --- librashader-runtime-d3d11/src/texture.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/librashader-runtime-d3d11/src/texture.rs b/librashader-runtime-d3d11/src/texture.rs index aa63732..5323496 100644 --- a/librashader-runtime-d3d11/src/texture.rs +++ b/librashader-runtime-d3d11/src/texture.rs @@ -149,9 +149,6 @@ impl LutTexture { )?; assume_d3d11_init!(staging, "CreateTexture2D"); - // todo: do format conversion (leverage image crate..? - // is this necessary with CopySubresourceRegion)... - context.CopySubresourceRegion( &handle, 0, @@ -191,12 +188,8 @@ impl LutTexture { context.GenerateMips(&srv) } - // let mut subresource = context.Map(staging, 0, D3D11_MAP_WRITE, 0)?; - // staging.Upd - Ok(LutTexture { handle, - // staging, desc, image: InputTexture { view: D3D11InputView {