[PATCH 5/7] vkd3d-shader/fx: Check technique type in global scope as well.