- Assign colorOutput texture to output
- Texture event passes texture IDs after all, so translate those to ID3D12Resource pointers
- Assign texture in End event, perform clear in Begin event. Fixes inputColor texture entry getting cleared.
dispatchUpscale.output=ffxApiGetResourceDX12((ID3D12Resource*)feature.textureTable.colorInput,FFX_API_RESOURCE_STATE_PIXEL_COMPUTE_READ);// TODO: shouldn't this be FFX_API_RESOURCE_STATE_UNORDERED_ACCESS?
dispatchUpscale.output=ffxApiGetResourceDX12((ID3D12Resource*)feature.textureTable.colorOutput,FFX_API_RESOURCE_STATE_PIXEL_COMPUTE_READ);// TODO: shouldn't this be FFX_API_RESOURCE_STATE_UNORDERED_ACCESS?
dispatchUpscale.jitterOffset.x=params->jitterOffsetX;// TODO: might need to negate these