From b7737d70ca44b1e6d60fd0440d0dad66ab5500b3 Mon Sep 17 00:00:00 2001 From: Triang3l Date: Thu, 23 Jun 2022 22:59:53 +0300 Subject: [PATCH] [D3D12] Update RequestSwapTexture resource state comment [ci skip] --- src/xenia/gpu/d3d12/d3d12_texture_cache.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/gpu/d3d12/d3d12_texture_cache.h b/src/xenia/gpu/d3d12/d3d12_texture_cache.h index d2b6cdb1b..21fe237e7 100644 --- a/src/xenia/gpu/d3d12/d3d12_texture_cache.h +++ b/src/xenia/gpu/d3d12/d3d12_texture_cache.h @@ -150,9 +150,9 @@ class D3D12TextureCache final : public TextureCache { } // Returns the ID3D12Resource of the front buffer texture (in - // PIXEL_SHADER_RESOURCE state), or nullptr in case of failure, and writes the - // description of its SRV. May call LoadTextureData, so the same restrictions - // (such as about descriptor heap change possibility) apply. + // NON_PIXEL_SHADER_RESOURCE state), or nullptr in case of failure, and writes + // the description of its SRV. May call LoadTextureData, so the same + // restrictions (such as about descriptor heap change possibility) apply. ID3D12Resource* RequestSwapTexture( D3D12_SHADER_RESOURCE_VIEW_DESC& srv_desc_out, xenos::TextureFormat& format_out);