[PATCH v4 3/3] vkd3d-shader/d3dbc: Scan for the maximum temporary register index.