Giovanni Mascellani : vkd3d-shader/hlsl: Simplify common shape computation.