[PATCH v2 6/8] vkd3d-shader/fx: Check technique type in global scope as well.