Retirement tax questions

So if a QCD was made out of the RMD, it does not reduce the taxable amount?