[D3D12] Update RequestSwapTexture resource state comment [ci skip]

This commit is contained in:
Triang3l 2022-06-23 22:59:53 +03:00
parent e9f129f67f
commit b7737d70ca
1 changed files with 3 additions and 3 deletions

View File

@ -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);