[PATCH v2 5/6] vkd3d-shader/hlsl: Simplify computation of allocation size.