apps/d3d1[01]: More comprehensive map tests.
apps/*/tri_glsl: Use wildcard for shaders/programs in reference shaders.

It looks recent versions of Mesa start renumbering shaders very
differently.