The shader code is *only* post processing AFAIK, I don't think we decode on shaders in the proprietary stack today - it's either CPU (r600) or UVD (everything else).

My recollection is that the code starts in a high level shader language (probably HLSL) but then is hand-tweeked in some places.