|
|
@ -163,6 +163,9 @@ namespace FidelityFX |
|
|
DebugCheckDispatch(dispatchParams); |
|
|
DebugCheckDispatch(dispatchParams); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (dispatchParams.UseTextureArrays) |
|
|
|
|
|
commandBuffer.EnableShaderKeyword("UNITY_FSR_TEXTURE2D_X_ARRAY"); |
|
|
|
|
|
|
|
|
if (_firstExecution) |
|
|
if (_firstExecution) |
|
|
{ |
|
|
{ |
|
|
commandBuffer.SetRenderTarget(_resources.Accumulation[0]); |
|
|
commandBuffer.SetRenderTarget(_resources.Accumulation[0]); |
|
|
@ -288,6 +291,8 @@ namespace FidelityFX |
|
|
_resourceFrameIndex = (_resourceFrameIndex + 1) % MaxQueuedFrames; |
|
|
_resourceFrameIndex = (_resourceFrameIndex + 1) % MaxQueuedFrames; |
|
|
|
|
|
|
|
|
Fsr3UpscalerResources.DestroyAliasableResources(commandBuffer); |
|
|
Fsr3UpscalerResources.DestroyAliasableResources(commandBuffer); |
|
|
|
|
|
|
|
|
|
|
|
commandBuffer.DisableShaderKeyword("UNITY_FSR_TEXTURE2D_X_ARRAY"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void GenerateReactiveMask(Fsr3Upscaler.GenerateReactiveDescription dispatchParams) |
|
|
public void GenerateReactiveMask(Fsr3Upscaler.GenerateReactiveDescription dispatchParams) |
|
|
|