|
|
@ -125,8 +125,11 @@ namespace FidelityFX |
|
|
DestroyConstantBuffer(ref _spdConstantsBuffer); |
|
|
DestroyConstantBuffer(ref _spdConstantsBuffer); |
|
|
DestroyConstantBuffer(ref _upscalerConstantsBuffer); |
|
|
DestroyConstantBuffer(ref _upscalerConstantsBuffer); |
|
|
|
|
|
|
|
|
_commandBuffer.Dispose(); |
|
|
|
|
|
_commandBuffer = null; |
|
|
|
|
|
|
|
|
if (_commandBuffer != null) |
|
|
|
|
|
{ |
|
|
|
|
|
_commandBuffer.Dispose(); |
|
|
|
|
|
_commandBuffer = null; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public void Dispatch(Fsr3Upscaler.DispatchDescription dispatchParams) |
|
|
public void Dispatch(Fsr3Upscaler.DispatchDescription dispatchParams) |
|
|
|