[PATCH 2/4] wined3d: Introduce helper function to generate conditional instructions.