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