[PATCH v2 1/4] wined3d: Check the wined3d resource type and usage in find_ps_compile_args().