Which book will be better in terms of graphics programming(Rendering,Lighting and Shaders)?

http://www.amazon.com/Real-Time-Rendering-DirectX-HLSL-Programming/dp/0321962729/ref=sr_1_2?s=books&ie=UTF8&qid=1423368160&sr=1-2&keywords=real+time+rendering

http://www.amazon.com/Introduction-3D-Game-Programming-DirectX/dp/1936420228/ref=sr_1_1?s=books&ie=UTF8&qid=1423368643&sr=1-1&keywords=introduction+to+directx+11

am really confused which book will be better if my only concern is graphics programming such as rendering,lighting and shaders?

My concern with 3D Game Programming is it uses D3DX library which has been deprecated.So Should I go for the other book or should I go for 3D Game Programming book and ignore D3DX(which I think would be hard) ?

Thanks
Indy

The library the book uses should be secondary, I would think that the fundamental concepts are more important…the library/libraries used is just a means to express those concept. Ex. simple blinn-phong lighting does not change whether you are using DirectX or OpenGL or some other graphics API or library…The concept is the same.