mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-05-29 21:13:14 +00:00
Correct barrier state for hudless
This commit is contained in:
@@ -1015,6 +1015,9 @@ void ffxPresentCallback()
|
||||
|
||||
auto result = _presentCallback(&cdfgp, _presentCallbackUserContext);
|
||||
|
||||
ResourceBarrier(cmdList, _hudless[fIndex], D3D12_RESOURCE_STATE_COMMON,
|
||||
D3D12_RESOURCE_STATE_PIXEL_SHADER_RESOURCE);
|
||||
|
||||
if (result == FFX_API_RETURN_OK)
|
||||
{
|
||||
if (fg->GetResource(FG_ResourceType::HudlessColor, fIndex) == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user