[D3D12] Update RequestSwapTexture resource state comment [ci skip]
This commit is contained in:
parent
e9f129f67f
commit
b7737d70ca
|
@ -150,9 +150,9 @@ class D3D12TextureCache final : public TextureCache {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the ID3D12Resource of the front buffer texture (in
|
// Returns the ID3D12Resource of the front buffer texture (in
|
||||||
// PIXEL_SHADER_RESOURCE state), or nullptr in case of failure, and writes the
|
// NON_PIXEL_SHADER_RESOURCE state), or nullptr in case of failure, and writes
|
||||||
// description of its SRV. May call LoadTextureData, so the same restrictions
|
// the description of its SRV. May call LoadTextureData, so the same
|
||||||
// (such as about descriptor heap change possibility) apply.
|
// restrictions (such as about descriptor heap change possibility) apply.
|
||||||
ID3D12Resource* RequestSwapTexture(
|
ID3D12Resource* RequestSwapTexture(
|
||||||
D3D12_SHADER_RESOURCE_VIEW_DESC& srv_desc_out,
|
D3D12_SHADER_RESOURCE_VIEW_DESC& srv_desc_out,
|
||||||
xenos::TextureFormat& format_out);
|
xenos::TextureFormat& format_out);
|
||||||
|
|
Loading…
Reference in New Issue