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