|
|
@ -344,10 +344,9 @@ namespace ArmASR |
|
|
{ |
|
|
{ |
|
|
BeginSample(commandBuffer); |
|
|
BeginSample(commandBuffer); |
|
|
|
|
|
|
|
|
commandBuffer.SetComputeResourceParam(ComputeShader, KernelIndex, AsrShaderIDs.SrvOpaqueOnly, dispatchParams.ColorOpaqueOnly); |
|
|
|
|
|
commandBuffer.SetComputeResourceParam(ComputeShader, KernelIndex, AsrShaderIDs.SrvInputColor, dispatchParams.ColorPreUpscale); |
|
|
|
|
|
|
|
|
commandBuffer.SetGlobalResource(AsrShaderIDs.SrvOpaqueOnly, dispatchParams.ColorOpaqueOnly); |
|
|
|
|
|
commandBuffer.SetGlobalResource(AsrShaderIDs.SrvInputColor, dispatchParams.ColorPreUpscale); |
|
|
|
|
|
|
|
|
FragmentProperties.SetConstantBuffer(AsrShaderIDs.CbFsr2, Constants, 0, Constants.stride); |
|
|
|
|
|
FragmentProperties.SetConstantBuffer(AsrShaderIDs.CbGenReactive, _generateReactiveConstants, 0, _generateReactiveConstants.stride); |
|
|
FragmentProperties.SetConstantBuffer(AsrShaderIDs.CbGenReactive, _generateReactiveConstants, 0, _generateReactiveConstants.stride); |
|
|
BlitFragment(commandBuffer, dispatchParams.OutReactive.RenderTarget); |
|
|
BlitFragment(commandBuffer, dispatchParams.OutReactive.RenderTarget); |
|
|
|
|
|
|
|
|
|