Set the right render target slot when fetching shader output value